Newer Version Available
TaxTreatment
A tax treatment contains details about how Salesforce and external engines
calculate taxes, and the tax engine to use for tax calculation. The IsTaxable field
determines whether tax is calculated for the product in the transaction. The tax code, tax
engine, and product code are sent via API to the external tax calculation service. When you
invoice an order item that has a tax treatment, the invoice line inherits the tax treatment
from the order item’s related billing schedule. The invoice line’s TaxCode field is
populated based on the code that the tax engine used for calculation. This object is
available in API version 55.0 and later.
Each product requires a tax policy to determine whether to apply tax. The tax treatments determine how taxable products are taxed. Each tax policy requires at least one tax treatment. We recommend determining the taxation needs for each of your products and creating policies and treatments for each product accordingly. You can then assign your tax policies to the relevant products on your own or through automation.
Supported Calls
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()
Special Access Rules
This object is available when Subscription
Management, B2B Commerce, or D2C Commerce is enabled in your org.
Fields
| Field | Details |
|---|---|
| Description |
|
| IsTaxable |
|
| LastReferencedDate |
|
| LastViewedDate |
|
| Name |
|
| ProductCode |
|
| Status |
|
| TaxCode |
|
| TaxEngineId |
|
| TaxPolicyId |
|