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.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see TaxTreatment in the Billing Guide and Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
Description | Description | textarea | 1000 | |||
Id | Tax Treatment ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
IsTaxable | Is Taxable | boolean | ||||
LastModifiedById | Last Modified By ID | reference | 18 | |||
LastModifiedDate | Last Modified Date | datetime | ||||
LastReferencedDate | Last Referenced Date | datetime | ||||
LastViewedDate | Last Viewed Date | datetime | ||||
LegalEntityId | Legal Entity ID | reference | 18 | |||
Name | Tax Treatment Name | string | 255 | |||
ProductCode | Product Code | string | 80 | |||
ProductId | Product ID | reference | 18 | |||
ShouldUseTaxTreatmentItems | Use Tax Treatment Items | boolean | ||||
Status | Status | picklist | 255 | |||
SystemModstamp | System Modstamp | datetime | ||||
TaxCode | Tax Code | string | 80 | |||
TaxEngineId | Tax Engine ID | reference | 18 | |||
TaxPolicyId | Tax Policy ID | reference | 18 |
History for tracked fields of TaxTreatment.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameHistory in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
DataType | Datatype | picklist | 40 | |||
Field | Changed Field | picklist | 255 | |||
Id | Tax Treatment History ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
NewValue | New Value | anyType | 255 | |||
OldValue | Old Value | anyType | 255 | |||
TaxTreatmentId | Tax Treatment ID | reference | 18 |