Avalara Developer Network Developer avaTax

Legacy REST API - Models

Model Summary
Address

Input property of GetTaxRequest representing addresses needed for tax calculations.

CancelTaxRequest
CancelTaxResponse
CancelTaxUnauthorizedError
Country

Two character ISO country code.

DocCode

While this is an optional field, serious consideration should be given to using it. If no value is sent, AvaTax assigns a GUID value to keep the document unique, which can make reconciliation a challenge.

ErrorResultCode

Classifies severity of message. One of: Success, Warning, Error, Exception

EstimateTaxError
EstimateTaxResult
GetTaxError
GetTaxRequest
GetTaxResult
Line

Input property of the GetTaxRequest describing item lines.

Message
ResultCode

Classifies severity of message. One of: Success, Warning, Error, Exception

TaxAddress

Represents canonical addresses used in tax calculation.

TaxDetail

Tax details by jurisdiction.

TaxLine

Tax calculation details for each item line (returned for detail levels Line and Tax).

TaxOverride

Nested object describing any tax override applied to the document. TaxOverride only needs to be included when there is need to override our tax calculation, most commonly when reflecting product returns. For each document, this may be done at either the document or line level, but not both on the same document.

ValidateResult

Output for address/validate showing a single validated address match or address validation errors.

ValidateResultError