---
schema_version: "1"
id: 6cc96be1861b6092b42218aa5fb8deee8a15592d301708da81237cba07f3ff68
title: Add a Tax Calculation Service for Custom Checkout
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/comm_set_up_tax.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.comm_set_up_tax.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: cedde66ae0b40c2557424c439bfc58eb7a5436f2098b717e3cab0a0e63e9145e
description: 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.
products:
  - Commerce
  - B2B Commerce
release: "264"
---
# 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

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=commerce.comm_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

[Which Salesforce Commerce Product Do I Have?](https://help.salesforce.com/s/articleView?id=commerce.comm_what_product.htm&language=en_US)

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-comm-264-0-0-production-enus/d863e308-482a-4dfa-8d20-2a94737d394a/images/icon_note.png)

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](https://developer.salesforce.com/docs/commerce/salesforce-commerce/guide/extensions.html).

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.

- [Extension Provider Examples](https://developer.salesforce.com/docs/commerce/salesforce-commerce/guide/extension-provider-examples.html)
- [Reference Implementations for B2B Commerce](https://github.com/forcedotcom/commerce-on-lightning/tree/main-2/examples/b2b/checkout/integrations)
- [Reference Implementations for D2C Commerce](https://github.com/forcedotcom/commerce-on-lightning/tree/main-2/examples/b2c/checkout/integrations)

To implement an integration, see the [B2B Commerce Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.b2b_b2c_comm_dev.meta/b2b_b2c_comm_dev/b2b_b2c_comm_dev_guide.htm).

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](https://help.salesforce.com/s/articleView?id=commerce.comm_set_up_salesforcetaxsoln.htm&release=264.0.0&type=5 "Use the Salesforce tax solution to automatically calculate tax rates, by mapping a third-party tax calculation service, such as Stripe, to your B2B store checkout.").
4. If the Cart Calculate API is disabled, select an integration. Click **Link Integration**, and then select the service that you want to use.
    - If your store tax type is gross, you can use the Salesforce tax service. To use the Salesforce service, select **Standard Tax, Salesforce Service**. Follow the steps in [Assign a Tax Policy with the Manual Salesforce Tax Solution](https://help.salesforce.com/s/articleView?id=commerce.comm_assign_tax_policy.htm&language=en_US).
    - To use a third-party service, download the associated managed package from AppExchange. See [Extend Your Org with AppExchange Packages](https://help.salesforce.com/s/articleView?id=xcloud.distribution_installed_packages.htm&language=en_US). Check AppExchange listings carefully. A package can support only D2C stores, only B2B stores, or both types of stores.

#### See Also

- [Integration Architecture for B2B and D2C Stores (LWR)](https://developer.salesforce.com/docs/atlas.en-us.b2b2c_commerce.meta/b2b2c_commerce/1cb2c_integration_overview.htm)
- [Checkout Integration](https://developer.salesforce.com/docs/atlas.en-us.b2b2c_commerce.meta/b2b2c_commerce/1cb2c_checkout_API_overview.htm)
- [Configure Tax Settings for a Store](https://help.salesforce.com/s/articleView?id=commerce.comm_taxes_international_store.htm&language=en_US)
- [Enable and Disable the Cart Calculate API for a Webstore](https://developer.salesforce.com/docs/commerce/salesforce-commerce/guide/cart-calculate-api.html#enable-and-disable-the-cart-calculate-api-for-a-webstore)