Avalara
Avalara AvaTax is a sales tax engine, and the Avalara connector lets TAO check addresses, work out the tax on an order, look up your tax setup, and record or change tax documents with a person's approval.
What you can do
Illustrative examples of what you might ask TAO:
- "Is this shipping address valid, and which tax authorities cover it?"
- "How much sales tax do we charge on this order?"
- "Show me the tax transactions from last month that are still uncommitted."
- "Where do we have tax nexus?"
- "Commit the tax transaction INV-1042."
Nexus means a place where your business must collect tax, such as a state where you have sales or staff. Committing a tax document means marking it as final, so it counts toward your tax filings.
Before you connect
- An Avalara AvaTax account. You need your account ID and a licence key. The licence key is like a password that lets a program use your account.
- Know which environment you use. Avalara has two separate worlds. Sandbox is for testing. Production is for real filings. They are separate accounts, and their keys do not work in each other. A sandbox key sent to production, or the other way round, fails.
- Static credentials. Avalara does not use a sign-in screen. You paste your account ID and licence key. They do not expire on their own, so change them in TAO if you reset the key in Avalara.
- Account setup in Avalara. A company must be activated in Avalara and have nexus declared before tax results mean anything. See the zero-tax warning below.
The product code does not list any other permission or scope for this connector.
Connect it
Open My Connectors
Go to Settings > Connectors. The page is called My Connectors.
Find the Avalara card
Look for Avalara AvaTax. If it is missing, an admin has not switched it on yet. It has an Add button.
Choose the Environment
Pick sandbox or production. This is required. TAO does not guess. The window warns that the two are separate accounts with keys that do not mix.
Paste the account ID and licence key
In the secret box, type your account ID and licence key joined by a colon, like
1100012345:your-licence-key. The box is labelled Account ID and licence key (accountId:licenseKey). Without the colon, Avalara answers with a vague "unauthorized" error.Save
Optionally add a Label. Click Save. A red message appears in the window if something is wrong.
Tools
Reads run straight away. Writes are queued and wait for a person to approve them. The last three writes cannot be undone and always need a person.
Reads
| Tool name | What it does | Read or Write |
|---|---|---|
avalara_resolve_address | Checks and tidies a postal address and lists the tax authorities that cover it. | Read |
avalara_list_companies | Lists the companies on the account, with their IDs, codes and whether each is active. | Read |
avalara_get_transaction | Gets one tax transaction: totals, tax by jurisdiction, status and customer code. | Read |
avalara_list_transactions | Lists a company's tax transactions, newest first. Can filter by status, date or customer. | Read |
avalara_list_nexus | Lists where a company has declared tax nexus. | Read |
avalara_list_tax_codes | Searches Avalara's catalogue of tax codes, which say what kind of item a line is. | Read |
Writes
| Tool name | What it does | Read or Write |
|---|---|---|
avalara_create_transaction | Calculates tax on an order or invoice. By default it saves a sales invoice. A sales order type gives a throwaway quote. It does not commit. | Write (needs approval) |
avalara_commit_transaction | Commits a transaction so it counts toward tax filing. | Write (needs approval) |
avalara_adjust_transaction | Replaces a transaction with recalculated data. Needs the full new document and a reason. Avalara keeps the old version. | Write (needs approval) |
avalara_initialize_company | Creates a company with default locations and a tax profile. Needs legal name, address and a contact. | Write (needs approval) |
avalara_create_nexus | Declares tax nexus in a state or province. | Write (needs approval) |
avalara_void_transaction | Voids a transaction. Avalara cannot un-void it. | Write (needs approval, irreversible) |
avalara_uncommit_transaction | Takes a committed transaction back out of the reportable set. Avalara refuses once the document is filed. | Write (needs approval, irreversible) |
avalara_delete_nexus | Removes a nexus declaration. Later calculations for that place return zero tax. | Write (needs approval, irreversible) |
Total: 14 tools, 6 reads and 8 writes.
Limits and good to know
- Confirm by customer or jurisdiction name. Voiding or uncommitting a transaction needs the customer code from the transaction. Deleting nexus needs the exact jurisdiction name. These are checked when the request is queued and again when it is approved. A near match is refused. Voiding an already voided transaction is reported as nothing to do.
- Look before you change. TAO is told to read a transaction with
avalara_get_transactionbefore committing, adjusting, voiding or uncommitting it. - Address first. Tax depends on the delivery address. Resolve an address a person typed before calculating.
- Saved invoice by default. A calculation defaults to a saved sales invoice. Use the sales order type only for a quote.
- A 30-day window. When a transaction search has no date filter, Avalara covers only the last 30 days. The result says so.
- New companies need follow-up. A new company must still be activated, and nexus declared, before results mean anything.
- No automatic retries on writes. If Avalara does not answer clearly, TAO reports that the outcome is unknown. Avalara has no duplicate guard on creating transactions.
- Fixed lists of values. Document types, adjustment reasons, void reasons and local nexus types are checked against Avalara's allowed values before anything is queued.
- Not yet proven live. The product notes say there were no Avalara credentials on the platform when this was built. Everything was checked against Avalara's published API description and simulated replies. The catalog entry is also seeded switched off, so an admin turns it on per environment.