> For the complete documentation index, see [llms.txt](https://docs.getpurpledot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getpurpledot.com/integrations/tax-duties-and-shipping/avalara/connect.md). Agents can also search and read this documentation through its [MCP server](https://docs.getpurpledot.com/~gitbook/mcp).

# Connect Avalara

Connect Avalara and choose the tax zones that use it in the Purple Dot checkout.

Background: [How tax, duties, and shipping integrations work](https://docs.getpurpledot.com/integrations/tax-duties-and-shipping/how-tax-duties-and-shipping-integrations-work.md).

## Before you start

* You use the [Purple Dot checkout](https://docs.getpurpledot.com/understanding-purple-dot/glossary.md#purple-dot-checkout).
* You have your Avalara Account ID and License Key. [This Avalara guide](https://knowledge.avalara.com/bundle/qsw3034549243134_qsw3034549243134/page/snk5995203785238.html) explains where to find them.
* This integration runs from the Purple Dot checkout and doesn't depend on which e-commerce platform you use.

## Steps

### Connect to Avalara

1. In the Merchant Portal, go to **Settings** > **Integrations**.
2. Under **Tax**, select **Connect** for **Avalara**.
3. Enter your **Account ID** and **License Key**.
4. In **Company Code**, select the Avalara company profile you want Purple Dot to use.

   <figure><img src="https://2758444809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM5A7csYKEplvsuQqHenE%2Fuploads%2Fgit-blob-69b322dfe8b24a50614e1b88d5d7bc8661becb74%2Fhow-to-use-avalara-with-purple-dot-1.png?alt=media" alt="Avalara connection form with company selection"><figcaption></figcaption></figure>
5. Save the integration.

### Configure tax zones

List all the markets where you want the Purple Dot checkout to charge taxes.

1. In the Merchant Portal, go to **Settings** > **Taxes**.
2. Choose where Purple Dot uses Avalara:

   * To use Avalara in all regions, edit the **Global** zone to use Avalara.

   <figure><img src="https://2758444809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM5A7csYKEplvsuQqHenE%2Fuploads%2Fgit-blob-32c3d03d3b4091465714c2f2bf58712e1bb309e1%2Fhow-to-use-avalara-with-purple-dot-2.png?alt=media" alt="Global tax zone calculated by Avalara"><figcaption></figcaption></figure>

   * To use Avalara only in some countries, or Avalara in some tax zones and another provider in others, add an explicit list of tax zones.
3. For a destination that needs tax-inclusive prices or duties, add a country tax zone and set **Tax included in prices** and **Duties & Tariffs**. See [Avalara settings and data](https://docs.getpurpledot.com/integrations/tax-duties-and-shipping/avalara/settings-and-data.md#tax-zone-settings).

   <figure><img src="https://2758444809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM5A7csYKEplvsuQqHenE%2Fuploads%2Fgit-blob-ab0cfbb235b4309f6bfb8a9b46bb18db8b97e7b3%2Fhow-to-use-avalara-with-purple-dot-3.png?alt=media" alt="France tax zone with Avalara duties and tax-inclusive pricing"><figcaption></figcaption></figure>

## Verify

On the Avalara connection form, select **Test Connection** to check your credentials. Then place a test pre-order through the Purple Dot checkout with an address in a tax zone that uses Avalara, and check that tax is calculated. See [Test your setup](https://docs.getpurpledot.com/set-up-and-launch/test-your-setup.md).

## Troubleshooting

* [My integration is not syncing](https://docs.getpurpledot.com/troubleshooting/orders-and-inventory/integration-is-not-syncing.md)
* [Get more help](https://docs.getpurpledot.com/troubleshooting/get-more-help.md)

## Related

* **Concept:** [How tax, duties, and shipping integrations work](https://docs.getpurpledot.com/integrations/tax-duties-and-shipping/how-tax-duties-and-shipping-integrations-work.md)
* **Look up:** [Settings and data](https://docs.getpurpledot.com/integrations/tax-duties-and-shipping/avalara/settings-and-data.md)
* **Fix it:** [The taxes are wrong at checkout](https://docs.getpurpledot.com/troubleshooting/storefront-and-checkout/taxes-are-wrong-at-checkout.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.getpurpledot.com/integrations/tax-duties-and-shipping/avalara/connect.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
