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

# Reference: Tax configuration

> This document presents the screens, fields, permissions, API operations, and troubleshooting of tax configuration.

## Tax Categories tab: columns and codes

Go to **Settings** > **Tax Configuration**. The **Tax Categories** tab lists the [tax categories](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#tax-category) of your [organization](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#organization). You can filter the list by **Tax Category Name**.

| Column | Description |
| - | - |
| **Tax Category Name** | The name of the tax category. |
| **Avalara Tax Code** | The [Avalara tax code](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#avalara-tax-code) of the tax category, or **Map Avalara code**. The column appears only when Avalara AvaTax is connected to a [business entity](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#business-entity) of your organization. |
| **Anrok Tax Code** | The [Anrok tax code](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#anrok-tax-code) of the tax category, with its name, or **Map Anrok code**. The column appears only when Anrok is connected to a business entity of your organization. |

**Map Avalara code** opens a field for the code, with **Save** and a **Browse Avalara tax codes** link. **Map Anrok code** opens a search of the Anrok catalog, and selecting a code saves it. **×** next to a code removes it at once, without confirmation. The row menu has **Edit**.

## Add and Edit Tax Category screens: fields and their rules

| Field | Required | Description |
| - | - | - |
| **Tax Category Name** | Yes | Up to 255 characters. Unique within your organization. |
| **Avalara Tax Code** | No | Up to 25 characters. Zenskar does not check the code against the Avalara catalog. Emptying the field removes the code. Appears only when Avalara AvaTax is connected to a business entity of your organization. |
| **Anrok Tax Code** | No | A code from the Anrok catalog. Removing it removes the code. Appears only when Anrok is connected to a business entity of your organization. |

Both code fields are under **Third-Party Tax Tool Mapping**. When no [third-party tax engine](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#tax-engine) is connected, the screen shows that none is connected, with a **Connect tax tools** link.

A tax category cannot be deleted. The [tax category code](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#tax-category-code) does not appear on these screens and cannot change. Saving keeps the code of a third-party tax engine that is not connected.

## Entities tab: tax summary of each business entity

Go to **Settings** > **Tax Configuration**, and click the **Entities** tab. Each business entity has a card with its name, its address, and **Configure**.

| Card field | Description |
| - | - |
| **Countries Serving** | The number of [served countries](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#served-country) with at least one currency on. "No countries" when there are none. |
| **Tax Tools** | The tax engines of the currencies that are on. "-" when there are none. |
| **Zenskar Tax Rates** | The number of [rate changes](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#rate-change) of the business entity. "N countries need rates" when a served country that uses the Zenskar tax engine has no [tax rate](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#tax-rate). "-" when no served country uses the Zenskar tax engine. |

**Configure** opens the screen of the business entity, on the **Countries Serving** tab. The screen also has the **Tax Rates** tab.

## Countries Serving tab: columns

| Column | Description |
| - | - |
| **Customer Geography** | The country. |
| **Currencies** | The currencies of the served country that are on. |
| **Tool** | The tax engine of the served country: **Zenskar**, **Avalara**, or **Anrok**. |

The row menu has **Edit** and **Remove**. **Remove** removes the served country and all its currencies at once, without confirmation. The business entity keeps its tax rates for the country.

## Add and Edit Country screens: fields and their rules

| Field | Required | Description |
| - | - | - |
| **Select Country** | Yes | **Add Country** only. The list offers only the countries that the business entity does not serve yet. **Edit Country** shows the country as a read-only value. |
| **Currencies** | Yes | On **Add Country**, one or more currencies. On **Edit Country**, each currency shows **Enabled** or **Disabled**, and a click turns it on or off. At least one currency must stay on. |
| **Add another currency** | No | **Edit Country** only. Adds a currency, which uses the tax engine of the served country. |
| **Tax Engine** | Yes | **Zenskar**, or the third-party tax engine that is connected to the business entity. The field starts at **Zenskar**. On **Edit Country**, a saved tax engine that was disconnected appears as "(not connected)". |

A change of tax engine applies to the currencies that are on. A currency that is off keeps its previous tax engine. When the tax engine changes, the screen notes that the change affects future invoices, and that the Zenskar tax rates stay. When a currency is turned off, the screen shows a notice.

If some currencies fail to save, the dashboard names them. The other currencies stay saved.

## Tax Rates tab: tax rates by tax category

The **Tax Rates** tab, headed **Zenskar Tax Rates**, shows one table for each tax category that has a tax rate. The tables leave out the tax rates of a country whose currencies are all off.

The header of each table shows the name of the tax category, the number of countries, as **Geographies**, and the number of more specific [jurisdictions](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#jurisdiction) under them, as **Overrides**. **+ Tax Rate** opens **Add Tax Rate** with the tax category selected.

| Column | Description |
| - | - |
| **Geography** | The jurisdiction. A country row expands to its states, cities, and ZIP-code ranges. |
| **Tax Components** | The [tax components](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#tax-component) of the rate change in effect, or of the next rate change if none is in effect. |
| **Effective** | The dates of that rate change, a dot that shows the status of the tax rate, and the number of rate changes, such as **2 rate changes**, which opens **Tax Rate Details**. |

**Add Tax Rate** stays disabled until the business entity has a served country with a currency that is on.

## Add Tax Rate screen: fields and their rules

| Field | Required | Description |
| - | - | - |
| **Tax Category** | Yes | Search by name. Each option shows the tax category code. Already selected when you open the screen with **+ Tax Rate**. |
| **Country** | Yes | A country that the business entity serves. |
| **State** | With **City** | Up to 10 characters. Appears after **Add State** or **Add ZIP Code**. Zenskar compares it without regard to capitals. |
| **City** | No | Up to 100 characters. Needs **State**. Appears after **Add City** or **Add ZIP Code**. Zenskar compares it without regard to capitals. |
| **ZIP Code Start** and **ZIP Code End** | No | Up to 20 characters each. Both or neither. Both have the same number of characters, and the start is less than or equal to the end. For a single ZIP code, both are the same. For an address in the United States, Zenskar also tries a ZIP+4 code as its first five digits, and a ZIP code of three or four digits with its leading zeros, such as `2134` as `02134`. |
| **Effective From** | Yes | The start date of the rate change. Two rate changes of the tax rate cannot start on the same date. |
| **Tax Name** | Yes | Up to 50 characters. Unique within the rate change. |
| **Tax Percentage** | Yes | 0 to 100, with up to two decimal places. |

A rate change needs at least one tax component. **Add Another Component** adds one. **Schedule Rate Change** adds a later rate change, and **Remove** removes a rate change from the screen. The screen notes that new rates apply to [active contracts](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#active-contract) from the effective date.

When you save, the dashboard sets the end date of each rate change to the day before the next one starts. The last rate change has no end date. Zenskar rejects a rate change that overlaps or shares a day with another rate change of the same tax category and jurisdiction. It also rejects a ZIP-code range that overlaps the ZIP-code range of another tax rate of the same tax category on a shared day, whatever their states and cities. If saving stops partway, the dashboard reports how many rate changes it saved, and keeps the others on the screen.

A saved tax rate cannot be edited or deleted in the dashboard.

## Tax Rate Details screen: fields

The screen shows the tax category and the jurisdiction of the tax rate, and one entry for each rate change. Click an entry to see its fields. The screen is read-only.

| Field | Description |
| - | - |
| **Jurisdiction** | The country, state, city, and ZIP-code range of the tax rate. |
| Status | **Active**, **Scheduled**, or **Expired**. See [Rate-change statuses](#rate-change-statuses). |
| **Effective From** | The start date of the rate change. |
| **Effective To** | The end date of the rate change, or the day before the next rate change starts. "Until a newer rate takes effect" when there is neither. |
| **Components** | The name and the percentage of each tax component. |

### Rate-change statuses

The dashboard works out the status from the dates and today's date.

| Status | Meaning |
| - | - |
| **Scheduled** | The rate change starts in the future. |
| **Active** | The rate change has started and has not ended, and it is the latest rate change of the tax rate to start. |
| **Expired** | The rate change has ended, or a later rate change has started. A rate change that was switched off with the API also shows **Expired**. |

## Permissions

| Action | Required permission |
| - | - |
| View tax categories and the **Entities** tab | **Can Read Organisation** |
| Open the screen of a business entity, with its served countries and tax rates | **Can Read Organisation** and **Can Read Business Entity** |
| Add or rename a tax category, or map or remove a [third-party tax code](https://zenskar.com/docs/20260301/zenskar-modules/settings/glossary.md#third-party-tax-code) | **Can Read Organisation** and **Can Update Organisation Config** |
| Add, edit, or remove a served country, or change its tax engine | **Can Read Organisation**, **Can Update Organisation Config**, and **Can Read Business Entity** |
| Add a tax rate | **Can Read Organisation**, **Can Update Organisation Config**, and **Can Read Business Entity** |

## API reference

| Operation | API reference |
| - | - |
| List tax categories | [List tax categories](https://zenskar.com/docs/api-reference/tax/list-tax-categories.md) |
| Get a tax category | [Get tax category](https://zenskar.com/docs/api-reference/tax/get-tax-category.md) |
| Add a tax category | [Create tax category](https://zenskar.com/docs/api-reference/tax/create-tax-category.md) |
| Rename a tax category, or change its third-party tax codes | [Update tax category](https://zenskar.com/docs/api-reference/tax/update-tax-category.md) |
| Get the served countries of a business entity | [Get business entity config](https://zenskar.com/docs/api-reference/business-entities/get-business-entity-config.md) |
| Add or edit a served country | [Upsert region config](https://zenskar.com/docs/api-reference/business-entities/upsert-region-config.md) |
| Remove a served country | [Delete region config](https://zenskar.com/docs/api-reference/business-entities/delete-region-config.md) |
| List the rate changes of a business entity | [List jurisdiction rates](https://zenskar.com/docs/api-reference/tax/list-jurisdiction-rates.md) |
| Add a rate change | [Create jurisdiction rate](https://zenskar.com/docs/api-reference/tax/create-jurisdiction-rate.md) |
| Edit a rate change, such as its end date | [Update jurisdiction rate](https://zenskar.com/docs/api-reference/tax/update-jurisdiction-rate.md) |

## Troubleshooting

| Problem | Cause | Solution |
| - | - | - |
| The tax category screen shows **Connect tax tools** instead of a code field. | No third-party tax engine is connected to a business entity of your organization. | Connect the third-party tax engine. 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). |
| Saving a tax category fails. | Another tax category has the same name. | Choose another name. |
| **Tax Engine** does not offer a third-party tax engine. | The third-party tax engine is not connected to this business entity. | Connect the third-party tax engine to this business entity. |
| **Tax Engine** shows "(not connected)". | The third-party tax engine was disconnected from the business entity. | Connect it again, or [change the tax engine of the served country](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/how-to-guides.md#change-the-tax-engine-of-a-served-country). |
| **Add Tax Rate** is disabled. | The business entity has no served country with a currency that is on. | [Add a served country](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/how-to-guides.md#add-a-served-country), or turn a currency on. |
| A country is missing from **Country** on **Add Tax Rate**. | The business entity does not serve the country. | [Add a served country](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/how-to-guides.md#add-a-served-country). |
| The tax rates of a country are missing from the **Tax Rates** tab. | Every currency of the served country is off. | [Turn a currency of the served country on](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/how-to-guides.md#edit-the-currencies-of-a-served-country). |
| A card shows "N countries need rates". | A served country that uses the Zenskar tax engine has no tax rate. | [Add a tax rate](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/how-to-guides.md#add-a-tax-rate) for that country. |
| You cannot activate a [contract](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#contract), because no tax rate matches. | No tax rate matches the address of the customer at any level, for the tax category of a [product](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#product), on a date of the contract. | [Add a tax rate](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/how-to-guides.md#add-a-tax-rate) that matches the address, with rate changes that cover the dates. 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). |
| A customer gets the tax of a less specific tax rate than expected. | The state or the city of the more specific tax rate is written differently from the address. The address has no ZIP code, city, or state. Or none of the rate changes of the more specific tax rate covers the date. | Fill in the default billing address of the customer, or add a tax rate with the state and the city as the address writes them, or with rate changes that cover the date. 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). |
| You cannot activate a contract, because no served country matches. | The business entity does not serve the country of the customer, or the served country does not have the currency of the contract. | [Add a served country](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/how-to-guides.md#add-a-served-country), or [add the currency to the served country](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/how-to-guides.md#edit-the-currencies-of-a-served-country). |
| You cannot activate a contract, because the customer has no country. | The default billing address of the customer has no country. | Add the country to the default billing address of the customer. |
| You cannot activate a contract, or generating invoices fails, for customers in a served country. | The served country uses a third-party tax engine that was disconnected. | Connect the third-party tax engine again, or [change the tax engine of the served country](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/how-to-guides.md#change-the-tax-engine-of-a-served-country). |
| Generating invoices fails for contracts with products of a tax category. With Anrok, you also cannot activate those contracts. | The tax category has no third-party tax code for the third-party tax engine of the served country. | [Map the tax category to a third-party tax code](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/how-to-guides.md#map-a-tax-category-to-a-third-party-tax-code). |
| Zenskar generates the invoices of active contracts without tax. | The served country of their customers was removed. | [Add the served country](https://zenskar.com/docs/20260301/zenskar-modules/settings/tax-configuration/how-to-guides.md#add-a-served-country) again. |
| A rate change fails to save with an overlap error. | Another rate change of the same tax category and jurisdiction overlaps or shares a day with it, or another tax rate of the tax category has an overlapping ZIP-code range on a shared day. | Start the rate change on the day after the other one ends, or set an end date on the other one with [Update jurisdiction rate](https://zenskar.com/docs/api-reference/tax/update-jurisdiction-rate.md). |
| The dashboard reports that it saved only some rate changes. | One rate change failed, for example because of an overlap. | Fix the rate changes that stay on the screen, and save again. |


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