Welcome to Zuora Product Documentation

Explore our rich library of product information

Calculate tax with tax amount overridden

This section details the mapping of Zuora's data fields to Avalara for tax calculation, with an emphasis on overriding the tax amount calculated by Avalara.

Mapping details

The following mapping table shows how Zuora's data fields are used in Avalara to calculate tax for credit memos and the tax amount calculated by Avalara is overridden.

For example, TaxRequest.DocCode in Avalara is mapped to Invoice.ID in Zuora. The mapping to a Constant Component in Zuora means that the data field in Avalara will always be set to the same value. For example, the value of TaxRequest.Commit in Avalara is always set to TRUE .

Table 1. Avalara to Zuora Field Mapping
Avalara ObjectAvalara FieldAvalara Nested FieldZuora ComponentZuora Field
CreateTransactionDocCodeInvoiceID or InvoiceNumber. See this article for information on how the system determines which field to use.
CreateTransactionDocDateInvoiceInvoiceDate
CreateTransactionCurrencyCodeBilling documentsCurrency
CreateTransactionCustomerCodeAccountID
CreateTransactionCommitConstantTRUE
CreateTransactionDocTypeConstantSalesInvoice
CreateTransactionDetailLevelConstantTax
CreateTransactionshipToCountrySnapshotCountry
CreateTransactionshipToCitySnapshotCity
CreateTransactionshipToRegionSnapshotState
CreateTransactionshipToPostalCodeSnapshotPostalCode
CreateTransactionshipToLine1SnapshotAddress1
CreateTransactionshipToLine2SnapshotAddress2
CreateTransactionshipFromCountrySnapshotCountry
CreateTransactionshipFromCitySnapshotCity
CreateTransactionshipFromRegionSnapshotState
CreateTransactionshipFromPostalCodeSnapshotPostalCode
CreateTransactionshipFromLine1SnapshotAddress1
CreateTransactionshipFromLine2SnapshotAddress2
CreateTransactionAmountChargeChargeAmount. If tax mode is inclusive, it is chargeAmount + taxAmount.
CreateTransactionTaxIncludedChargeTaxMode. Validate if the TaxMode is TaxInclusive or not.
CreateTransactionExemptionNoAccountTaxExemptCertificateID
CreateTransactionCustomerUsageTypeAccountTaxExemptEntityUseCode
CreateTransactionBusinessIdentificationNoAccountVATId
CreateTransactionTaxCodeTaxCodeExternalTaxCode (Avalara tax code configured in Zuora)
CreateTransactionItemCodeTaxCodeExternalTaxCode. The Avalara Tax Code configured in Zuora Billing. See this article for more information.
CreateTransactionRef1n/an/a
CreateTransactionRef2n/an/a
CreateTransactionLine.TaxOverrideTaxOverrideTypen/an/a
CreateTransactionLine.TaxOverrideReasonn/an/a
CreateTransactionLine.TaxOverrideTaxDaten/an/a
CreateTransactionLine.TaxOverrideTaxAmountn/an/a