If you use a partner app or your own engine, create a tax engine provider and a tax engine.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Unlimited, and Developer Editions with the Revenue Cloud Advanced license or the Revenue Cloud Billing license |
| User Permissions Needed | |
|---|---|
| To create tax engine providers and tax engines: | Tax Admin permission set |
Make sure that you complete the prerequisites before you create a tax engine provider and tax engine.
Create a Tax Engine Provider
Create a tax engine provider to store information about the Apex adapter class that manages communication with the tax engine.
- From the App Launcher, find and select Tax Engine Providers.
- Click New.
- Enter a label and API name for the tax engine provider.
-
Select the ID of the Apex adapter that you want the tax engine provider to use.
If you use your own tax engine, select the custom tax adapter that you configured.
Note Select a unique Apex adapter for each tax engine provider. - If you have extended tax callouts, enter the API name of the custom metadata type you created.
- Save your changes.
Create a Tax Engine
Create a tax engine record that Billing uses to calculate tax. Include the tax engine provider, named credential, seller code, and address.
- From the App Launcher, find and select Tax Engines.
- Click New.
- Enter a name for the tax engine.
- Select the type as Revenue Cloud Tax Extension.
- Select the tax engine provider.
- Select the named credential that you created to authenticate the tax engine.
- Enter the seller code of the tax provider.
- Enter the address of the tax provider.
-
Select the status as Active.
You can use only active tax engines to calculate taxes.
-
To capture taxes at the header level, select Capture Taxes At
Header.
The Capture Taxes At Header checkbox appears only when Credit, Payment, and Refund Application Level is Header Level. See Capture Taxes at Header Level.
- Save your changes.
Create tax policies and treatments. If the tax treatment is taxable, select this tax engine on the tax treatment. Then assign the tax policy to the relevant products. When Billing calculates tax for an order product, it uses the tax engine on the product’s tax treatment.