naftiko: 1.0.0-alpha2 info: label: eBay Account API — Sales_tax description: 'eBay Account API — Sales_tax. 4 operations. Lead operation: Sales_tax. Self-contained Naftiko capability covering one Ebay business surface.' tags: - Ebay - Sales_tax created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: EBAY_API_KEY: EBAY_API_KEY capability: consumes: - type: http namespace: account-sales-tax baseUri: https://api.ebay.com{basePath} description: eBay Account API — Sales_tax business capability. Self-contained, no shared references. resources: - name: sales_tax path: /sales_tax operations: - name: getsalestaxes method: GET description: Use this call to retrieve all sales tax table entries that the seller has defined for a specific country. All four response fields will be returned for each tax jurisdiction that matches the search criteria.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: country_code in: query type: string description: This path parameter specifies the two-letter ISO 3166countryCode and jurisdictionId path parameters. All four response fields will be returned if outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: countryCode in: path type: string description: This path parameter specifies the two-letter ISO 3166
Valid jurisdiction IDs can be retrieved using required: true - name: createorreplacesalestax method: PUT description: 'This method creates or updates a sales-tax table entry for a jurisdiction. Specify the tax table entry you want to configure using the two path parameters: countryCode and jurisdictionId.

A tax table entry for a juris' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: countryCode in: path type: string description: This path parameter specifies the two-letter ISO 3166
Valid jurisdiction IDs can be retrieved using the application/json.

For more information, re required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletesalestax method: DELETE description: This call deletes a sales-tax table entry for a jurisdiction. Specify the jurisdiction to delete using the countryCode and jurisdictionId path parameters.

Note: Sales-tax tables are only a outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: countryCode in: path type: string description: This path parameter specifies the two-letter
ISO 3166
Valid jurisdiction IDs can be retrieved using th required: true authentication: type: bearer token: '{{env.EBAY_API_KEY}}' exposes: - type: rest namespace: account-sales-tax-rest port: 8080 description: REST adapter for eBay Account API — Sales_tax. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/sales-tax name: sales-tax description: REST surface for sales_tax. operations: - method: GET name: getsalestaxes description: Use this call to retrieve all sales tax table entries that the seller has defined for a specific country. All four response fields will be returned for each tax jurisdiction that matches the search criteria.

call: account-sales-tax.getsalestaxes with: country_code: rest.country_code outputParameters: - type: object mapping: $. - path: /v1/sales-tax/{countrycode}/{jurisdictionid} name: sales-tax-countrycode-jurisdictionid description: REST surface for sales_tax-countryCode-jurisdictionId. operations: - method: GET name: getsalestax description: This call retrieves the current sales-tax table entry for a specific tax jurisdiction. Specify the jurisdiction to retrieve using the countryCode and jurisdictionId path parameters. All four response fields will be returned if call: account-sales-tax.getsalestax with: countryCode: rest.countryCode jurisdictionId: rest.jurisdictionId outputParameters: - type: object mapping: $. - method: PUT name: createorreplacesalestax description: 'This method creates or updates a sales-tax table entry for a jurisdiction. Specify the tax table entry you want to configure using the two path parameters: countryCode and jurisdictionId.

A tax table entry for a juris' call: account-sales-tax.createorreplacesalestax with: countryCode: rest.countryCode jurisdictionId: rest.jurisdictionId Content-Type: rest.Content-Type body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletesalestax description: This call deletes a sales-tax table entry for a jurisdiction. Specify the jurisdiction to delete using the countryCode and jurisdictionId path parameters.

Note: Sales-tax tables are only a call: account-sales-tax.deletesalestax with: countryCode: rest.countryCode jurisdictionId: rest.jurisdictionId outputParameters: - type: object mapping: $. - type: mcp namespace: account-sales-tax-mcp port: 9090 transport: http description: MCP adapter for eBay Account API — Sales_tax. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: use-this-call-retrieve-all description: Use this call to retrieve all sales tax table entries that the seller has defined for a specific country. All four response fields will be returned for each tax jurisdiction that matches the search criteria.

hints: readOnly: true destructive: false idempotent: true call: account-sales-tax.getsalestaxes with: country_code: tools.country_code outputParameters: - type: object mapping: $. - name: this-call-retrieves-current-sales description: This call retrieves the current sales-tax table entry for a specific tax jurisdiction. Specify the jurisdiction to retrieve using the countryCode and jurisdictionId path parameters. All four response fields will be returned if hints: readOnly: true destructive: false idempotent: true call: account-sales-tax.getsalestax with: countryCode: tools.countryCode jurisdictionId: tools.jurisdictionId outputParameters: - type: object mapping: $. - name: this-method-creates-updates-sales description: 'This method creates or updates a sales-tax table entry for a jurisdiction. Specify the tax table entry you want to configure using the two path parameters: countryCode and jurisdictionId.

A tax table entry for a juris' hints: readOnly: false destructive: false idempotent: true call: account-sales-tax.createorreplacesalestax with: countryCode: tools.countryCode jurisdictionId: tools.jurisdictionId Content-Type: tools.Content-Type body: tools.body outputParameters: - type: object mapping: $. - name: this-call-deletes-sales-tax description: This call deletes a sales-tax table entry for a jurisdiction. Specify the jurisdiction to delete using the countryCode and jurisdictionId path parameters.

Note: Sales-tax tables are only a hints: readOnly: false destructive: true idempotent: true call: account-sales-tax.deletesalestax with: countryCode: tools.countryCode jurisdictionId: tools.jurisdictionId outputParameters: - type: object mapping: $.