Tax Area Lookup API Fields

Learn about the fields in the O Series Tax Area Lookup API.

Tax Area Lookup API fields

This table lists the fields included in the request body for O Series Tax Area Lookup API requests.

FieldDetailsDescription
asOfDatestring <date>A date that provides time perspective for a Tax Area Lookup. Tax Area IDs returned for the lookup are based on the jurisdiction boundaries in effect as of this date. Defaults to the current date.
beginDaterequired
string <date> (searchDate)
Begin date for the search.
endDatestring <date> (searchDate)End date for the search.
citystring [ 1 .. 60 ] charactersThe proper name of the city used to determine the Tax Area ID (if none is supplied). Optional (0..1) but recommended for greatest precision if no Tax Area ID is supplied.
coordinatesrequired
object (CoordinatesType)
Coordinates declaration.
countryrequired
string [ 1 .. 60 ] characters
The country associated with the external jurisdiction code. You can use a data extract report to see the valid country values. Refer to Country Names extract in O Series Custom Reports - VRA for information.
country (PostalAddressType)string [ 1 .. 60 ] charactersThe country used to determine the Tax Area ID (if none is supplied). You can use a data extract report to see the valid country values. Refer to Country Names extract in O Series Custom Reports - VRA for information.

Defaults to the value of the Default Country Code For Address setting. The default value for this setting is USA. For details about this setting, refer to Tax Area Lookup address parameters in O Series .
externalJurisdictionCoderequired
string <= 20 characters
string <= 20 characters
A jurisdiction identifier provided by a government authority.
latituderequired
number <double>
A number representing the geographical latitude coordinate of the location.
longituderequired
number <double>
A number representing the geographical longitude coordinate of the location.
lookupIdstring [ 1 .. 40 ] charactersInternal identifier or sequence number for this lookup.
lookupRequestAddressLookupRequestType (object)Object:

- asOfDate
- postalAddress
- returnTimeElapsedDetailsIndicator
lookupRequestCoordinatesLookupRequestType (object)Object:

- asOfDate
- coordinates
lookupRequestTaxAreaIdLookupRequestType (object)Object:

- taxAreaId
- asOfDate
lookupRequestExternalJurisdictionLookupRequestType (object)Object:

- externalJurisdictionCode
- country
- asOfDate
mainDivisionstring [ 1 .. 60 ] charactersThe proper name or the postal abbreviation of the state, province, or territory used to determine the Tax Area ID if none is supplied. Optional (0..1) but recommended for greatest precision if no Tax Area ID is supplied.
postalAddressrequired

object (PostalAddressType)
Postal Address declaration.

Object:

- city
- country
- mainDivision
- postalCode
- streetAddress1
- streetAddress2
- subDivision
postalCodestring [ 1 .. 20 ] charactersThe postal code used to determine the Tax Area ID (if none is supplied). For valid formats, see LookupTaxArea web services . Optional (0..1) but recommended for greatest precision if no Tax Area ID is supplied.
returnTimeElapsedDetailsIndicatorbooleanIndicates whether the response message should contain details of what composed the elapsed time. The default value is false.
streetAddress1string [ 1 .. 100 ] charactersThe first line of the street address.
streetAddress2string [ 1 .. 100 ] charactersThe second line of the street address.
subDivisionstring [ 1 .. 60 ] charactersThe name of the county or province used to determine the Tax Area ID if none is supplied. Optional (0..1) but recommended for greatest precision if no Tax Area ID is supplied.
taxAreaIdrequired
string (taxAreaId)
A Vertex-specific number that identifies a tax area.

When identifying whether a specific tax area has changed, this is the specific tax area for which to check for changes.