> 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/set-up-and-launch/shipping-and-tax/set-up-tax-rates.md). Agents can also search and read this documentation through its [MCP server](https://docs.getpurpledot.com/~gitbook/mcp).

# Set up tax rates

Set up tax zones so the Purple Dot checkout charges the correct taxes and duties, using flat rates, the Purple Dot tax engine, or your own tax provider.

Background: [Choosing a checkout method](https://docs.getpurpledot.com/understanding-purple-dot/choosing-a-checkout-method.md#the-purple-dot-checkout).

If shoppers buy pre-orders through the Purple Dot checkout, it needs to fetch, display, and charge the correct taxes and duties in each region. You set this up per region, as a tax zone. Each tax zone uses one method:

* A fixed, manual rate.
* The free Purple Dot tax engine. It calculates taxes only, not duties.
* Your own account with a tax provider: [Avalara](https://docs.getpurpledot.com/integrations/tax-duties-and-shipping/avalara.md), [EAS](https://docs.getpurpledot.com/integrations/tax-duties-and-shipping/eas.md), [Swap Global](https://docs.getpurpledot.com/integrations/tax-duties-and-shipping/swap.md), or [Vertex](https://docs.getpurpledot.com/integrations/tax-duties-and-shipping/vertex.md).

The Purple Dot checkout doesn't calculate taxes or duties in any region you don't add as a tax zone.

## Before you start

* Your store uses the Purple Dot checkout.
* To use a tax provider, connect your account first. See the provider's page: [Avalara](https://docs.getpurpledot.com/integrations/tax-duties-and-shipping/avalara.md), [EAS](https://docs.getpurpledot.com/integrations/tax-duties-and-shipping/eas.md), [Swap Global](https://docs.getpurpledot.com/integrations/tax-duties-and-shipping/swap.md), or [Vertex](https://docs.getpurpledot.com/integrations/tax-duties-and-shipping/vertex.md).

## Steps

1. In the Merchant Portal, go to **Settings** > **Taxes**.
2. Select **Add tax zone** and choose the country, and the state or province where asked.
3. Under **Method**, choose how to calculate tax for this zone:
   * **Flat rate**: Purple Dot charges a fixed percentage of tax. Enter the **Rate**.
   * **Calculated by Purple Dot**: the Purple Dot tax engine works out the correct amount of sales tax.
   * **Calculated by Avalara**, **Calculated by EAS**, **Calculated by Swap**, or **Calculated by Vertex**: your tax provider calculates the taxes and duties for this zone, according to its settings. Each appears only once that provider is connected.
   * **No tax**: Purple Dot doesn't charge tax in this zone.
4. Under **Tax included in prices**, say whether the prices for this zone, such as those of the matching Shopify Market `Shopify`, already include the tax.
5. Optional: to charge duties with Avalara, set **Duties & Tariffs** to **Enabled**. Purple Dot then calculates Delivered Duty Paid (DDP) duties through Avalara for this destination.
6. Save the zone, and repeat for every region where you want to collect taxes or duties.

For example, to charge 23% VAT to shoppers in Poland, where the prices for your Polish market already include VAT, add a tax zone for Poland with **Flat rate**, a **Rate** of 23, and tax included in prices. To let Purple Dot work out the tax for Portugal instead, add a tax zone for Portugal with **Calculated by Purple Dot**.

<figure><img src="https://2758444809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM5A7csYKEplvsuQqHenE%2Fuploads%2Fgit-blob-4b2d310d1f39eea4b340d864c021b98191dc13a8%2Fsetting-up-tax-rates-1.png?alt=media" alt="Poland tax zone with a flat rate of 23 percent"><figcaption></figcaption></figure>

<figure><img src="https://2758444809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM5A7csYKEplvsuQqHenE%2Fuploads%2Fgit-blob-5752d861febb419d2f1f5a0383361543e7ea1aca%2Fsetting-up-tax-rates-2.png?alt=media" alt="Portugal tax zone calculated by Purple Dot"><figcaption></figcaption></figure>

## Verify

The **Tax Settings** page lists each tax zone with its method. On your storefront, add a pre-order item to the cart and go to checkout with an address in one of your tax zones. Check that the tax shown matches the zone's settings.

<figure><img src="https://2758444809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM5A7csYKEplvsuQqHenE%2Fuploads%2Fgit-blob-9a38715a359435b4480c327d33183abc6d64fbae%2Fsetting-up-tax-rates-3.png?alt=media" alt="Tax Settings listing Poland and Portugal tax zones"><figcaption></figcaption></figure>

## Troubleshooting

* [The taxes are wrong at checkout](https://docs.getpurpledot.com/troubleshooting/storefront-and-checkout/taxes-are-wrong-at-checkout.md)

## Related

* **Concept:** [The Purple Dot checkout](https://docs.getpurpledot.com/understanding-purple-dot/choosing-a-checkout-method.md#the-purple-dot-checkout)
* **Do this:** [Avalara](https://docs.getpurpledot.com/integrations/tax-duties-and-shipping/avalara.md), [Swap Global](https://docs.getpurpledot.com/integrations/tax-duties-and-shipping/swap.md), [Vertex](https://docs.getpurpledot.com/integrations/tax-duties-and-shipping/vertex.md), [EAS](https://docs.getpurpledot.com/integrations/tax-duties-and-shipping/eas.md), [Set up shipping rates](https://docs.getpurpledot.com/set-up-and-launch/shipping-and-tax/set-up-shipping-rates.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/set-up-and-launch/shipping-and-tax/set-up-tax-rates.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.
