How AvaTax Calculates Tax in Maxio
Applies to: Advanced Billing
Last updated on Oct 23, 2026
After setup is complete, Advanced Billing uses AvaTax in the background to calculate sales tax for eligible taxable charges. This article explains what Advanced Billing sends to Avalara and how tax appears in Advanced Billing.
Reminder: AvaTax calculation depends on a complete tax origin address, a usable customer destination address, and a taxable Plan or Product with a Tax Type assigned.
How calculation works
Advanced Billing always requests a non-committing tax calculation from AvaTax, whether the charge is being previewed or actually billed. Separately, if Post documents to Avalara is enabled, a second step posts and commits the resulting document to Avalara. Calculating tax and posting a document to Avalara are two distinct actions, not one.
What triggers a calculation
A calculation call to AvaTax happens on:
- Subscription creation (signup).
- Subscription or renewal preview, and component allocation preview.
- Component allocation (a metered or quantity change actually applied).
- Invoice generation and issuance.
- Ad-hoc charge creation, and recalculating an open invoice's line items.
- Arrears and statement billing charge generation.
- Surcharge calculation.
Editing a taxable Plan or Product doesn't call Avalara directly; it only changes whether the next charge, invoice, or preview is treated as taxable.
Not every one of these calls actually reaches Avalara. A line item is skipped if the customer is tax-exempt, the charge amount is zero, or the destination address is empty.
Preview and invoice behavior
- Previews: the ad-hoc line-item tax-preview widget and proforma-invoice previews always call AvaTax live. Subscription and renewal cost previews may show a cached or unset tax amount instead of a live calculation, depending on your account configuration.
- Invoice generation: when an invoice is finalized, Advanced Billing requests the same non-committing tax calculation and records the resulting tax line items on the invoice.
- Posting to Avalara: with Post documents to Avalara enabled, classic invoicing posts on specific billing events (successful payment, refund, statement settlement, and component allocation changes); Relationship Invoicing posts on invoice issue, payment, or void. See Understand How Maxio Billing Activity Syncs to AvaTax for the full mapping.
- Errors: an authentication or account-level error with your Avalara connection quietly stops further tax calculation and document posting until you reconnect your account, with no error banner shown in Advanced Billing. A missing or invalid customer address is treated as an expected condition, not an error, and simply results in no tax being calculated for that line. Connection timeouts are retried once, then logged for investigation.
- Commit Sales Tax: on a Relationship Invoicing site, the Commit Sales Tax action on an open invoice recalculates the invoice's tax with AvaTax. Unlike every other calculation, it doesn't treat a failed calculation as zero tax. If Avalara returns an error for the invoice's address, or the invoice has no address, the commit fails with "Sales tax could not be committed for this invoice. Please try again or contact support." The invoice's tax, total, and history stay as they were, and Advanced Billing doesn't post an update to Avalara. When Avalara calculates zero tax for a valid address, the commit succeeds and clears the tax.
Tax display in Advanced Billing
When AvaTax returns a tax amount, Advanced Billing creates a tax charge on the invoice. You can review synced tax activity, including transaction ID, tax rate, amount, currency, and jurisdiction, on the View Tax History page under Taxes, and export it as a CSV.
Advanced Billing shows the rates AvaTax returns in two ways:
- Each jurisdiction's own rate: the per-jurisdiction tax breakouts and the View Tax History page show the rate each state, county, city, or special jurisdiction applied.
- One rate for the charge: the tax line on an invoice or proforma invoice (for example,
TN Tax) and the description of the tax charge (for example,TN Tax (9.75%)) show a single rate.
For a single line item, that single rate is usually the sum of the jurisdiction rates. When a jurisdiction taxes only part of the line, the rate is the line's effective rate instead: the tax charged on the line divided by its taxable amount. For example, Tennessee's single-article rule applies the local rate only to the first $1,600 of a single item, and an extra state tier only to the amount between $1,600 and $3,200. On a $1,956 item with 7% state tax on the full amount, 2.75% local tax on $1,600, and the 2.75% state tier on $356, the tax line shows 9.75%, not the 12.5% sum of the three rates.
When the taxed lines on one invoice have different rates, the tax charge description shows their blended rate: the total tax divided by the combined taxable amount of the lines AvaTax taxed. The tax line on the invoice shows the total tax divided by the invoice's taxable amount, so the two rates can differ when AvaTax doesn't tax every line. In every case the tax amounts are the ones AvaTax calculated; only the displayed rate is derived.
Still need help?
Reach out and our support team will take it from here.
