Set Avalara tax codes for products
Connect AvaTax in Uphance, choose a default tax code and a shipping tax code, and keep your AvaTax tax code list up to date.
In Uphance, you connect your AvaTax account in the Avalara settings, then choose a Default tax code and the tax code AvaTax uses for shipping. The Default tax code dropdown lists AvaTax's active system tax codes, which are fetched only when none are stored yet or when you click Refresh tax codes.
Before you set Avalara tax codes for products
- Avalara needs to be turned on for your organization. It's off by default, and every Avalara settings action is refused until it's on.
Set Avalara tax codes for products
Connect your AvaTax account
Start with your account details. Uphance only treats Avalara as connected once your Account ID, License key and Company Code are all filled in.
- In your Avalara settings, enter your Account ID, License key and Company Code.

- Want to work against AvaTax's sandbox instead of production? Check Do you want to connect to Staging?
- Save your settings, and Uphance first tests the connection to AvaTax, saving nothing unless AvaTax accepts your credentials.
- Click Test connection whenever you want to check your saved credentials, and you'll see right there whether the connection worked, without anything being saved.
Once everything saves, a message confirms your Avalara store was updated. With all three details in place, Uphance treats Avalara as connected.
Choose your tax codes
Next, pick the tax codes AvaTax should use. The Default tax code dropdown lists AvaTax's active system tax codes, and the same form holds your shipping tax code and an Exclude order sources section.
- Check when the tax code list was last refreshed, or whether it hasn't been loaded yet, and click Refresh tax codes to reload it.
- Choose your Default tax code from the dropdown, which you can search and clear.
- Fill in the Avalara Shipping Tax Code field.
- To exclude an order source, add a row in the Exclude order sources section with Add an option.
After a refresh, a message tells you whether it worked and you're back on the Avalara settings page. Each time you open these settings, your stored tax code list loads, and it's only fetched from AvaTax when nothing is stored yet.
Good to know
- Click Refresh tax codes when you want the latest codes from AvaTax, because the list is only fetched when none are stored yet or when you refresh. If a refresh fails, your stored list stays as it was.
- Use an Account ID, License key and Company Code that no other Avalara record uses, because all three must be filled in and each must be unique.
- Leave Do you want to connect to Staging? unchecked unless you want the sandbox, because checking it points Uphance at AvaTax's sandbox instead of production.
- Be sure before you remove a saved excluded order source, because removing a saved row deletes it from your Avalara settings straight away. An unsaved row is simply removed from the form.
- Don't worry if AvaTax can't be reached to verify your company when you save. Your settings are still saved, nothing is wrong with them, and item registration retries automatically.
If something goes wrong
- If you see "Avalara feature is not available.", Avalara isn't turned on for your organization, so no Avalara settings action can go through.
- If saving shows "Authentication failed: Please check your avalara credentials.", AvaTax didn't accept your credentials and nothing was saved.
- If the Test connection button is grayed out, save both your Account ID and License key first, because the button stays disabled until both are saved.
- If you're told the company code didn't match a company on your AvaTax account, your settings were still saved and item registration will retry automatically, so check your company code if tax looks wrong.
- If fetching tax on an order shows "Please connect Avalara app to fetch Tax", fill in your Account ID, License key and Company Code, because all three are needed before tax can be fetched.
Related articles
Common questions
Why won't my Avalara settings save, saying authentication failed?
Saving your Avalara settings first tests the connection to AvaTax. If AvaTax doesn't authenticate your credentials, nothing is saved and an alert asks you to check your Avalara credentials.
Why is the Avalara Test connection button grayed out?
The Avalara Test connection button stays disabled until both your Account ID and License key are saved.
How do I point Avalara at the sandbox instead of production?
The Avalara settings form has a Do you want to connect to Staging? option for the sandbox. With it checked, Uphance talks to AvaTax's sandbox instead of production.
Why is my Avalara Account ID or Company Code rejected as already used?
Your Avalara Account ID, License key and Company Code must all be filled in, and each must be unique across Avalara records.