# TaxJar integrations: tax calculations

> Create an order transaction, create a refund transaction and create a customer in TaxJar. Connect TaxJar to the rest of your finance stack with Tray.ai.

**Canonical page:** https://tray.ai/connectors/taxjar-integrations/
**Categories:** Finance
**Connects through:** HTTP Connector

## Overview

TaxJar is a sales tax service that calculates tax on orders, keeps a record of sales and refunds, and tracks where a seller has nexus in the US. Tray.ai connects to TaxJar through the HTTP Connector, so your workflows can call the TaxJar API alongside the rest of your stack.

## Use cases

### Tax calculations

Read tax calculations in TaxJar from any Tray.ai workflow. The TaxJar API covers calls such as calculate sales tax for an order and get rates for a location.

- Calculate sales tax for an order
- Get rates for a location
- List summarized rates

### Order transactions

Read, create, update, and delete order transactions in TaxJar from any Tray.ai workflow. The TaxJar API covers calls such as list order transactions and get an order transaction.

- List order transactions
- Get an order transaction
- Create an order transaction

### Refund transactions

Read, create, update, and delete refund transactions in TaxJar from any Tray.ai workflow. The TaxJar API covers calls such as list refund transactions and create a refund transaction.

- List refund transactions
- Create a refund transaction
- Update a refund transaction

### Customers

Read, create, update, and delete customers in TaxJar from any Tray.ai workflow. The TaxJar API covers calls such as list customers and create a customer.

- List customers
- Create a customer
- Update a customer

### Nexus and addresses

Read nexus and addresses in TaxJar from any Tray.ai workflow. The TaxJar API covers calls such as list nexus regions and validate an address.

- List nexus regions
- Validate an address

## Challenges Tray.ai solves

### Keeping TaxJar credentials out of logs

A raw API call usually means pasting a key or token into the request, where it ends up in step inputs, logs, and screenshots.

**How Tray.ai helps:** Store TaxJar credentials once as a Tray.ai authentication and reference them from the HTTP Connector. Tray.ai masks authentication values in logs, so the secret never shows up in a step's input or output.

### Going from the TaxJar API docs to a working call

Translating an example request from API docs into a workflow step means copying the method, URL, headers, and body by hand.

**How Tray.ai helps:** Paste a cURL example from the TaxJar API docs into the HTTP Connector and Tray.ai fills in the method, URL, headers, and body for you.

### Handling files and non-JSON responses

Not every API answers in JSON. Some return XML, files, or binary data, or expect a multipart upload.

**How Tray.ai helps:** The HTTP Connector parses JSON and XML responses, returns files you can pass to the next step, and sends multipart form data for uploads.

## Frequently asked questions

### Does Tray.ai connect to TaxJar?

Yes. Tray.ai connects to TaxJar through the HTTP Connector, which calls the TaxJar API directly. Any call the TaxJar API documents can run as a step in a Tray.ai workflow.

### How does Tray.ai authenticate with TaxJar?

The TaxJar API uses an API key in a request header and a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

### Can I get a dedicated TaxJar connector?

TaxJar runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated TaxJar connector from the TaxJar API.

## Learn more

- Tray iPaaS: https://tray.ai/platform/ipaas/
- Tray Helix agents: https://tray.ai/helix/agents/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
