I have been looking at the AvaTax API documentation https://developer.avalara.com/api-reference/avatax/rest/v2/ and would like to know the best way to not only validate an address but also uncover the taxing authority data? What is the recommended approach?
How do I validate an address using Avalara's REST api?
560 views Asked by Efnarfmarble At
1
You can retrieve geolocation and jurisdiction/tax authority information for the specified address.
If the address provided can be resolved, it will resolve against Avalara's address-validation system.
See: https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Addresses/ResolveAddress/
There are two methods to obtain a result:
GET https://sandbox-rest.avatax.com/api/v2/addresses/resolve?line1=255 S King St %231800&city= Seattle®ion=wa&postalCode=98104&country=US&textCase=Mixed
or
POST https://sandbox-rest.avatax.com/api/v2/addresses/resolve
Results for the example used above will appear as follows: