Tax Integration
Tax integration automates the calculation and application of sales tax across commerce flows, ensuring compliance with tax regulations. By connecting to a tax engine like Avalara, the system calculates tax based on address, product details, prices, and tax categories, reducing manual errors and saving time. The integration supports both authenticated and guest users, with tax information included in cart and order summaries.
Configuring Avalara Tax Integration Connectors
Prerequisites
- Avalara sandbox account
- Avalara Company Code, Account ID, and License Key
Guest User Tax Integration
Guest users can calculate and review applicable sales tax during checkout without logging in. Administrators must configure the required tax integration and enable the appropriate routes to support tax calculation for guest users via Add a configuration API.
You must configure the following for the guest user:
Adding
TaxBreakupobject for a guest user by using the Add a configuration API. Refer the Setting Up a Guest User topic > Step 4 .Enabling EnableTaxIntegration flag with Category as "cpq" and Name as "featuresettings". Refer the Setting Up a Guest User topic > Step 5 .
Tax API routes:{\"Route\":\"/api/integrations/v1/tax/calculate\",\"Method\":\"POST\"} {\"Route\":\"/api/integrations/v1/tax/metadata\",\"Method\":\"GET\"}Granting View All, Create, Read, and Update permissions for the TaxBreakup object to the guest user. Refer the Setting Up a Guest User topic > Step 6 .
