Which Object Calculates Your Tax
Your setup decides which object you read:
- With CPQ alone, the quote calculates tax. Quote tax needs a third-party tax engine or custom configuration. Use the quote steps.
- With Billing alone, the order product calculates an estimate when you create the order, and the invoice line calculates the final tax during the invoice run. Use the order steps and the invoice steps.
- With CPQ and Billing together, the order and invoice calculate tax in Billing. The quote calculates tax only when your org connects a third-party tax engine or custom configuration.
Before You Start
We do not cover Commerce Cloud, Revenue Cloud Advanced, install steps, or line limits.
Third-party tax engines for Billing are available in AppExchange. Set the engine up in the Tax Integrations object within Salesforce Billing, following the provider's instructions.
If Tax Calculates on the CPQ Quote
- Connect a third-party tax engine or custom configuration to your org, because quote-level tax needs one. CPQ uses only an external engine. Avatax is the only pre-packaged one, and other engines are custom integrations.
- Fill the inputs. Tax engines calculate quote-level tax from the product's tax code and the related account's shipping address.
- If you use CPQ with Billing and a third-party tax engine, click Calculate Tax on the quote to get an initial quote tax estimate. The button does not calculate with the Salesforce standard tax engine.
- Check the quote. CPQ calculates quote line tax immediately upon quoting action, so read the quote line tax after you take that action. Compare it with the tax you expect for the account's shipping address and the product's tax code. If the two differ, check those two inputs. Quote tax is an estimate.
If Tax Calculates on the Billing Order
- Create a tax rule, set its Taxable (Yes/No) field to Yes, and point each product to it. With a third-party engine, Billing treats a product as tax-exempt if the product's own Taxable field is unselected.
- Set the Tax Code, which is on the product or on the tax treatment, depending on your engine.
- Add a tax treatment to the rule that indicates the tax integration, with a legal entity that matches the order product's. Billing applies the treatment only when the legal entities match.
- Before you create orders, confirm your org fills the legal entity on the order product. By default it does not populate unless your organization uses custom automation. If it is empty, the order product does not look up to a tax treatment, so taxes do not calculate. While an order product is in Draft status, you can change its legal entity or tax rule.
- You can choose the tax calculation address in the Salesforce Billing package settings. To change the address for one line, use the Address Override fields on the order product.
- Create the order. Billing calculates order product tax upon order creation. This order tax is an estimate, and the invoice line carries the final tax.
- Match the engine to the treatment. Billing works with an external engine such as Avalara or Vertex, or a custom integration to an external engine. Billing also provides an internal tax engine, which Salesforce recommends for simple and static calculations such as VAT. With the internal engine, enter and update all tax rates manually.
- Check the order product. Read Estimated Tax, which holds the calculated tax estimate, not the final tax. Then read Tax Calculation Status, which shows the status of the calculation. Values include Queued, Processing, Completed, Error, and Warning. If the status reads Error, Tax Error Message describes why.
If Tax Calculates on the Billing Invoice
- Before the invoice run, confirm your org fills the legal entity on the invoice line. By default it does not populate unless your organization uses custom automation.
- Start the invoice run. Billing calculates invoice line tax during the invoice run.
- Check the invoice line. Read Tax, which holds the final calculated tax for the invoice line, and Tax Status, whose values match the order product's status values. If Tax Status reads Error, Tax Error Message describes why. Each invoice line's tax sums to the Tax field on the parent invoice.
CereTax and Salesforce
Our Salesforce integration connects directly to Salesforce CPQ and Commerce Cloud. It automates tax calculation at the point of quote or checkout, with rooftop-level address precision.
Tell us which object calculates tax in your org, and we will talk through your setup.
Questions About Your Salesforce Setup?