You are here:
Assign a Tax Policy to a Product
After you select the default tax policy for your B2B store, the tax policy and tax treatment for your products are updated. To override the default tax policy for individual products, assign a new tax policy to each of the products. You can manually assign tax policies to products only if your store is using Stripe or an extension provider.
Required Editions
Set up Taxes in Your Commerce Store
To assign a tax policy to a product, first create the Tax Engine record and the related Tax Policy and Tax Treatment records. This task is optional. If you've already set up taxes for your B2B store, you can skip this step.
-
Create a Tax Engine record.
You will need your tax provider's name, mailing address, seller code, Apex adapter name, and credentials.
- In App Launcher, search for and select Tax Engines.
- Click New.
-
Enter your tax provider information.
If the Tax Provider Account Identifier field is marked as required, enter
N/A for this field. This field isn't required to create a Tax Engine record, even if it is set to mandatory in the Object Manager.
- Set the status to Active.
-
For Type, select the option that matches your store's tax provider.
If you're using Stripe as your tax provider, select Stripe Native. If you're using a tax extension, select Commerce Tax Extension.
- Save your changes.
-
Create a Tax Policy record.
- In App Launcher, search for and select Tax Policies.
- Click New and name the tax policy.
-
Set the status to Draft.
Don't set the status to active until after you've added a default tax treatment record in the next step. You can't edit the policy record if it's active.
- For Treatment Selection, select Legal Entity.
- Leave Default Tax Treatment blank.
- Save your changes.
-
Create a Default Tax Treatment record.
- In App Launcher, search for and select Tax Treatments.
- Click New and include Default Tax Treatment in the name.
-
Choose the legal entity that matches your store name.
The legal entity is created after you create a store. If you don't see a legal entity name for your store, contact Salesforce Customer Support.
- Set the Tax Engine and Tax Policy fields to the records that you created.
- For Tax Code, enter the value obtained from your provider.
- For Status, select Active.
- Save your changes.
-
Assign the Tax Policy to your store and set up a tax provider.
Whichever solution you use, gross tax calculation doesn't support subscriptions.
If your store uses Stripe, see Select Salesforce Tax Solution and Set Up a Tax Provider.
If your store uses a third-party provider, see Add a Tax Calculation Service for a Commerce Store.
Assign a Tax Policy to Individual Products
The default tax policy for the store is assigned to the products in the store. However, you can override the default tax policy by manually assigning a tax policy to individual products.
- In the App Launcher, search for and select Commerce.
- In the navigation sidebar, select a store from the Store dropdown.
- Select Merchandising | Products
- Click the product you want to assign a tax policy to.
- Edit the product and select a tax policy.
- Save your changes.
The tax policy is updated for the product. To view the tax treatment associated with the tax policy, click the tax policy and view its details.

