Add a Tax Calculation Service for Custom Checkout

A tax calculation service determines how much your customers pay in taxes based on their location. You can set up the Salesforce Tax Solution or use a third-party tax calculation service for your B2B store.

Required Editions

View supported editions.

Which Salesforce Commerce Product Do I Have?

Note
Note

In Winter ‘24, we introduced Commerce extensions for pricing, inventory, shipping, taxes, and other services. While the checkout integrations framework is still supported, we recommend extensions over integrations because they offer more targeted customizations for your B2B store. Plus, they’re available for more Commerce domains. See Get Started With Salesforce Commerce Extensions.

Also, starting in Spring ‘24, the Cart Calculate API is enabled by default for LWR stores (OptionsCartCalculateEnabled is set to true). When this setting is enabled, you can configure extension providers for tax calculation, but you can’t configure integrations for tax calculation.

If you want to integrate a third-party service, we recommend using an AppExchange package. If you prefer implementing a service without using AppExchange, see reference examples in GitHub.

To implement an integration, see the B2B Commerce Developer Guide.

This procedure assumes you’re using custom checkout.

  1. In the navigation sidebar, select a store from the Store dropdown.
  2. Select Settings | Checkout, and go to the Taxes tab.
    The next steps depend on whether the Cart Calculate API is enabled.
  3. If the Cart Calculate API is enabled, click Select Provider to select a custom provider. Follow the steps in Select Salesforce Tax Solution and Set Up a Tax Provider.
  4. If the Cart Calculate API is disabled, select an integration. Click Link Integration, and then select the service that you want to use.