Skip to content
TaxJar logo

Connectors / Finance · HTTP Connector

TaxJar integration and API

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.

What can you do with TaxJar on Tray.ai?

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.

  • Calculate sales tax for an order before the invoice is created in your billing system.
  • Create an order transaction in TaxJar for each paid order from your ecommerce store.
  • When a refund is issued in your billing system, create a refund transaction in TaxJar.
Connects through
HTTP Connector
Authentication
An API key in a request header or a bearer token
Base URL
https://api.taxjar.com/v2

Set it up

Connect TaxJar to Tray.ai

Each step uses TaxJar's own API details, from its documentation.

Save TaxJar's API key

Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.taxjar.com/v2 as the base URL. Or paste a cURL example from TaxJar's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “Get rates for a location”

It's one of 18 documented actions, under Tax calculations. The response comes back as data the next step can map into your other apps.

Hand it to an AI agent

Wrap “Calculate sales tax for an order” and “List summarized rates” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with TaxJar

Connect TaxJar with Shopify, Stripe and NetSuite

Each one uses actions and events from TaxJar's own API documentation.

Record Shopify orders in TaxJar

When

An order is placed in Shopify

Then

  1. Create a customer in TaxJar if the buyer is tax exempt
  2. Create an order transaction in TaxJar

With Shopify

Record Stripe refunds in TaxJar

When

A refund is issued in Stripe

Then

  1. Get an order transaction in TaxJar for the original order
  2. Create a refund transaction in TaxJar

With Stripe

Add TaxJar sales tax to new NetSuite sales orders

When

A sales order is created in NetSuite

Then

  1. Validate an address in TaxJar
  2. Calculate sales tax for an order in TaxJar
  3. Update the sales order in NetSuite with the tax amount

With NetSuite

Apps you can build on TaxJar data

Internal tools your team can build with an AI assistant, each one using TaxJar calls from its API documentation.

Nexus overview

Lists nexus regions alongside order transactions so finance can see where sales are taxed.

Sales tax lookup

Lets staff validate a customer address and see the tax rate for that location.

Tax customer list

Lists customers on file for sales tax and lets the tax team add or update one.

Give your AI agents TaxJar tools

Build an MCP server on TaxJar in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • Calculate sales tax for an order
  • List order transactions
  • List refund transactions
  • List customers
  • List nexus regions
  • Get rates for a location
  • List summarized rates
  • Get an order transaction

What the TaxJar API covers

5 resources and 18 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Tax calculations

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

Order transactions

  • List order transactions
  • Get an order transaction
  • Create an order transaction
  • Update an order transaction
  • Delete an order transaction

Refund transactions

  • List refund transactions
  • Create a refund transaction
  • Update a refund transaction
  • Delete a refund transaction

Customers

  • List customers
  • Create a customer
  • Update a customer
  • Delete a customer

Nexus and addresses

  • List nexus regions
  • Validate an address

Checked against TaxJar's own documentation on 2026-10-22

developers.taxjar.com/api/reference

Frequently asked questions

What can a Tray.ai workflow do in TaxJar?

The TaxJar API documents 18 actions across 5 resources (Tax calculations, Order transactions, Refund transactions, Customers, Nexus and addresses). For example: Calculate sales tax for an order; List order transactions; List refund transactions. A workflow can make any documented call through the HTTP Connector.

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.

See TaxJar working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.