Welcome to Zuora Product Documentation

Explore our rich library of product information

Calculate tax for credit

This section details the mapping of Zuora's data fields to Avalara for calculating tax when issuing a credit.

Mapping details

The following mapping table shows how Zuora's data fields are used in Avalara to calculate tax when you issue a credit.

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 .

Avalara Object

Avalara Field

Avalara Nested Field

Zuora Component

Zuora Field

CreateTransactionDocCodeInvoiceID or InvoiceNumber.
DocDateInvoiceDate
CurrencyCodeBilling documents, including invoices, credit memos, and debit memosCurrency
CustomerCodeAccountID
CommitConstantTrue
DocTypeSalesInvoice
DetailLevelTax

shipTo

Snapshot

CountryCountry
CityCity
RegionState
PostalCodePostalCode
Line1Address1
Line2Address2

shipFrom

Snapshot

CountryCountry
CityCity
RegionRegion
PostalCodePostalCode
Line1Address1
Line2Address2
AmountChargeAmount. If tax mode is inclusive, it is chargeAmount + taxAmount.
TaxIncludedTaxMode. Validate if the TaxMode is TaxInclusive or not.
ExemptionNo

Account.TaxExemption

TaxExemptCertificateID
CustomerUsageTypeTaxExemptEntityUseCode
BusinessIdentificationNoVATId
TaxCodeTaxCode.ExternalTaxCodeExternalTaxCode. The Avalara Tax Code configured in Zuora Billing. See this article for more information.
itemCodeTaxCode
Ref1InvoiceInvoiceNumber
Ref2InvoiceCustomerPONumber
Line.TaxOverrideTaxOverrideTypen/an/a

Reason

  • TaxDate Overwrite if TaxOverrideType = Date
  • Credit if overriding TaxAmount or for credits
n/an/a

TaxDate

Applies when TaxOverrideType = Date

n/an/a

TaxAmount

Applies when TaxOverrideType = TaxAmount or for credits

n/an/a