---
schema_version: "1"
id: bc4bf6f9d8f769cdfa9f9e000ca9550a69b4405f07f66b5c0e59000ac4a09d17
title: Select Salesforce Tax Solution and Set Up a Tax Provider
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/comm_set_up_salesforcetaxsoln.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.comm_set_up_salesforcetaxsoln.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 4fb849fd040e30980ec0d764266e286d9a4832d66a2df6a8a22dc288b75d0c7d
description: 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.
products:
  - Commerce
  - B2B Commerce
release: "264"
---
# Select Salesforce Tax Solution and Set Up a Tax Provider

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.

### 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

Salesforce recommends that you use Commerce extensions for pricing, inventory, shipping, taxes, and other services because they offer more targeted customizations for your B2B store. These extensions are available for more Commerce domains. See [Get Started With Salesforce Commerce Extensions](https://developer.salesforce.com/docs/commerce/salesforce-commerce/guide/extensions.html).

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.

To calculate taxes, the Salesforce tax solution uses Stripe as the tax provider. Before you proceed, create a Merchant account in the Payments app. See [Set Up a Merchant Account and Payment Method Set](https://help.salesforce.com/s/articleView?id=commerce.payments_add_merch_acct.htm&type=5&language=en_US). After you set up the Salesforce tax solution, your tax rates are automatically calculated for an order based on shopper and seller location, product type that’s sold, and any reverse tax on a transaction.

For a B2B store, you can also use the manual Salesforce tax solution. To set up tax rates manually, see [Select Manual Salesforce Tax Solution and Assign a Tax Policy to a Commerce Store](https://help.salesforce.com/s/articleView?id=commerce.comm_salesforce_tax_solution.htm&type=5&language=en_US).

If you want to integrate a third-party service, we recommend that you use 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).

To set up the Salesforce tax solution with Stripe:

![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 This procedure assumes that you're using custom checkout and that the Cart Calculate API is enabled for your store.

1. In the navigation sidebar, select a store from the **Store** dropdown.
2. Select **Settings** | **Checkout**, and go to the Taxes tab.
3. Click **Salesforce Tax Solution** as the store's provider.
4. Click **Select Merchant Account**, select the merchant account, and save your changes.
5. Click **Select Default Tax Category**, and select a default tax category for your store.
    
    If you've selected a tax category and want to modify the account, click **Modify Default Tax Category**.
    
    Your store's tax category associates your products with the correct tax rates. The Tax Policy ID field is populated based on the default tax category that you selected.
    
    Optionally, you can override the store's default tax policy for products by setting the tax policy and tax treatment for that particular product. See [Assign a Tax Policy to a Product](https://help.salesforce.com/s/articleView?id=commerce.comm_tax_assigntaxpolicytoproduct.htm&language=en_US).
6. Click **Configure Tax Registrations** and configure Stripe as the tax provider. See [Set up Stripe Tax](https://docs.stripe.com/tax/set-up#add-registrations).
    
    Make sure that you complete your Stripe configuration before moving to the next step.
7. Save your changes.
8. If you’re managing orders with Salesforce Order Management, you can generate tax reports from the Stripe dashboard.
    1. From Setup, in the Quick Find box, enter, and select **Flows**.
    2. Clone and activate the Create Tax Transaction and Record Tax Reversal flows. You can also clone and customize the flows to suit your business.
        
        ![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 The Create Tax Transaction and Record Tax Reversal flows are available if Enable Order Events is enabled in the Order Settings page.
9. If the automated business logic encounters an issue that interrupts normal processing, a process exception occurs. Identify the cause and resolve these exceptions. See [Process Exceptions](https://help.salesforce.com/s/articleView?id=commerce.om_process_exception_management.htm&type=5&language=en_US).
    
    If you see an error message at any point, make sure that you've followed all the steps outlined in this topic.

#### See Also

- [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)