Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
ConnectApi.CalculateTaxRequest
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 |