Skip to content
Avalara AvaTax logo

Connectors / Finance · HTTP Connector

Avalara AvaTax integration and API

Create a transaction, create companies and create customers in Avalara AvaTax. Connect Avalara AvaTax to the rest of your finance stack with Tray.ai.

What can you do with Avalara AvaTax on Tray.ai?

Avalara AvaTax is a cloud tax engine that calculates sales and use tax, VAT, and other transaction taxes, and manages exemption certificates for businesses. Tray.ai connects to Avalara AvaTax through the HTTP Connector, so your workflows can call the Avalara AvaTax API alongside the rest of your stack.

  • Create a transaction to calculate tax on each order before your store shows the final total.
  • Commit a transaction once the invoice is posted in your accounting system.
  • Refund a transaction when your help desk approves a return, so tax records match.
  • Create certificates for exempt customers when sales collects the form in your CRM.
Connects through
HTTP Connector
Authentication
Basic authentication
Base URL
https://rest.avatax.com/api/v2

Set it up

Connect Avalara AvaTax to Tray.ai

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

Save Avalara AvaTax's username and password

Save the credentials Avalara AvaTax gives you as a Tray.ai authentication. The HTTP Client sends them as basic auth. They stay out of the workflow and out of the logs.

Point the HTTP Client at the API

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

Start with “List companies”

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

Hand it to an AI agent

Wrap “Create a transaction” and “Commit a transaction” 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 Avalara AvaTax

Connect Avalara AvaTax with Stripe, Shopify, NetSuite and Salesforce

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

Commit tax in AvaTax when a Stripe invoice is paid

When

An invoice is paid in Stripe

Then

  1. Create a transaction for the invoice
  2. Commit a transaction

With Stripe

Refund tax in AvaTax when a Shopify order is refunded

When

An order is refunded in Shopify

Then

  1. Refund a transaction for the original order
  2. Record the refund in NetSuite

With Shopify and NetSuite

Add new Salesforce accounts as AvaTax customers

When

An account is created in Salesforce

Then

  1. Create customers with the account billing address
  2. Save the AvaTax customer code on the account in Salesforce

With Salesforce

Apps you can build on Avalara AvaTax data

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

Exemption certificate tracker

Lists exemption certificates by customer and lets the tax team add or update a certificate.

Tax adjustment desk

Lets the tax team adjust, void or refund a recorded transaction for each company.

Give your AI agents Avalara AvaTax tools

Build an MCP server on Avalara AvaTax 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

  • Create a transaction
  • List companies
  • List customers
  • List certificates
  • Commit a transaction
  • Void a transaction
  • Adjust a transaction
  • Refund a transaction

What the Avalara AvaTax API covers

4 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.

Transactions

  • Create a transaction
  • Commit a transaction
  • Void a transaction
  • Adjust a transaction
  • Refund a transaction

Companies

  • List companies
  • Create companies
  • Get a company
  • Update a company
  • Delete a company

Customers

  • List customers
  • Create customers
  • Get a customer

Certificates

  • List certificates
  • Create certificates
  • Get a certificate
  • Update a certificate
  • Delete a certificate

Checked against Avalara AvaTax's own documentation on 2026-10-25

developer.avalara.com/api-reference/avatax/rest/v2

Frequently asked questions

What can a Tray.ai workflow do in Avalara AvaTax?

The Avalara AvaTax API documents 18 actions across 4 resources (Transactions, Companies, Customers, Certificates). For example: Create a transaction; List companies; List customers. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Avalara AvaTax?

The Avalara AvaTax API uses basic authentication. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

See Avalara AvaTax 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.