ConnectApi.CalculateTaxRequest
Request to sent through the tax adapter to the external tax engine.
Inputs with a TaxTransactionType of Debit represent a tax
calculation request. Inputs with a TaxTransactionType of
Credit represent a tax cancellation request.
Subclass of ConnectApi.TaxTransactionRequest.
| Property | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
| isCommit | Boolean | Commits the transaction for tax calculation. | Required | 55.0 |
| isHeaderTaxRequested | Boolean | Indicates whether header tax is enabled in the tax engine (true) or not (false). | Optional | 66.0 |
| shouldVoidTax | Boolean |
Indicates whether to void the tax transaction associated with a document that's mentioned as the referenceDocumentCode property value with taxTypeproperty value as Actual and isCommit property value set to true. Keep these considerations in mind when you use this property.
|
Optional | 65.0 |
| taxEngineId | String | ID of the Salesforce tax engine entity used to represent the external tax engine. | Required | 55.0 |
| taxTransactionType | ConnectApi.TaxTransactionType | Type of tax transaction.
Values are:
|
Required | 55.0 |
| taxType | ConnectApi.CalculateTaxType | Type of tax calculation.
Values are:
|
Required | 55.0 |