Address

Input property of GetTaxRequest representing addresses needed for tax calculations.

Parameters
AddressCodeOptional
string

Reference code uniquely identifying this address instance.

Line1Required
string

Max Length50

Address line 1, required if Latitude and Longitude are not provided or PostalCode is not provided.

Line2Optional
string

Max Length50

Address line 2

Line3Optional
string

Max Length50

Address line 3

CityRequired
string

Max Length50

City name, required unless PostalCode is specified and/or latitude and longitude are provided.

RegionRequired
string

Max Length3

State, province, or region name. Required unless City is specified and/or latitude and longitude are provided.

CountryOptional
string

Max Length2

Country code. If not provided, will default to 'US'.

PostalCodeRequired
string

Max Length11

Postal or ZIP code, Required unless city and region are specified, and/or latitude and longitude are provided.

LatitudeOptional
number

Geographic latitude. If latitude is defined, it is expected that the longitude field will also be provided. Failure to do so will result in operation error. Calculation by latitude/longitude is available for the United States only. If a latitude/longitude value outside of the US is provided, the service will return an error.

LongitudeOptional
number

Geographic longitude. If longitude is defined, it is expected that the latitude field will also be provided. Fail to do so will result in operation error. Calculation by latitude/longitude is available for the United States only. If a latitude/longitude value outside of the US is provided, the service will return an error.

TaxRegionIdOptional
number

AvaTax tax region identifier. If a non-zero value is entered into TaxRegionId, other fields will be ignored. Not recommended.

card-img
View Example
card-img