{"openapi":"3.1.0","info":{"title":"TaxJar (BYOK) API","version":"0.1.0","description":"TaxJar (BYOK) lets an AI assistant read your own TaxJar data through the TaxJar API with a key you supply (TaxJar live API token (not the sandbox token)). Read-only: 7 tools (get_rates, list_categories, list_nexus_regions, summary_rates, list_orders, list_refunds, list_customers). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-taxjar.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-taxjar/docs"},"termsOfService":"https://connectorbay.com/byok-taxjar/terms"},"servers":[{"url":"https://byok-taxjar.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-taxjar/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/get_rates":{"post":{"operationId":"get_rates","summary":"Sales tax rates for a location, broken down by state, county, city and district, with the combined rate to collect. Rate","description":"Sales tax rates for a location, broken down by state, county, city and district, with the combined rate to collect. Rate only: it does not handle nexus, exemptions or shipping rules. Use for \"What is the sales tax rate in zip 90404\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"zip":{"description":"Postal code (5-digit ZIP or ZIP+4).","maxLength":12,"title":"Zip","type":"string"},"country":{"anyOf":[{"maxLength":2,"type":"string"},{"type":"null"}],"default":null,"description":"Two-letter ISO country code.","title":"Country"},"state":{"anyOf":[{"maxLength":2,"type":"string"},{"type":"null"}],"default":null,"description":"Two-letter ISO state code.","title":"State"},"city":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"City name.","title":"City"},"street":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Street address, for more exact rates.","title":"Street"}},"required":["zip"],"title":"get_ratesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_categories":{"post":{"operationId":"list_categories","summary":"List TaxJar product tax categories with their product_tax_code, for choosing a taxability category. Use for \"Which produ","description":"List TaxJar product tax categories with their product_tax_code, for choosing a taxability category. Use for \"Which product tax codes does TaxJar support\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_categoriesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_nexus_regions":{"post":{"operationId":"list_nexus_regions","summary":"List the nexus regions (states and countries where you collect tax) configured on your TaxJar account, sorted alphabetic","description":"List the nexus regions (states and countries where you collect tax) configured on your TaxJar account, sorted alphabetically. Use for \"In which states have I set up nexus in TaxJar\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_nexus_regionsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/summary_rates":{"post":{"operationId":"summary_rates","summary":"Minimum and average sales tax rate for each region, useful as a fallback estimate. Use for \"What is the average sales ta","description":"Minimum and average sales tax rate for each region, useful as a fallback estimate. Use for \"What is the average sales tax rate in each state\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"summary_ratesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_orders":{"post":{"operationId":"list_orders","summary":"List ids of order transactions recorded through the API, optionally for a date or date range. Returns ids only. Use for ","description":"List ids of order transactions recorded through the API, optionally for a date or date range. Returns ids only. Use for \"Which order transactions did I record in May 2015\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"transaction_date":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Only transactions recorded on this date, as yyyy/mm/dd. Use this or the from/to range.","title":"Transaction Date"},"from_transaction_date":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Start of a date range, as yyyy/mm/dd.","title":"From Transaction Date"},"to_transaction_date":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"End of a date range, as yyyy/mm/dd.","title":"To Transaction Date"},"provider":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Where the transactions were originally recorded (the API default is 'api').","title":"Provider"}},"title":"list_ordersArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_refunds":{"post":{"operationId":"list_refunds","summary":"List ids of refund transactions recorded through the API, optionally for a date or date range. Returns ids only. Use for","description":"List ids of refund transactions recorded through the API, optionally for a date or date range. Returns ids only. Use for \"Which refunds did I record in May 2015\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"transaction_date":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Only transactions recorded on this date, as yyyy/mm/dd. Use this or the from/to range.","title":"Transaction Date"},"from_transaction_date":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Start of a date range, as yyyy/mm/dd.","title":"From Transaction Date"},"to_transaction_date":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"End of a date range, as yyyy/mm/dd.","title":"To Transaction Date"},"provider":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Where the transactions were originally recorded (the API default is 'api').","title":"Provider"}},"title":"list_refundsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_customers":{"post":{"operationId":"list_customers","summary":"List ids of customers created through the API. Returns ids only. Use for \"Which customer ids exist in TaxJar\".","description":"List ids of customers created through the API. Returns ids only. Use for \"Which customer ids exist in TaxJar\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_customersArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}