Skip to main content

Calculate tax with tax dates overridden

Zuora

Calculate tax with tax dates overridden

Mapping details

The following mapping table shows how Zuora's data fields are used in Avalara to calculate tax when the default tax dates are overridden.

For example, TaxRequest.DocCode in Avalara is mapped to Invoice.IDin 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 Object Avalara Field Zuora Component Zuora Field

TaxRequest

DocCode  

Invoice

ID or InvoiceNumber.
See this article for information on how the system determines which field to use.
DocDate InvoiceDate
CurrencyCode

Account

Currency
CustomerCode ID
Commit

Constant

TRUE
DocType SalesInvoice
DetailLevel Tax

Addresses

AddressCode

Contact

Id
Country Country
City City
Region TaxRegion
PostalCode PostalCode
Line1 Address1
Line2 Address2

Lines

DestinationCode Contact Id
OriginCode Constant TaxOriginalAddressCode
No

InvoiceItem

Id
ItemCode TaxCode
Description SkuName
Qty Quantity. If the invoice item is a discount invoice item, the quantity is from the parent invoice item
Amount ChargeAmount. if tax mode is inclusive, it is chargeAmount + taxAmount
TaxIncluded TaxMode. Validate if the TaxMode is TaxInclusive or not.
ExemptionNo

Account.TaxExemption

TaxExemptCertificateID
CustomerUsageType TaxExemptEntityUseCode
BusinessIdentificationNo VATId
TaxCode TaxCode

ExternalTaxCode. The Avalara Tax Code configured in Zuora Billing. See this article for more information.

Ref1 n/a n/a
Ref2 n/a n/a

Line.TaxOverride

TaxOverrideType Constant TaxDate
Reason Constant TaxDate Overwrite
TaxDate InvoiceItem TaxDate
TaxAmount n/a n/a