Connect Magento (Adobe Commerce) with Avalara to automate real-time sales tax calculation, validate customer addresses, and improve compliance across states, channels, and order volumes.
Most Magento (Adobe Commerce) stores integrate with Avalara through Avalara's own AvaTax extension from the Adobe Commerce Marketplace, which calls the AvaTax REST v2 API as soon as a shopper enters a postal code and records invoices and credit memos in AvaTax through a cron queue. Exemption certificates and customs duty and import tax (Cross-Border) run through the same extension once Avalara enables them on your account. Headless storefronts and ERP-led setups can call the AvaTax REST API directly instead.
• Address, customer, and cart data is sent from Magento (Adobe Commerce) to Avalara AvaTax at quote and checkout for transactional tax calculation, with the response written back to totals and line items.
• Tax codes and product taxability are mapped from Magento product attributes to Avalara item codes or tax codes, with defaults applied when mappings are missing.
• Order placement triggers document creation in Avalara (sales invoice or sales order, depending on workflow), and the Avalara document ID is stored on the Magento order for traceability.
• Invoice, shipment, and credit memo events are routed to Avalara to commit, adjust, or void documents, keeping Magento and Avalara in sync across post-purchase changes.
• Customer exemption data and certificate references are associated to the Magento customer or account record and passed in tax requests when available.
• API responses, failures, and retries are logged, and fallbacks can apply a predefined tax behavior when Avalara is unreachable, based on the store’s configuration.
.avif)
| Option | Type | Best for | Notes |
|---|---|---|---|
| Avalara AvaTax extension for Adobe Commerce (Avalara for Adobe Commerce) | Connector | Magento Open Source and Adobe Commerce stores that want Avalara's own module for checkout tax, address validation, and invoice and credit memo recording | Since release 2.6.1 the extension ships through the Adobe Commerce Marketplace and the GitHub repository is archived; support goes through Avalara. It needs an active AvaTax account with a company and nexuses set up, and a working Magento cron. |
| Avalara exemption certificate management (CertCapture) through the extension | Connector | B2B and wholesale stores with tax-exempt buyers | Buyers can add and review certificates in their account or during checkout, and admins can invite customers and check certificate status. Needs CertCapture on the Avalara account; single-use certificates are not supported by default. Once a certificate is approved, tax is removed for orders shipping to that region. |
| AvaTax Cross-Border (customs duty and import tax) | Connector | Stores shipping internationally that want duty and import tax collected at checkout | Avalara has to enable the entitlement on your account, products need HS (tariff) code classification, catalog prices must be entered exclusive of tax, and shipping methods are mapped in the extension. |
| Direct integration with the AvaTax REST v2 API | Custom API | Headless storefronts, custom checkouts, or setups where an ERP already owns the AvaTax documents | You build the tax estimate calls, document recording, returns, voids, retries, and the fallback for when AvaTax does not answer yourself. The Magento extension uses the same REST v2 API. |
| Data | Direction | System of record | Timing |
|---|---|---|---|
| Cart and checkout tax estimate (one line per product, shipping as its own line, ship-to address) | Magento to AvaTax, tax amounts back to Magento | AvaTax calculates; Magento stores the result on the quote and order | Real time, once a postal code is entered in the cart estimate or shipping address |
| Address validation | Magento to AvaTax, suggested address back to checkout | Magento customer and order address | When the shopper moves from Shipping to Review and Payment; not for virtual orders |
| Invoices (Sales Invoice documents) | Magento to AvaTax | AvaTax for tax reporting and filing | Queued on invoice creation, sent by cron every 5 minutes |
| Credit memos (Return Invoice documents) | Magento to AvaTax | AvaTax for tax reporting and filing | Queued on credit memo creation, sent by cron every 5 minutes |
| Product taxability (product tax class mapped to an AvaTax tax code) | Magento to AvaTax | Magento product tax classes | Sent with every tax request |
| Customer exemption (customer group tax class mapped to a Customer Usage Type) | Magento to AvaTax | Magento customer groups; certificates in Avalara | Sent with every tax request |
| Order and document references (invoice or credit memo number, Magento order number) | Magento to AvaTax | Magento | With each recorded document, in the Purchase Order No and Reference Code fields |
On a Magento store we support, AvaTax rejected addresses where the ZIP did not match the state, where the state went out as a full name instead of a two-letter code, or where the ZIP was truncated, and orders failed even though the fallback to native Adobe Commerce tax was switched on. The fix was to normalize the region code, validate ZIP and state before the tax call, call AvaTax only once the address is complete, and check that the fallback works at the right configuration scope and is not overridden by checkout code.
On one store the tax estimate on the shipping step was calculated from the ZIP alone. This showed tax on the shipping step for a tax-exempt street address inside a taxable ZIP, which then disappeared at payment. Adding the street to the estimate request fixed the display.
Each cart estimate and each tax recalculation during checkout is an AvaTax API call, and Avalara's extension documentation points to Avalara's terms on the ratio of API calls to recorded documents. On one store a synthetic checkout monitor that added a product, entered a test address, and picked a shipping method every 10 to 15 minutes raised calls from about 30 to 130 a day to 380 to 450 a day without placing a single order.
If products carry no AvaTax tax codes, AvaTax cannot apply rules that depend on the product type, such as a state sales tax holiday for certain items. We traced a $0 tax order for a US furniture retailer this way: the store sent every product as general goods, and the $0 came from the ship-to address, not the products.
Avalara's documentation warns that AvaTax accepts each invoice and credit memo ID only once per store, so staging copies of production can collide with real documents. Increment the numbers or use separate test stores or a sandbox company in AvaTax for every non-production environment.
On a Hyvä build we adapted the extension so tax showed correctly in the Hyvä cart and Hyvä Checkout. Avalara's own documentation says that once checkout is customized, confirming address validation still works is your responsibility.
We configure the Avalara connector, map nexus and tax codes, and validate calculations in checkout, admin order creation, invoices, and credit memos.
Yes, we set up customer and order-level exemption handling, so Avalara receives the right context and Magento stores the exemption outcome for auditing.
Yes, we enable Avalara address validation and tune the UX so customers fix issues before placing an order, lowering failed shipments and support tickets.
Magento sends cart, customer, address, item, discount, and shipping data for tax, then stores the returned tax details on the order for downstream reporting.
Yes – we’ve delivered 2,100+ eCommerce projects since 2003 and build Magento (Adobe Commerce) integrations that keep tax consistent across store views and operational flows.
Yes. The extension does not work without a valid AvaTax account that has a company and its nexuses set up. You get the account and its credentials from Avalara.
Tax is calculated at cart and checkout, but nothing is recorded in AvaTax when the order is placed. Invoices and credit memos go into the AvaTax queue and a cron job sends them every 5 minutes as Sales Invoice and Return Invoice documents.
No. Avalara's documentation says not to set up Magento tax rules when AvaTax calculates tax; product tax classes are only used to map products to AvaTax tax codes. Magento's own tax report will then show no tax collected by rules, and tax reports move to AvaTax.
Yes, with AvaTax Global Calculation. Magento's native tax calculation shows VAT on catalog pages, and AvaTax takes over once the shopper enters a postal code in the cart estimate or checkout.
The tax AvaTax returned when the invoice was recorded differs from the tax Magento copied from the order. It usually happens when one order has several invoices or credit memos, or when rates changed between checkout and invoicing, and the extension adds a comment to the order with both amounts.
Avalara's extension documentation counts 3 calls for a simple guest checkout and 2 for a logged-in customer with a saved address. Cart estimates, admin orders, monitors, and bots add more, and address validation sends its own requests.
Last updated by the scandiweb integration team.