The Tax Calculation API allows you to retrieve the available tax calculators for a site and to calculate tax. Use the Tax Calculations API together with the
Tax Groups API and the
Tax Regions API to customize the application of tax for your business.
It's important to note the following before starting to code:
- Tax is calculated based on the tax region and a tax region requires an
appId
for an available tax calculator. Use listTaxCalculators()
to retrieve a list of available tax calculators for a site, then create and manage your tax regions before calculating tax.
- You can provide additional tax calculations with the Tax Calculation Integration service plugin.
- Tax calculator: An app that is used under the hood to calculate tax for a Wix site. The app calculates tax based on the tax group of the product and the tax region of the sale. A site assigns each tax region to the Wix manual tax calculator or an external calculator app to properly calculate tax.
- Wix manual tax calculator: The default tax calculator installed with a Wix site. The tax rates to apply for this calculator can be manually adjusted in the Tax Settings in the Wix dashboard.