This article presents possible use cases and corresponding sample flows that you can support. This can be a helpful jumping off point as you plan your implementation.
You need to configure tax rates for a business expanding into a new geographical region.
To set up custom tax rates for a new region:
Identify the tax groups that need custom rates in the new region. Call Query Tax Groups to get custom tax group IDs, or List Default Tax Groups to get system group IDs such as Products. Query Tax Groups doesn't return default groups.
Identify the tax region representing the new geographical area. Call Query Tax Regions to get the tax region ID.
Create the manual tax mapping with the custom rate.
Verify the mapping was created successfully by calling Get Manual Tax Mapping with the returned ID.
You need to migrate existing tax configuration from a legacy tax system or import rates from a spreadsheet.
To import multiple tax mappings:
Structure your data as an array of manual tax mapping objects. Ensure each mapping has valid tax group and region IDs.
Group the mappings into batches of up to 100 items to comply with bulk operation limits.
For each batch, call Bulk Create Manual Tax Mappings.
Process any failed mappings from the results array and retry them in a separate request if needed.
Local tax authorities have announced rate changes that affect your existing manual tax mappings.
To update existing tax rates:
Query existing mappings that need updates. For example, to find all mappings for a specific region.
For each mapping that needs updating, call Update Manual Tax Mapping with the new rate.
Verify the updates by querying the updated mappings to confirm the new rates are in effect.
Some jurisdictions charge tax as multiple components (for example, GST plus PST in parts of Canada, or state plus county tax in the US) that should appear as separate lines at checkout.
To create a breakdown for one tax group and region:
Call Create Manual Tax Mapping once per component, all with the same taxGroupId and taxRegionId but a distinct taxName (for example, GST and PST) and its own taxRate. Use Bulk Create Manual Tax Mappings to create them in a single request.
Tax calculation applies all matching mappings, and each taxName renders as its own line at checkout. No extra flag is needed. The set of mappings is the breakdown.
Last updated: 21 July 2026