# Address validation implementation

Source: https://developer.avalara.com/avatax-dm-combined-erp/common-setup/design-the-user-experience/sales-and-use/address-validation/

# Address validation implementation

**Element type: Required**

**Endpoints used:** [ResolveAddressPost](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Addresses/ResolveAddressPost/) or some other third-party validator

A method to validate an address must be included in the UI wherever addresses are entered. You can use the Avalara Address Validation service or some other third-party validator. If you plan to use the Avalara Address Validation service, then use the [ResolveAddressPost API](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Addresses/ResolveAddressPost/).

Additional certification requirements are called out in the Address Validation Milestones, for any partners who want to achieve the [Address Validation badge](https://developer.avalara.com/certification/avatax/address-validation-badge/).

**Advice:**

-   Avalara's address validation service does not currently provide auto-complete or suggestions when users input an address.
-   Avalara's address validation service is only available for US and Canadian addresses. If you use the Avalara address validation service, we recommend that you disable address validation in your UI if a user inputs an address outside of the US or Canada.
-   A validated address is going to get you the best tax result; an unvalidated valid address is still likely to get you a tax result, but it may not be as accurate as the validated result.

The following example shows how to call the [ResolveAddressPost API](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Addresses/ResolveAddressPost/) in cURL.

```
curl    -X POST    -H 'Accept: application/json'    -H 'Authorization: Basic ${btoa(`:`)}'    -H 'Content-Type: application/json'    --data '{      "line1": "2000 Main Street",      "textCase": "Upper",      "city": "Irvine",      "region": "CA",      "country": "US",      "postalCode": "92614"    }'    'https://sandbox-rest.avatax.com/api/v2/addresses/resolve'
```

[Previous](/avatax-dm-combined-erp/common-setup/design-the-user-experience/sales-and-use/disable-document-recording)

[Next](/avatax-dm-combined-erp/common-setup/design-the-user-experience/sales-and-use/display-prices-with-tax)