> ## Documentation Index
> Fetch the complete documentation index at: https://zenskar.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How-to guides: Manage tax configuration

> This document shows how to manage tax categories and their third-party tax codes, the served countries of a business entity and their tax engines, and tax rates.

## Add a tax category

### Prerequisites

* You need a role with the **Can Read Organisation** and **Can Update Organisation Config** permissions.

### Steps

> [!CAUTION]
>
> A [tax category](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#tax-category) cannot be deleted after you add it. Add a tax category only for [products](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#product) that are taxed differently from the products of your other tax categories.

1. Go to **Settings** > **Tax Configuration**. The **Tax Categories** tab opens.
2. Click **Add Tax Category**. The **Add Tax Category** screen opens.
3. In **Tax Category Name**, enter a name. You can rename the tax category later.
4. Optional: under **Third-Party Tax Tool Mapping**, enter the [third-party tax code](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#third-party-tax-code) of each connected third-party [tax engine](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#tax-engine):

   * In **Avalara Tax Code**, enter the code.
   * In **Anrok Tax Code**, search for the code, and select it.

   A field appears only for a third-party tax engine that is connected to a [business entity](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#business-entity) of your [organization](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#organization). The code applies in every business entity that uses that third-party tax engine. Without a code, generating invoices fails for [contracts](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#contract) with products of the tax category, for customers in a [served country](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#served-country) that uses that third-party tax engine. With Anrok, you also cannot activate those contracts.
5. Click **Add Tax Category**.

The dashboard confirms the change, and the tax category appears in the list. Zenskar assigns the tax category its [tax category code](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#tax-category-code).

See [Add and Edit Tax Category screens: fields and their rules](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/reference.md#add-and-edit-tax-category-screens-fields-and-their-rules).

## Rename a tax category

### Prerequisites

* You need a role with the **Can Read Organisation** and **Can Update Organisation Config** permissions.

### Steps

1. Go to **Settings** > **Tax Configuration**. The **Tax Categories** tab opens.
2. Open the menu of the row of the tax category, and click **Edit**. The **Edit Tax Category** screen opens.
3. In **Tax Category Name**, enter the new name.

   Renaming changes only the name. Each product and each [tax rate](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#tax-rate) keeps the tax category, because Zenskar identifies a tax category by its tax category code.
4. Click **Save Changes**.

The dashboard confirms the change.

See [Add and Edit Tax Category screens: fields and their rules](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/reference.md#add-and-edit-tax-category-screens-fields-and-their-rules).

## Map a tax category to a third-party tax code

### Prerequisites

* You need a role with the **Can Read Organisation** and **Can Update Organisation Config** permissions.
* The third-party tax engine must be connected to a business entity of your organization. See [Connect Avalara AvaTax](https://zenskar.com/docs/20260301/third-party-integrations/tax-automation/avalara-avatax/how-to-guides.md#connect-avalara-avatax) or [Connect Anrok](https://zenskar.com/docs/20260301/third-party-integrations/tax-automation/anrok/how-to-guides.md#connect-anrok).

### Steps

1. Go to **Settings** > **Tax Configuration**. The **Tax Categories** tab opens. The list has a column for each connected third-party tax engine: **Avalara Tax Code** or **Anrok Tax Code**.
2. In the row of the tax category, click **Map Avalara code** or **Map Anrok code**.
3. Enter the code:

   * For Avalara AvaTax, enter the [Avalara tax code](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#avalara-tax-code), and click **Save**. To look up a code, click **Browse Avalara tax codes**.
   * For Anrok, search for the [Anrok tax code](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#anrok-tax-code), and select it.

   A tax category has at most one code for each third-party tax engine. A new code replaces the previous one. The code applies in every business entity that uses that third-party tax engine.

The dashboard confirms the mapping, and the column shows the code.

You can also map the code on the **Edit Tax Category** screen.

See [Tax Categories tab: columns and codes](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/reference.md#tax-categories-tab-columns-and-codes).

## Remove a third-party tax code

### Prerequisites

* You need a role with the **Can Read Organisation** and **Can Update Organisation Config** permissions.

### Steps

> [!WARNING]
>
> The dashboard removes the code at once. Without a code, generating invoices fails for contracts with products of the tax category, for customers in a served country that uses that third-party tax engine. With Anrok, you also cannot activate those contracts. Remove a code only when no served country uses that third-party tax engine, or map another code right away.

1. Go to **Settings** > **Tax Configuration**. The **Tax Categories** tab opens.
2. In the row of the tax category, click **×** next to the code.

The dashboard confirms the change, and the column shows **Map Avalara code** or **Map Anrok code** again.

See [Tax Categories tab: columns and codes](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/reference.md#tax-categories-tab-columns-and-codes).

## Add a served country

### Prerequisites

* You need a role with the **Can Read Organisation** and **Can Update Organisation Config** permissions. To open the business entity, you also need **Can Read Business Entity**.
* To use a third-party tax engine, connect it to the business entity first. See [Connect Avalara AvaTax](https://zenskar.com/docs/20260301/third-party-integrations/tax-automation/avalara-avatax/how-to-guides.md#connect-avalara-avatax) or [Connect Anrok](https://zenskar.com/docs/20260301/third-party-integrations/tax-automation/anrok/how-to-guides.md#connect-anrok).

### Steps

1. Go to **Settings** > **Tax Configuration**, and click the **Entities** tab.
2. On the card of the business entity, click **Configure**. The **Countries Serving** tab opens.
3. Click **Add Country**. The **Add Country** screen opens.
4. In **Select Country**, select the country of your customers. The list offers only the countries that the business entity does not serve yet.

   A served country is the country of the customer, not of the business entity. Zenskar matches a contract to a served country by the country in the default billing address of the customer.
5. In **Currencies**, select every currency in which you bill customers in that country.

   A served country matches a contract only in its currencies. You cannot activate a contract in another currency when it has products with a tax category.
6. In **Tax Engine**, select **Zenskar**, or the third-party tax engine that is connected to the business entity.

   With the Zenskar tax engine, the tax category of each product of a contract needs a matching [tax rate](#add-a-tax-rate) on each date of the contract. With a third-party tax engine, each tax category of your products needs a third-party tax code for that tax engine. See [Map a tax category to a third-party tax code](#map-a-tax-category-to-a-third-party-tax-code).
7. Click **Add Country**.

The dashboard confirms the change, and the served country appears in the list with its currencies and its tax engine.

See [Add and Edit Country screens: fields and their rules](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/reference.md#add-and-edit-country-screens-fields-and-their-rules).

## Edit the currencies of a served country

### Prerequisites

* You need a role with the **Can Read Organisation**, **Can Update Organisation Config**, and **Can Read Business Entity** permissions.

### Steps

1. Go to **Settings** > **Tax Configuration**, and click the **Entities** tab.
2. On the card of the business entity, click **Configure**. The **Countries Serving** tab opens.
3. Open the menu of the row of the served country, and click **Edit**. The **Edit Country** screen opens.
4. Do one or both of the following:
   * To add a currency, select it in **Add another currency**. The new currency uses the tax engine of the served country.
   * To turn a currency off or on, click it. The dashboard marks it **Disabled** or **Enabled**. At least one currency must stay on.
5. Click **Save Changes**.

The dashboard confirms the change. The **Countries Serving** list shows only the currencies that are on.

See [Add and Edit Country screens: fields and their rules](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/reference.md#add-and-edit-country-screens-fields-and-their-rules).

## Change the tax engine of a served country

### Prerequisites

* You need a role with the **Can Read Organisation**, **Can Update Organisation Config**, and **Can Read Business Entity** permissions.
* To change to a third-party tax engine, connect it to the business entity, and map each tax category of your products to a code for it. See [Map a tax category to a third-party tax code](#map-a-tax-category-to-a-third-party-tax-code).

### Steps

> [!WARNING]
>
> Zenskar does not check the third-party tax codes when you change the tax engine. Without a code, generating invoices fails for contracts with products of the tax category, for customers in the served country. With Anrok, you also cannot activate those contracts. Map the codes before you change the tax engine.

1. Go to **Settings** > **Tax Configuration**, and click the **Entities** tab.
2. On the card of the business entity, click **Configure**. The **Countries Serving** tab opens.
3. Open the menu of the row of the served country, and click **Edit**. The **Edit Country** screen opens.
4. In **Tax Engine**, select the new tax engine. The screen notes that the change affects future invoices.

   The new tax engine applies to every currency of the served country that is on. A currency that is off keeps its previous tax engine.
5. Click **Save Changes**.

The dashboard confirms the change. The new tax engine applies to the invoices that Zenskar generates after the change. The business entity keeps its tax rates for the served country. They apply again when you change the tax engine back to **Zenskar**.

See [Add and Edit Country screens: fields and their rules](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/reference.md#add-and-edit-country-screens-fields-and-their-rules).

## Move a business entity to another third-party tax engine

A business entity can have only one third-party tax engine connected. To move from one third-party tax engine to another, you disconnect the old one before you connect the new one.

### Prerequisites

* You need a role with the **Can Read Organisation**, **Can Update Organisation Config**, and **Can Read Business Entity** permissions, and the permissions to connect and disconnect the third-party tax engines.

### Steps

> [!WARNING]
>
> While no third-party tax engine is connected, Zenskar cannot calculate tax for customers in the served countries that use the old third-party tax engine. You cannot activate a contract with taxed products, or generate invoices, for those customers. To avoid the gap, change those served countries to **Zenskar** first, with a matching tax rate for the tax category of each product of their contracts.

1. Optional: for each served country that uses the old third-party tax engine, change the tax engine to **Zenskar**. See [Change the tax engine of a served country](#change-the-tax-engine-of-a-served-country).
2. Disconnect the old third-party tax engine. See [Disconnect Avalara AvaTax](https://zenskar.com/docs/20260301/third-party-integrations/tax-automation/avalara-avatax/how-to-guides.md#disconnect-avalara-avatax) or [Disconnect Anrok](https://zenskar.com/docs/20260301/third-party-integrations/tax-automation/anrok/how-to-guides.md#disconnect-anrok).

   Each served country retains the old third-party tax engine, and each tax category retains its code for it.
3. Connect the new third-party tax engine to the business entity. See [Connect Avalara AvaTax](https://zenskar.com/docs/20260301/third-party-integrations/tax-automation/avalara-avatax/how-to-guides.md#connect-avalara-avatax) or [Connect Anrok](https://zenskar.com/docs/20260301/third-party-integrations/tax-automation/anrok/how-to-guides.md#connect-anrok).
4. Map each tax category to a code of the new third-party tax engine. See [Map a tax category to a third-party tax code](#map-a-tax-category-to-a-third-party-tax-code).

   If the new third-party tax engine is already connected to another business entity of your organization, you can map the codes before step 2.
5. For each served country that used the old third-party tax engine, change the tax engine to the new one. See [Change the tax engine of a served country](#change-the-tax-engine-of-a-served-country).

The served countries now use the new third-party tax engine.

## Remove a served country

### Prerequisites

* You need a role with the **Can Read Organisation**, **Can Update Organisation Config**, and **Can Read Business Entity** permissions.

### Steps

> [!WARNING]
>
> The dashboard removes the served country at once. Zenskar then generates the invoices of [active contracts](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#active-contract) for customers in that country without tax. Remove a served country only when no active contract bills customers in it.

1. Go to **Settings** > **Tax Configuration**, and click the **Entities** tab.
2. On the card of the business entity, click **Configure**. The **Countries Serving** tab opens.
3. Open the menu of the row of the served country, and click **Remove**.

The dashboard confirms the removal. The business entity keeps its tax rates for the country. They apply again when you add the country back as a served country.

## Add a tax rate

### Prerequisites

* You need a role with the **Can Read Organisation**, **Can Update Organisation Config**, and **Can Read Business Entity** permissions.
* The business entity must serve the country of the tax rate. See [Add a served country](#add-a-served-country).
* The tax category must exist. See [Add a tax category](#add-a-tax-category).

### Steps

> [!CAUTION]
>
> A saved [rate change](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#rate-change) cannot be edited, ended, or deleted in the dashboard. A rate change that is saved without a later rate change has no end date, so no later rate change can be added for the same tax category and [jurisdiction](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#jurisdiction). Add every known future rate change, such as an announced increase, together with the tax rate.

1. Go to **Settings** > **Tax Configuration**, and click the **Entities** tab.
2. On the card of the business entity, click **Configure**, and click the **Tax Rates** tab.
3. Click **Add Tax Rate**. The **Add Tax Rate** screen opens.

   If the tax category already has a tax rate, you can click **+ Tax Rate** under it instead. The tax category is then already selected.
4. In **Tax Category**, select the tax category.
5. Under **Where this rate applies**, in **Country**, select the country. The list offers only the served countries of the business entity.
6. Optional: narrow the jurisdiction:

   * Click **Add State**, and enter the state. Then, optionally, click **Add City**, and enter the city.
   * Or click **Add ZIP Code**, and enter the **ZIP Code Start** and the **ZIP Code End**. **State** and **City** are optional. For a single ZIP code, enter the same value in both fields.

   On each date, Zenskar uses the most specific tax rate that matches the default billing address of the customer: ZIP code, then city, then state, then country. Zenskar does not add the tax rates of different levels together. Enter in a more specific tax rate the taxes of the levels above it, such as the state tax in a city-level tax rate. See [How Zenskar matches a jurisdiction](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/concepts/tax-rates.md#how-zenskar-matches-a-jurisdiction).

   > [!WARNING]
   >
   > A tax rate whose state or city is written differently from the address does not match. An address without a ZIP code, a city, or a state matches only the levels that it has. In both cases, Zenskar uses a less specific tax rate, when one matches, without a message. Enter the state and the city as the addresses of your customers write them, such as `CA` when the addresses use `CA`. Capitals do not matter. Fill in every part of the default billing address of each customer.
7. In the first rate change, in **Effective From**, select the start date.

   Each date of a contract needs a rate change of a matching tax rate. Before this start date, Zenskar uses a less specific tax rate, when one matches. Without one, you cannot activate a contract that starts before this date.
8. In **Tax Name** and **Tax Percentage**, enter the first [tax component](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#tax-component). To add another, click **Add Another Component**.

   Zenskar adds the tax components of a rate change together. Each tax name must be unique within the rate change.
9. Optional: to add a later rate change, click **Schedule Rate Change**, and repeat the previous two steps for it.

   Two rate changes cannot start on the same date. The dashboard sets the end date of each rate change to the day before the next rate change starts.
10. Click **Add Tax Rate**.

The dashboard confirms the change. The tax rate applies to the [active contracts](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#active-contract) whose customers it matches, for products of the tax category. If saving stops partway, the rate changes saved before the failure stay saved, and the others stay on the screen for you to fix and save again.

See [Add Tax Rate screen: fields and their rules](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/reference.md#add-tax-rate-screen-fields-and-their-rules).

## View the rate changes of a tax rate

### Prerequisites

* You need a role with the **Can Read Organisation** and **Can Read Business Entity** permissions.

### Steps

1. Go to **Settings** > **Tax Configuration**, and click the **Entities** tab.
2. On the card of the business entity, click **Configure**, and click the **Tax Rates** tab.
3. In the row of the tax rate, click the number of rate changes, such as **2 rate changes**. The **Tax Rate Details** screen opens.
4. Click a rate change.

The screen shows the status of the rate change, its **Effective From** and **Effective To**, and its tax components.

See [Tax Rate Details screen: fields](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/reference.md#tax-rate-details-screen-fields).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.