Fix Avalara tax errors on an order
Check your Avalara Account ID, License key and Company Code, then fetch tax on the sales order again.
In Uphance, you fix Avalara tax errors on an order by filling in your Account ID, License key and Company Code, then fetching tax on the order again. Avalara tax calculation also needs a customer ID on the order's customer, or a company ID on your organization's company for an internal order.
Before you fix Avalara tax errors on an order
- Your organization needs the Avalara setting turned on. It's off by default, and every Avalara settings action is refused until it's on.
Fix Avalara tax errors on an order
Check your Avalara settings
Uphance only treats Avalara as connected once your Account ID, License key and Company Code are all filled in. Saving them tests your connection to AvaTax first, so a save also tells you whether AvaTax accepts them.
- In your Avalara settings, fill in your Account ID, License key and Company Code.
- Working against AvaTax's sandbox rather than production? Check Do you want to connect to Staging?, and Uphance talks to the sandbox endpoint instead of the production one.
- Save your settings, and Uphance tests the connection to AvaTax first, saving nothing if AvaTax doesn't authenticate your credentials.
- Once your Account ID and License key are saved, use Test connection to check them again: an alert tells you whether the connection worked, and nothing is saved.
When the save fully succeeds, an alert confirms your Avalara store was updated. With all three details filled in, Uphance treats Avalara as connected.
Fetch tax on the order again
Avalara also needs a reference from the order's customer before it can calculate tax, so check that before you fetch.
- Go to Order Management > Sales Orders. Open the order and make sure its customer has a customer ID; for an internal order, your organization's company needs a company ID instead.

- Fetch tax on the order again.
If AvaTax turns down the calculation, the order's tax figures stay as they were and the alert shows AvaTax's reason. An incomplete address is caught before AvaTax is asked, and the alert tells you what to fill in.
Good to know
- Use an Account ID, License key and Company Code that no other Avalara record uses, because each must be filled in and unique across Avalara records.
- Add except channels to an Exclude order sources row if you still want Avalara for that source in some channels, because a row with no except channels excludes the source in every channel.
- Take care when removing an excluded order source. An unsaved row just disappears from the form, but removing a saved row deletes it from your Avalara settings straight away.
- Press Refresh tax codes to update the Default tax code list, because AvaTax's active system tax codes are fetched only when none are stored yet or when you press it.
- Don't worry if the save says AvaTax couldn't be reached to verify your company. Your settings were still updated, nothing is wrong with them, and item registration will retry automatically.
If something goes wrong
- If saving shows "Authentication failed: Please check your avalara credentials.", AvaTax didn't accept your credentials and nothing was saved.
- If saving, Test connection or Refresh tax codes is refused with "Avalara feature is not available.", your organization doesn't have the Avalara setting turned on, and it's off by default.
- If fetching tax says "Please connect Avalara app to fetch Tax", your Account ID, License key or Company Code is missing, and all three need to be filled in.
- If Test connection is greyed out, your Account ID and License key aren't both saved yet, and the button stays disabled until they are.
- If the save says the company code did not match a company on this AvaTax account, your settings were still updated and item registration will retry automatically, but check your Company Code if tax looks wrong.
Related articles
Common questions
Why does fetching tax on an order tell me to connect the Avalara app?
Fetching tax on an order through Avalara fails with a message to connect the Avalara app unless your Account ID, License key and Company Code are all filled in.
Why do I see a message that the Avalara feature isn't available when I save tax settings?
Every Avalara settings action, including saving, Test connection and Refresh tax codes, is refused with a message that the feature isn't available when your organization doesn't have the Avalara setting on. That setting is off by default.
Why does saving say my company code didn't match a company on my AvaTax account?
When AvaTax says the company code isn't on that AvaTax account, your Avalara settings are still updated and item registration retries automatically. Check your Company Code if the tax looks wrong.