Address resolution

Resolve an address

Resolve a customer address to its normalized form for sales tax calculation, and compute its taxable jurisdiction(s). The address fields are provided at the top level of the request body. This endpoint uses the same address resolution that tax calculation relies on, so a successful response means the address would process on an invoice. Resolving international addresses to street-level is a premium feature. Please contact hello@anrok.com for more information to enable this on your seller account.

post/v1/seller/address/resolve

Request

  • Base URL: https://api.anrok.com
  • URL: https://api.anrok.com/v1/seller/address/resolve
  • Auth: HTTP bearer

Request body

countrystring nullable

The country's full name or 2-letter ISO code

line1string nullable

The "delivery line" of the address

citystring nullable

City or town name

regionstring nullable

Other principal subdivision (i.e. province, state, county)

postalCodestring nullable

Postal code

Example request

{
  "country": "ENGLAND",
  "line1": "2045 ROYAL ROAD",
  "city": "LONDON",
  "postalCode": "WIP 6HQ"
}

Response

OK

Example response

{
  "resolvedAddress": {
    "country": "ENGLAND",
    "line1": "2045 ROYAL ROAD",
    "city": "LONDON",
    "postalCode": "WIP 6HQ"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.