canonical: https://jentic.com/apis/taxjar.com/taxjar

# TaxJar Sales Tax API

TaxJar's API makes it easy to calculate sales tax, manage order transactions, and maintain up-to-date tax rates. The API exposes 22 endpoints secured with bearer authentication.

## For AI agents

Programmatically list tax categories, calculate sales tax for an order. Covers 22 operations with bearer authentication.

## Scope

Does not handle communications, crm, or developer tools - use for payments only.

## Capabilities

- List tax categories
- Calculate sales tax for an order
- Create an order transaction
- Show an order transaction
- Update an order transaction
- Delete an order transaction

## Use cases

### Payments Operations

Use the TaxJar Sales Tax API to perform payments operations programmatically. The API provides 22 endpoints covering core functionality including list tax categories, calculate sales tax for an order, create an order transaction.

Example prompt: Call GET /categories to list tax categories

### Automated Categories Management

Automate categories operations by combining multiple TaxJar Sales Tax API endpoints. Agents can calculate sales tax for an order and then create an order transaction in a single workflow.

Example prompt: Call POST /taxes to calculate sales tax for an order, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call TaxJar Sales Tax API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle bearer tokens manually.

Example prompt: Search Jentic for 'list tax categories', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | /categories | List tax categories |
| POST | /taxes | Calculate sales tax for an order |
| POST | /transactions/orders | Create an order transaction |
| GET | /transactions/orders | List order transactions |
| GET | /transactions/orders/{transaction_id} | Show an order transaction |
| PUT | /transactions/orders/{transaction_id} | Update an order transaction |
| DELETE | /transactions/orders/{transaction_id} | Delete an order transaction |
| POST | /transactions/refunds | Create a refund transaction |

## Key resources

- **Categories** — Tax categories
- **Taxes** — Sales tax calculations
- **Orders** — Order transactions
- **Refunds** — Refund transactions
- **Customers** — Customer exemptions

## Why Jentic

- **Setup:** Wiring the TaxJar Sales Tax API by hand means managing its bearer token, choosing between the api.taxjar.com and sandbox hosts, and building your own retry handling across tax and order calls. Through Jentic you install once, import the TaxJar Sales Tax API from the API Directory, store the token once, and your agent calls it.
- **Permission scoping:** The TaxJar Sales Tax API puts the transaction id in the URL path (/transactions/orders/{transaction_id}), so a rule can pin your agent to reading orders and calculating tax. You choose the operations it may call, so destructive ones like deleting or updating an order are not included unless you add them.
- **Credential handling:** Your TaxJar token is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'calculate sales tax' or 'list tax categories', and Jentic returns the matching TaxJar Sales Tax API operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Stripe** — Alternative payments API
- **Adyen** — Alternative payments API
- **Square** — Complementary payments API
- **Paypal** — Complementary payments API

## FAQ

### What authentication does the TaxJar Sales Tax API use?

The TaxJar Sales Tax API uses a Bearer token in the Authorization header. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I list tax categories with the TaxJar Sales Tax API?

Yes. Use the GET /categories endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the TaxJar Sales Tax API?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I list tax categories through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'list tax categories'. Jentic returns the matching TaxJar Sales Tax API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the TaxJar Sales Tax API have?

The TaxJar Sales Tax API exposes 22 endpoints covering categories, taxes, orders operations.

### Can I limit what my agent is allowed to do with the TaxJar Sales Tax API?

Yes. Because you run Jentic One yourself, your own rules decide which TaxJar operations and credentials the agent may use. You can pin the agent to read-only work such as GET /categories, POST /taxes to calculate sales tax, and GET /transactions/orders/{transaction_id} to read an order, while leaving out destructive calls like PUT or DELETE on /transactions/orders. Only the operations you explicitly grant are callable, so the agent never updates or deletes an order transaction unless you add that permission.
