The Tax Calculation service plugin (formerly SPI) allows you to integrate a custom tax calculation service with Wix. Use the Tax Calculation service plugin together with the Tax Groups API and the Tax Regions API to customize your tax calculations.
The integration is done via an app created in the app dashboard with the Tax Calculation service plugin.
Learn more about implementing an service plugin with Wix.
country
and subdivision
with a specific tax treatment. Tax is calculated based on the tax region and the tax group associated with a line item. See the Tax Regions API.To configure and customize your service plugin, you need to provide important details in the plugin.json
configuration file.
If you created your service plugin extension with the CLI, required fields are automatically populated for you.
Display name of the tax calculator.
Required.* Base URI where the endpoints are called. Wix appends the endpoint path to the base URI.
For example, to call the Calculate Tax endpoint at https://my-tax-calc.com/v1/calculateTax, the base URI you provide here is "https://my-tax-calc.com/"
.
List of countries, in ISO-3166 alpha-1 format, that the calculator does not support.