What are the prerequisites for address validation in Avalara integration?

Modified on: Tue, 13 Sep, 2022 at 1:14 PM


What are the prerequisites for address validation in Avalara integration?

Avalara addresses validation prerequisites

Why my customer is not charged for tax using Avalara configuration?


Your Organization address should be updated from Settings > Configure Chargebee > Business Profile. As well as the Customer's shipping address or billing address has to be collected via hosted pages in Chargebee by enabling it in Fields from Settings > Configure Chargebee > Checkout & Portal. Also, Avalara's address validation in Chargebee has to be enabled for taxation purposes.



1. Organization Address: Avalara requires your business' address to calculate tax for an invoice. The Organization Address you provide in your Chargebee site will be used by Avalara for this purpose, and will also be stored as the Origin Address in Avalara. In order to use the Avalara integration, the Organization Address in Chargebee should have at least the Country, State, and Postal Code filled.

The Organization Address can be configured for your site under Settings > Configure Chargebee > Business Profile.

Here's a checklist you could use to integrate Avalara with your Chargebee site:

  1. Ensure that your site's Organization address is filled out accurately in both Avalara and Chargebee.

  2. If you're using Hosted Pages, ensure that the shipping/billing address field has been enabled and the Zip Code, Country, and State fields are made mandatory.

  3. If you're an API user, ensure that the address is passed in the estimated API only if you want the tax to be calculated. If the address is present, you will be charged for the tax estimate lookup.

2. Address for Tax Determination: Chargebee will use your customer's shipping address to calculate tax. If the shipping address is unavailable, then the billing address would be used for the same.

Note:  If you're using Hosted Pages, ensure that:
1. The Shipping/Billing Address field has been enabled. This can be done under Settings > Configure Chargebee > Checkout & Portal > Fields.
2. The Zip Code, Country, and State fields are made mandatory in the hosted pages.


Under Shipping Address Validation you can,

  • Choose to turn on Avalara's address validation support to validate your customers' shipping addresses.

  • Allow customers to sign-up with partially valid addresses, and Chargebee will mark their shipping addresses as partially valid.
    Once you are done, click Proceed

After Configuration

Validating Addresses for Existing Customers

For customers who have signed up before enabling Avalara, Chargebee will cancel their subscriptions during renewal if the tax cannot be determined. To identify subscriptions that are at risk of getting cancelled, Chargebee provides a validation tool. The subscriptions which are on the verge of cancellation can be determined using this tool and you can view the Invalid address details.

Under Validate Existing Addresses, choose your respective taxable regions for which you want to run validation, and click Run Check.

During the first-ever check that is run after the integration is configured, the tool will validate all the existing Subscriptions' taxable addresses. If the shipping address is present, then it will be used for the validation. If the shipping address is not present, then the billing address will be used instead. Subsequent checks for address validation will check only the addresses that are added after prior validation and not all the addresses. You can look for any possible address errors and have them fixed.

In order to validate the address, Chargebee will make a tax estimate call to check if the address is taxable. If the taxable address happens to be the Shipping Address and if Avalara's Shipping Address Validation is enabled, an additional check will be made to validate the complete address.

Avalara Address Validation

You can use Avalara's Shipping Address Validation (for example Street Address) for a more accurate tax calculation. This is especially useful if your business involves delivering physical goods. A valid street address would mean lesser goods returning to you. The Shipping Address will be validated for every "Add/Update Shipping Address" operation.

When this option is enabled, the customer's shipping address is checked, if the address is invalid, an error is generated. The customer will then have to edit the address before completing the sign-up process.

Allow Customer to sign-up with/update Partially Valid Address

If the address is incomplete but Avalara is still able to return the tax rate, then this address is considered a partially valid address.

The "Allow Customer to sign-up with/update Partially Valid Address" option has been provided to ensure that your sign-up is not affected due to invalid street addresses. If this option is enabled, Chargebee will allow partially valid addresses during checkout. These will be marked as ‘partially valid' in your Chargebee site. You can then filter the addresses from the web interface, and contact the customers to receive the correct address details.

1. The address validation check for existing customers has to be done before going live with Avalara.
2. Once an address is validated and its validation status has been set, the address will be ignored during subsequent checks.
3. If you're collecting the Billing Address from your customer, the billing address will be marked as partially valid/invalid.
4. The addresses for sign-ups that occur after validation and before enabling tax might get through without validation/might surpass the validation check.

Validation Status

The possible address validation statuses are:

  • Not Validated: No validation check has been done. By default, all addresses will be marked as not validated.

  • Valid: Avalara address validation is successful.

  • Partially Valid: Address validation was not successful but essential fields for tax calculation are present. The error message Avalara address validation has failed will be displayed.

For more information, refer to this link.

Related Articles

Enabling Avalara as your Mode of Tax Calculation for EU region
Avalara error: Unable to calculate the tax rate as the shipping/billing address is either invalid or incomplete

Avalara sync error: Company not found

Subscription cancelled due to Tax calculation failure reason

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.