Mapping fields to AvaTax requests

This table describes AvaTax requests and the related mapping data, including the relevant SyteLine field or value.
Request type SyteLine field or value and mapping data
GetTaxRequest Header fields:
  • False > Commit
  • Company Code > CompanyCode
  • Currency Code > CurrencyCode
  • Customer Number > CustomerNumber
  • Ship To Address > DestinationAddress
  • 3 “Tax” > DetailLevel
  • Document Number > DocCode
  • Document Date > DocDate
  • 0 “SalesOrder” > DocType
  • Location Code > LocationCode
  • Ship From Address > OriginAddress
  • Customer PO > PurchaseOrderNo
  • Salesman > SalespersonCode
  • 0 “Automatic” > ServiceMode
  • 0 “None” > TaxOverride.TaxOverrideType

Line fields:

  • Line Amount > Amount
  • Description > Description
  • Ship To Address > DestinationAddress
  • True on Normal Line False on Freight/Misc Charges > Discounted
  • Item/ProductCode > ItemCode
  • Ship From Address > OriginAddress
  • Quantity > Qty
  • Line User Info > Ref1
  • Location Code > Ref2
  • False > TaxIncluded
  • 0 “None” > TaxOverride.TaxOverrideType
PostTaxRequest
  • True > Commit
  • Company Code > CompanyCode
  • Document Number > DocCode
  • Document Date > DocDate
  • 1 “SalesInvoice” > DocType
  • Invoice Total > TotalAmount
  • Total Tax from GetTaxRequest > TotalTax
ValidateRequest: This request is sent directly from the customer/prospect to validate their address information.
  • City > Address.City
  • State > Address.Region
  • Zip Code > Address.PostalCode
  • Country > Address.Country
  • Addr1 > Address.Line1
  • Addr2 > Address.Line2
  • Addr3 > Address.Line3