# Resolve an address during tax calculation

Source: https://developer.avalara.com/address-validation/zjz7124281819176/

# Resolve an address during tax calculation

Both the [ResolveAddress](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Addresses/ResolveAddress/) API and the [CreateTransaction](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Transactions/CreateTransaction/) API use the same code.

When you call the CreateTransaction API, the AvaTax engine attempts to resolve the address using the logic described in [Validate and resolve addresses for sales tax calculation](https://developer.avalara.com/address-validation/avatax/validate-and-resolve-addresses/).

Depending on your UI, you may want to call the ResolveAddress API first to help your customer fill out partial data. You may also choose to wait and allow the CreateTransaction API call to perform final address validation.

The address validation logic follows this flowchart.

![Resolve an address during tax calculation](https://knowledge-be.avalara.com/bundle/uzs9782131567058_uzs9782131567058/page/fks0939864586178.image?_LANG=enus)

Even if the address can’t be fully resolved, AvaTax will use the best available geocoding information for tax calculation purposes.

While a validated street address is always better and more accurate, you can determine the tax jurisdictions provided by a city and state or a ZIP Code.