Tax zones belong to a market and use read_markets / write_markets. A zone may cover only countries assigned to that market. Geography is validated and overlap is rejected, so an address resolves to one specific zone or the optional default zone. Rates owned by a deleted zone are removed only after the confirmation handshake reports the impact.
General tax settings#
Three settings on the market itself decide how all of this applies: tax_enabled (whether tax is collected at all; when false, orders in the market carry no tax whatever the classes, zones and rates say), tax_included (whether catalog prices are entered with tax included) and tax_display_mode (inclusive or exclusive: how storefront prices are shown, independently of how they are entered). Read them on the market and change them with Update a market (PATCH /api/2025-01/markets/{marketId}) on the Markets page; changing tax_included asks for confirmation first. New markets collect tax with tax-exclusive prices, shown without tax.
Match an order to a jurisdiction#
A tax zone describes where a set of rates applies. Its countries must belong to the market, and subdivisions are codes from province.options in GET /reference/address-format/{country} such as US-CA (codes match ignoring case; names are refused with SUBDIVISION_INVALID; reads add subdivisions_display). Specific zones are matched before the optional default zone. If no zone matches and no default exists, Tringify returns zero zone tax and marks the calculation as unmatched.
Tringify checks tax ID formats and check digits only. It does not verify registrations or exemptions with tax authorities. You are responsible for your tax settings. In a zone with an enabled exemption and effect exempt, a valid tax ID entered for the order removes the tax. With effect invoice_only, tax is always charged and the tax ID marks the order for a business invoice. Orders record the applied source as tax_id or none. Customers keep no tax ID: the shopper enters it for each order and receives field errors. EU VAT uses national published checksum rules; Czech nine-digit birth numbers and Latvian personal numbers receive structural checks only. Canadian BN uses MOD10. Order edits recalculate the identity type, applied exemption source and GSTIN state mismatch with the tax totals.
Create a zone#
// POST /api/2025-01/markets/{marketId}/tax-zones
{
"name": "California",
"description": "California shipping addresses",
"countries": ["US"],
"subdivisions": ["US-CA"],
"is_default": false
}
Use the available-countries endpoint when building geography controls. It returns market countries together with their subdivision choices and existing zone claims. Business-tax exemption settings belong to the zone because the applicable treatment depends on the jurisdiction that matched the order. Tringify assigns priority itself, in creation order; zones never overlap, so it does not change which zone an address matches.
Endpoints#
Get tax zone limits
Fetch tax-zone validation limits.
Returns the live tax-zone limits — the per-market cap and the name, description, and search length caps (all counted in characters), plus list pagination bounds. Read this instead of hardcoding numbers.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Get available countries
Fetch the market's countries with their zone-claim status.
Returns every country in the market stamped with its claim status across the market's zones: fully_claimed (a country fallback already exists, named in claimed_by_zone) and claimed_subdivisions (subdivisions other zones already took). Both can be present for one country. A country fallback does not prevent creating a zone for its unclaimed subdivisions; it only prevents another zone from covering that country whole, that is, listing it with none of its subdivisions. Build zone pickers from this — the server's verdict is the only source of what is still claimable. Pass exclude_zone_id when editing a zone so its own claims don't count against it.
Path parameters
| Name | Type | Description |
|---|---|---|
marketId
required
|
uuid |
Market id. |
Query parameters
| Name | Type | Description |
|---|---|---|
exclude_zone_id
|
uuid |
Zone id whose own claims to ignore — pass the zone being edited. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYmarketIdmust be a valid UUID. -
404MARKET_NOT_FOUNDMarket does not exist in this store.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe query string has a parameter this request does not accept. The message and
error.details.allowed_parameterslist the ones it does. -
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
List tax zones
List a market's tax zones.
Returns paginated tax zones, searchable by name. Each zone carries rate_count — how many rate lines it holds — and is_default marks the market's catch-all zone if one exists. A market is not required to have a default zone: addresses no zone covers are sold with zero tax, and the tax calculation reports tax_zone_unmatched. Pagination and search bounds come from the limits endpoint.
Path parameters
| Name | Type | Description |
|---|---|---|
marketId
required
|
uuid |
Market id. |
Query parameters
| Name | Type | Description |
|---|---|---|
page
|
integer |
Page number. |
per_page
|
integer |
Page size, from 1 to the list maximum in the limits endpoint. Larger values are rejected with |
search
|
string |
Search by tax zone name. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYmarketIdmust be a valid UUID. -
404MARKET_NOT_FOUNDMarket does not exist in this store.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe query string has a parameter this request does not accept. The message and
error.details.allowed_parameterslist the ones it does. -
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Create a tax zone
Create a tax zone in a market.
Creates a tax zone. name is required and unique within the market. A regular zone needs at least one country or subdivision; every country must belong to the market, every subdivision must be a known ISO subdivision belonging to a selected country, and duplicate subdivision claims or duplicate whole-country claims are rejected. A whole-country zone with an empty subdivisions array can coexist with state-specific zones: state matches win, then the country zone covers the rest. For example, a zone with countries: ["US"] and subdivisions: ["US-CA"] handles California; a second zone with countries: ["US"] and subdivisions: [] handles the rest of the United States. Only the matching zone’s rates apply. One zone can list whole countries and subdivisions of other countries together: each listed country with at least one listed subdivision is claimed only for those subdivisions, and a listed country with none of its subdivisions listed is claimed whole, except subdivisions other zones claim. So countries: ["CA", "US"] with subdivisions: ["CA-ON"] covers Ontario and all of the US. Addresses are matched with country and state trimmed and case-insensitive, and a state matches a subdivision zone by the address's subdivision code (CA-ON); every address write stores the code, whatever spelling it was sent with. When a country has subdivision zones and the address has no state, or one that isn't recognised, tax is not taken from the country zone: the tax calculation reports tax_zone_unmatched: true with tax_zone_needs_state: true and reports unresolved tax until a recognised state is given. Operational order creation is refused with ORDER_TAX_ZONE_NEEDS_STATE and details.tax_zone_needs_state: true; it cannot create a payable zero-tax order. A recognised state that no subdivision zone covers uses the whole-country zone. Setting is_default instead creates the market's catch-all zone for unmatched addresses; while another zone is the default, that is refused with TAX_ZONE_DEFAULT_EXISTS. The optional tax_exemption object sets the business treatment: exempt removes tax when the buyer enters a valid tax ID, and invoice_only keeps tax and marks the order for a business invoice when the buyer enters one. Fires tax_zones/create.
Path parameters
| Name | Type | Description |
|---|---|---|
marketId
required
|
uuid |
Market id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
name
required
|
string |
Tax zone name — unique within the market, ignoring case. |
description
|
string |
Internal description. |
countries
|
array |
ISO country codes belonging to the market. A listed country with none of its subdivisions listed is covered whole, except subdivisions assigned to other zones; a listed country with listed subdivisions is covered only for those subdivisions. Only one zone may cover a country whole, but it can coexist with subdivision zones. Empty countries and subdivisions are only valid for the default zone. |
subdivisions
|
array |
Subdivision codes from |
is_default
|
boolean |
Make this the market's catch-all zone for addresses no other zone covers. The default zone must have no countries or subdivisions. A market has at most one: while another zone is the default, this is refused with |
tax_exemption
|
object |
Business tax exemption for this zone: |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYmarketIdmust be a valid UUID. -
400TAX_ID_ZONE_TYPE_MISMATCHThe type fits no zone country (no market country for a default zone). Existing mismatches are returned on reads without modifying stored settings.
-
400TAX_ZONE_NAME_REQUIREDName is empty after normalization.
-
400TAX_ZONE_NAME_TOO_LONGName exceeds the limit.
-
400TAX_ZONE_DESCRIPTION_TOO_LONGDescription exceeds the limit.
-
400TAX_ZONE_LIMIT_REACHEDThe market's tax zone cap has been reached.
-
400ZONE_NEEDS_REGIONA regular zone must include at least one country or subdivision.
-
400ZONE_DEFAULT_NO_REGIONSThe default zone must have no countries or subdivisions — it covers all remaining regions.
-
400ZONE_COUNTRY_INVALIDA country is not valid for this zone (unknown code or not in the market).
-
400SUBDIVISION_INVALIDA subdivision is not in the subdivision reference list for its country (
details.country,details.field). -
400ZONE_SUBDIVISION_NEEDS_COUNTRYSubdivisions require their country to be selected in the zone.
-
400ZONE_SUBDIVISION_NOT_IN_COUNTRYA subdivision belongs to a country not selected in this zone.
-
400ZONE_COUNTRY_TAKENA country this zone covers whole (none of its subdivisions listed) is already covered whole by another zone.
-
400ZONE_SUBDIVISION_TAKENA subdivision is already assigned to another zone.
-
400MARKET_TAX_EXEMPTION_TYPE_INVALIDTax_exemption.type is not a supported tax ID kind.
-
400MARKET_TAX_EXEMPTION_EFFECT_INVALIDTax_exemption.effect must be exempt or invoice_only.
-
400MARKET_CHECKOUT_TEXT_TOO_LONGTax_exemption.checkout_text exceeds the limit.
-
404MARKET_NOT_FOUNDMarket does not exist in this store.
-
409TAX_ZONE_NAME_DUPLICATEA tax zone with this name, ignoring case, already exists in the market.
-
409TAX_ZONE_DEFAULT_EXISTSAnother zone is already the market's default zone; the message names it. Give that zone countries or subdivisions and set its
is_defaultto false first. -
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Get a tax zone
Fetch one tax zone.
Returns the tax zone, with rate_count, the number of rate lines it holds.
Path parameters
| Name | Type | Description |
|---|---|---|
marketId
required
|
uuid |
Market id. |
taxZoneId
required
|
uuid |
Tax zone id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYmarketIdmust be a valid UUID. -
404MARKET_NOT_FOUNDMarket does not exist in this store.
-
404TAX_ZONE_NOT_FOUNDTax zone does not exist in this market.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Update a tax zone
Update a tax zone.
Updates the zone's name, description, regions, default flag, and business tax exemption. Send only the fields to change: every field you leave out keeps its saved value, so {"description": "EU member states"} changes the description and nothing else. countries and subdivisions, when sent, replace their whole lists; an empty description clears it. Region rules apply to the zone as it is after the update and match create: regular zones need at least one country or subdivision, all regions must be claimable, and the default zone must have none. To make a regular zone the default, send is_default: true with empty countries and subdivisions. A market has at most one default zone: while another zone is the default, is_default: true is refused with TAX_ZONE_DEFAULT_EXISTS and nothing changes. Give the current default countries or subdivisions and set its is_default to false first, so no zone is ever left matching no address. Turning off the default of the default zone requires countries or subdivisions in the same request. Fires tax_zones/update with changed_fields.
Path parameters
| Name | Type | Description |
|---|---|---|
marketId
required
|
uuid |
Market id. |
taxZoneId
required
|
uuid |
Tax zone id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
name
|
string |
Tax zone name — unique within the market, ignoring case. Leave it out to keep the saved name. |
description
|
string |
Internal description. |
countries
|
array |
ISO country codes belonging to the market. A listed country with none of its subdivisions listed is covered whole, except subdivisions assigned to other zones; a listed country with listed subdivisions is covered only for those subdivisions. Only one zone may cover a country whole, but it can coexist with subdivision zones. Empty countries and subdivisions are only valid for the default zone. |
subdivisions
|
array |
Subdivision codes from |
is_default
|
boolean |
Make this the market's catch-all zone for addresses no other zone covers. The default zone must have no countries or subdivisions. A market has at most one: while another zone is the default, this is refused with |
tax_exemption
|
object |
Business tax exemption for this zone: |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYmarketIdmust be a valid UUID. -
400TAX_ID_ZONE_TYPE_MISMATCHThe type fits no zone country (no market country for a default zone). Existing mismatches are returned on reads without modifying stored settings.
-
400TAX_ZONE_NAME_REQUIREDName is empty after normalization.
-
400TAX_ZONE_NAME_TOO_LONGName exceeds the limit.
-
400TAX_ZONE_DESCRIPTION_TOO_LONGDescription exceeds the limit.
-
400TAX_ZONE_LIMIT_REACHEDThe market's tax zone cap has been reached.
-
400ZONE_NEEDS_REGIONA regular zone must include at least one country or subdivision.
-
400ZONE_DEFAULT_NO_REGIONSThe default zone must have no countries or subdivisions — it covers all remaining regions.
-
400ZONE_COUNTRY_INVALIDA country is not valid for this zone (unknown code or not in the market).
-
400SUBDIVISION_INVALIDA subdivision is not in the subdivision reference list for its country (
details.country,details.field). -
400ZONE_SUBDIVISION_NEEDS_COUNTRYSubdivisions require their country to be selected in the zone.
-
400ZONE_SUBDIVISION_NOT_IN_COUNTRYA subdivision belongs to a country not selected in this zone.
-
400ZONE_COUNTRY_TAKENA country this zone covers whole (none of its subdivisions listed) is already covered whole by another zone.
-
400ZONE_SUBDIVISION_TAKENA subdivision is already assigned to another zone.
-
400MARKET_TAX_EXEMPTION_TYPE_INVALIDTax_exemption.type is not a supported tax ID kind.
-
400MARKET_TAX_EXEMPTION_EFFECT_INVALIDTax_exemption.effect must be exempt or invoice_only.
-
400MARKET_CHECKOUT_TEXT_TOO_LONGTax_exemption.checkout_text exceeds the limit.
-
404MARKET_NOT_FOUNDMarket does not exist in this store.
-
409TAX_ZONE_NAME_DUPLICATEA tax zone with this name, ignoring case, already exists in the market.
-
409TAX_ZONE_DEFAULT_EXISTSAnother zone is already the market's default zone; the message names it. Give that zone countries or subdivisions and set its
is_defaultto false first. -
404TAX_ZONE_NOT_FOUNDTax zone does not exist in this market.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Delete a tax zone
Delete a tax zone.
Deletes the tax zone. If it still has rate lines, the first call returns CONFIRMATION_REQUIRED; retry with confirmed and the returned confirmation_token. The token is for that number of rate lines: if lines are added before the retry, the zone asks for confirmation again. Cascaded rate lines do not fire individual tax_rates/delete events, so re-sync rates after the tax_zones/delete event. The default zone can't be deleted while it is the default. After deletion, addresses are matched again: any remaining state-specific zone wins, then a whole-country zone, then the default zone. If none matches, no tax is applied.
Path parameters
| Name | Type | Description |
|---|---|---|
marketId
required
|
uuid |
Market id. |
taxZoneId
required
|
uuid |
Tax zone id. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
confirmed
|
boolean |
On a confirmation retry, set this to true and send the returned confirmation_token. Omit it on the first request. |
confirmation_token
|
string |
Token from the CONFIRMATION_REQUIRED response. Omit it on the first request; when using it, repeat the same request (the same id, or for a bulk delete the same id selection). |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYmarketIdmust be a valid UUID. -
409CONFIRMATION_REQUIREDThe zone still has rate lines. Retry with confirmed and the returned confirmation_token.
-
400TAX_ZONE_DEFAULT_DELETE_LOCKEDThe default zone can't be deleted while it is the default.
-
404MARKET_NOT_FOUNDMarket does not exist in this store.
-
404TAX_ZONE_NOT_FOUNDTax zone does not exist in this market.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Webhook events#
Tax-zone events are published for every write, and the saved change and its event become visible together. Making a zone the default also publishes an update for the zone that stops being the default. Update payloads contain the complete saved geography and exemption configuration; delete payloads retain the removed zone's identity.
Tax zone created
Subscribe to receive the saved tax zone after it is created in a market.
Payload fields
| Field | Type | Description |
|---|---|---|
tax_zone.id |
string |
Always present
The stable tax zone id. |
tax_zone.market_id |
string |
Selectable in the Payload builder
The market where this zone is matched. |
tax_zone.name |
string |
Selectable in the Payload builder
The merchant-facing tax zone name. |
tax_zone.description |
string |
Selectable in the Payload builder
The optional explanation of the jurisdiction this zone covers. |
tax_zone.countries |
array |
Selectable in the Payload builder
ISO 3166-1 alpha-2 country codes claimed by the zone. |
tax_zone.subdivisions |
array |
Selectable in the Payload builder
ISO 3166-2 subdivision codes (from the subdivision reference list) claimed by the zone. |
tax_zone.subdivisions_display |
array |
Selectable in the Payload builder
English names of subdivisions, in the same order. |
tax_zone.is_default |
boolean |
Selectable in the Payload builder
Whether this zone catches addresses not matched by a more specific zone. |
tax_zone.priority |
integer |
Selectable in the Payload builder
The order in which the zone was created, assigned by Tringify (newer zones are higher). Zones never overlap, so it does not change which zone an address matches. |
tax_zone.tax_exemption |
object | null |
Selectable in the Payload builder
The zone's business tax treatment, or null when it has none. |
tax_zone.tax_exemption.type_mismatch |
boolean |
Selectable in the Payload builder
true when the type fits none of the zone's countries (the market's countries for a default zone), so the zone can't collect tax IDs until it is fixed. |
tax_zone.tax_exemption.translations |
object |
Selectable in the Payload builder
checkout_text in other storefront languages, keyed by language code. Empty when there are none. |
tax_zone.tax_exemption.enabled |
boolean |
Selectable in the Payload builder
Whether this zone's business tax treatment is on. |
tax_zone.tax_exemption.type |
string |
Selectable in the Payload builder
The tax ID type the zone collects: eu_vat, uk_vat, gstin, abn, gst_hst or ein. |
tax_zone.tax_exemption.effect |
string |
Selectable in the Payload builder
The business tax treatment: exempt removes tax when the buyer enters a valid tax ID; invoice_only keeps tax and marks the order for a business invoice when the buyer enters one. |
tax_zone.tax_exemption.checkout_text |
string |
Selectable in the Payload builder
The customer-facing guidance shown when exemption details are requested, in the store's default language. Empty when the zone uses the type's default guidance. |
tax_zone.rate_count |
integer |
Selectable in the Payload builder
How many rate lines the zone holds. |
tax_zone.created_at |
string |
Selectable in the Payload builder
When the tax zone was created. |
tax_zone.updated_at |
string |
Selectable in the Payload builder
When the tax zone last changed. |
Tax zone updated
Subscribe to receive the current tax zone after its geography, priority, default status, or exemption settings change.
Possible changed_fields values
The changed_fields array names exactly which of these changed in this event — use it to skip processing updates your integration doesn't care about.
countries description is_default name priority rate_count subdivisions subdivisions_display tax_exemption
Payload fields
| Field | Type | Description |
|---|---|---|
tax_zone.id |
string |
Always present
The stable tax zone id. |
tax_zone.market_id |
string |
Selectable in the Payload builder
The market where this zone is matched. |
tax_zone.name |
string |
Selectable in the Payload builder
The merchant-facing tax zone name. |
tax_zone.description |
string |
Selectable in the Payload builder
The optional explanation of the jurisdiction this zone covers. |
tax_zone.countries |
array |
Selectable in the Payload builder
ISO 3166-1 alpha-2 country codes claimed by the zone. |
tax_zone.subdivisions |
array |
Selectable in the Payload builder
ISO 3166-2 subdivision codes (from the subdivision reference list) claimed by the zone. |
tax_zone.subdivisions_display |
array |
Selectable in the Payload builder
English names of subdivisions, in the same order. |
tax_zone.is_default |
boolean |
Selectable in the Payload builder
Whether this zone catches addresses not matched by a more specific zone. |
tax_zone.priority |
integer |
Selectable in the Payload builder
The order in which the zone was created, assigned by Tringify (newer zones are higher). Zones never overlap, so it does not change which zone an address matches. |
tax_zone.tax_exemption |
object | null |
Selectable in the Payload builder
The zone's business tax treatment, or null when it has none. |
tax_zone.tax_exemption.type_mismatch |
boolean |
Selectable in the Payload builder
true when the type fits none of the zone's countries (the market's countries for a default zone), so the zone can't collect tax IDs until it is fixed. |
tax_zone.tax_exemption.translations |
object |
Selectable in the Payload builder
checkout_text in other storefront languages, keyed by language code. Empty when there are none. |
tax_zone.tax_exemption.enabled |
boolean |
Selectable in the Payload builder
Whether this zone's business tax treatment is on. |
tax_zone.tax_exemption.type |
string |
Selectable in the Payload builder
The tax ID type the zone collects: eu_vat, uk_vat, gstin, abn, gst_hst or ein. |
tax_zone.tax_exemption.effect |
string |
Selectable in the Payload builder
The business tax treatment: exempt removes tax when the buyer enters a valid tax ID; invoice_only keeps tax and marks the order for a business invoice when the buyer enters one. |
tax_zone.tax_exemption.checkout_text |
string |
Selectable in the Payload builder
The customer-facing guidance shown when exemption details are requested, in the store's default language. Empty when the zone uses the type's default guidance. |
tax_zone.rate_count |
integer |
Selectable in the Payload builder
How many rate lines the zone holds. |
tax_zone.created_at |
string |
Selectable in the Payload builder
When the tax zone was created. |
tax_zone.updated_at |
string |
Selectable in the Payload builder
When the tax zone last changed. |
changed_fields |
array |
Always present
The tax_zone fields this update changed, for example countries or tax_exemption. A zone that became the default reports is_default. |
Tax zone deleted
Subscribe to remove a deleted tax zone from your integration. Its rate lines are removed with it without separate tax_rates/delete events, so use the zone id to refresh affected rates.
Payload fields
| Field | Type | Description |
|---|---|---|
tax_zone.id |
string |
Always present
The stable tax zone id. |
tax_zone.market_id |
string |
Selectable in the Payload builder
The market where this zone is matched. |
tax_zone.name |
string |
Selectable in the Payload builder
The merchant-facing tax zone name. |