naftiko: 1.0.0-alpha2 info: label: Avalara AvaTax APIs — TaxContent description: 'Avalara AvaTax APIs — TaxContent. 5 operations. Lead operation: Avalara BuildTaxContentFileForLocation. Self-contained Naftiko capability covering one Avalara business surface.' tags: - Avalara - TaxContent created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AVALARA_API_KEY: AVALARA_API_KEY capability: consumes: - type: http namespace: avatax-apis-taxcontent baseUri: http://{{baseurl}} description: Avalara AvaTax APIs — TaxContent business capability. Self-contained, no shared references. resources: - name: api-v2-companies-companyId-locations-id-pointofsaledata path: /api/v2/companies/{companyId}/locations/{id}/pointofsaledata operations: - name: get method: GET description: Avalara BuildTaxContentFileForLocation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-Avalara-Client in: header type: string description: Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/cli - name: companyId in: path type: string required: true - name: id in: path type: string required: true - name: api-v2-pointofsaledata-build path: /api/v2/pointofsaledata/build operations: - name: post method: POST description: Avalara BuildTaxContentFile outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Content-Type in: header type: string - name: X-Avalara-Client in: header type: string description: Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/cli - name: body in: body type: object description: Request body (JSON). required: false - name: api-v2-taxrates-byaddress path: /api/v2/taxrates/byaddress operations: - name: get method: GET description: Avalara TaxRatesByAddress outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-Avalara-Client in: header type: string description: Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/cli - name: api-v2-taxrates-bypostalcode path: /api/v2/taxrates/bypostalcode operations: - name: get method: GET description: Avalara TaxRatesByPostalCode outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-Avalara-Client in: header type: string description: Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/cli - name: api-v2-taxratesbyzipcode-download-date path: /api/v2/taxratesbyzipcode/download/{date} operations: - name: get method: GET description: Avalara DownloadTaxRatesByZipCode outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-Avalara-Client in: header type: string description: Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/cli - name: date in: path type: string required: true authentication: type: basic username: '{{env.AVALARA_USER}}' password: '{{env.AVALARA_PASS}}' exposes: - type: rest namespace: avatax-apis-taxcontent-rest port: 8080 description: REST adapter for Avalara AvaTax APIs — TaxContent. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v2/companies/{companyid}/locations/{id}/pointofsaledata name: api-v2-companies-companyid-locations-id-pointofsaledata description: REST surface for api-v2-companies-companyId-locations-id-pointofsaledata. operations: - method: GET name: get description: Avalara BuildTaxContentFileForLocation call: avatax-apis-taxcontent.get with: X-Avalara-Client: rest.X-Avalara-Client companyId: rest.companyId id: rest.id outputParameters: - type: object mapping: $. - path: /v1/api/v2/pointofsaledata/build name: api-v2-pointofsaledata-build description: REST surface for api-v2-pointofsaledata-build. operations: - method: POST name: post description: Avalara BuildTaxContentFile call: avatax-apis-taxcontent.post with: Content-Type: rest.Content-Type X-Avalara-Client: rest.X-Avalara-Client body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/taxrates/byaddress name: api-v2-taxrates-byaddress description: REST surface for api-v2-taxrates-byaddress. operations: - method: GET name: get description: Avalara TaxRatesByAddress call: avatax-apis-taxcontent.get with: X-Avalara-Client: rest.X-Avalara-Client outputParameters: - type: object mapping: $. - path: /v1/api/v2/taxrates/bypostalcode name: api-v2-taxrates-bypostalcode description: REST surface for api-v2-taxrates-bypostalcode. operations: - method: GET name: get description: Avalara TaxRatesByPostalCode call: avatax-apis-taxcontent.get with: X-Avalara-Client: rest.X-Avalara-Client outputParameters: - type: object mapping: $. - path: /v1/api/v2/taxratesbyzipcode/download/{date} name: api-v2-taxratesbyzipcode-download-date description: REST surface for api-v2-taxratesbyzipcode-download-date. operations: - method: GET name: get description: Avalara DownloadTaxRatesByZipCode call: avatax-apis-taxcontent.get with: X-Avalara-Client: rest.X-Avalara-Client date: rest.date outputParameters: - type: object mapping: $. - type: mcp namespace: avatax-apis-taxcontent-mcp port: 9090 transport: http description: MCP adapter for Avalara AvaTax APIs — TaxContent. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: avalara-buildtaxcontentfileforlocation description: Avalara BuildTaxContentFileForLocation hints: readOnly: true destructive: false idempotent: true call: avatax-apis-taxcontent.get with: X-Avalara-Client: tools.X-Avalara-Client companyId: tools.companyId id: tools.id outputParameters: - type: object mapping: $. - name: avalara-buildtaxcontentfile description: Avalara BuildTaxContentFile hints: readOnly: false destructive: false idempotent: false call: avatax-apis-taxcontent.post with: Content-Type: tools.Content-Type X-Avalara-Client: tools.X-Avalara-Client body: tools.body outputParameters: - type: object mapping: $. - name: avalara-taxratesbyaddress description: Avalara TaxRatesByAddress hints: readOnly: true destructive: false idempotent: true call: avatax-apis-taxcontent.get with: X-Avalara-Client: tools.X-Avalara-Client outputParameters: - type: object mapping: $. - name: avalara-taxratesbypostalcode description: Avalara TaxRatesByPostalCode hints: readOnly: true destructive: false idempotent: true call: avatax-apis-taxcontent.get with: X-Avalara-Client: tools.X-Avalara-Client outputParameters: - type: object mapping: $. - name: avalara-downloadtaxratesbyzipcode description: Avalara DownloadTaxRatesByZipCode hints: readOnly: true destructive: false idempotent: true call: avatax-apis-taxcontent.get with: X-Avalara-Client: tools.X-Avalara-Client date: tools.date outputParameters: - type: object mapping: $.