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.
Learn more:
getConfig()
function in the -config.js file that is added to your site during step 1.calculateTax()
function in the .js file that is added to your site during step 1.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.