The Tax Regions API allows you to create and manage tax regions to apply different tax treatment based on location. Use the Tax Regions API together with the Tax Groups API and the Tax Calculation API to customize the application of tax for your business.
It's important to note the following before starting to code:
appId
for an available tax calculator. Use listTaxCalculators()
to retrieve a list of available tax calculators for a site.To use the Tax Regions API, import { taxRegions }
from the wix-billing.v2
module: