Newer Version Available

This content describes an older version of this product. View Latest

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
taxEngineId String ID of the Salesforce tax engine entity used to represent the external tax engine. Required 55.0
taxTransactionType ConnectApi.​TaxTransaction​Type Type of tax transaction. Values are:
  • Credit—Transaction is a credit transaction.
  • Debit—Transaction is a debit transaction.
Required 55.0
taxType ConnectApi.​CalculateTax​Type Type of tax calculation. Values are:
  • Actual—Calculated tax represents the final taxed amount for the transaction.
  • Estimated—Calculated tax represents only an estimated value before the transaction is finalized.
Required 55.0