TaxEngine
Represents information about an instance of a tax engine provider as well as the merchant credentials for that specific instance. This object is available in API version 62.0 and later.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()
You need the Tax Admin permission set to access this object.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The API name of the custom metadata type that defines field mappings for tax callout requests and responses. The custom metadata type name is referenced by the tax engine to identify the metadata configuration to use. This field is available in API version 68.0 and later.
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ID of the decision table used by the revenue standard tax engine to calculate taxes. If not specified, the standard tax decision table is used by default. This field is available in API version 68.0 and later.
This field is a relationship field.
- Relationship Name: DecisionTable
- Refers To: DecisionTable
- Type: textarea
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The description of an instance of the tax engine provider and merchant credential.
- Type: string
- Properties: Create, Filter, Group, idLookup, Nillable, Sort, Update
- Description: Information about the external platform used for the tax engine.
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The timestamp when the current user last accessed a tax engine record indirectly, for example, through a list view or related record.
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The timestamp when the current user last viewed a tax engine record. If this value is null, it’s possible that the user only accessed the tax engine record or a related list view (
LastReferencedDate), but not viewed the tax engine record itself.
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Required. The merchant credential setup object in Salesforce. The Tax Calculation API sends the merchant credential’s information to the external tax engine that’s used for tax calculation.
This field is a relationship field.
- Relationship Name: MerchantCredential
- Refers To: NamedCredential
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Required. The seller code of the transaction for which the tax engine integration log was captured.
- Type: picklist
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Required. Indicates whether taxes are captured at the header level (
true) or not (false).
The default value is false. Available in API version 66.0 and later.
- Type: picklist
- Properties: Create, Filter, Group, Restricted picklist, Sort, Update
- Description: Required. The status of the tax engine record.
Valid values are:
ActiveInactive
- Type: address
- Properties: Filter
- Description: Required. The compound form of the tax engine address. See Address Compound Fields for details on compound address fields.
This field is a read-only field.
- Type: string
- Properties: Create, Filter, Group, idLookup, Sort, Update
- Description: Required. The name of the tax engine record.
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Required. The tax engine provider that’s related to the tax engine record.
This field is a relationship field.
- Relationship Name: TaxEngineProvider
- Refers To: TaxEngineProvider
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The unique identifier of the external tax provider’s account. Available in API version 63.0 and later.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: The type of the tax engine that’s used to calculate tax.
Valid values are CommerceTaxExtension, RevenueCloudTaxExtension, StandardTaxEngine, RevenueStandardTaxEngine—Available in API version 66.0 and later, or StripeNative. Available in API versions 63.0 and later.