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.CalculateTaxResponse

Shows the results of a tax calculation request.

Subclass of ConnectApi.TaxTransactionResponse.

Property Name Type Description Available Version
adapterError ConnectApi.​ErrorResponse Adapter error. 55.0
status ConnectApi.​TaxTransaction​Status Status of a tax transaction. Values are:
  • Committed—Tax has been committed to the transaction.
  • Uncommitted—Tax hasn’t been committed to the transaction.
55.0
taxEngineLogs List<ConnectApi.​TaxEngine​LogResponse> Tax engine logs. 55.0
taxTransactionType ConnectApi.​TaxTransaction​Type Type of tax transaction. Values are:
  • Credit—Transaction is a credit transaction.
  • Debit—Transaction is a debit transaction.
  • Void—Reserved for internal use in case of input. In case of output, this value specifies that the tax engine has voided the document that's mentioned as the referenceDocumentCode property value.
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.
55.0