OdooWiki OCA HUB

Avalara Avatax Connector for Sales Orders

account_avatax_sale folder_open OCA/account-fiscal-rule open_in_new
Accounting License: AGPL-3

This module is a component of the Avatax Integration with odoo app. Please refer to the corresponding documentation.

auto_awesome What this module does

AI-generated from the code · Odoo 13.0

Adds Avalara AvaTax tax calculation to sales orders, so taxes are computed automatically from the Avatax service when a quotation is confirmed. It also manages customer tax exemption numbers and whether tax is based on the shipping address.

This module connects sales orders to the Avalara AvaTax tax service. On a sales order you get new fields: an AvaTax amount, an exemption number and exemption code, a location code, and a checkbox to decide whether tax is based on the shipping address. The tax address is filled automatically from the shipping address or the customer, depending on that checkbox.

A "Compute Taxes" button appears on the sales order form (hidden once the order is done or cancelled). When you confirm a quotation, the module calls AvaTax to calculate taxes, writes the resulting tax on each order line, and updates the order's tax and total amounts. If address validation is required in the Avatax settings, the order is blocked until the customer or shipping address is validated.

Exemption numbers and codes are taken automatically from the invoicing partner's addresses, matching the delivery country and state. Accountants can manually edit these fields. When you change quantities, prices, or discounts, the previously computed AvaTax amount is reset so the standard Odoo tax is shown until taxes are recomputed.

On the customer form, a new "Exemption Applies Country Wide" checkbox is available when the partner is tax exempt. Turning it on shows a warning about tax compliance risk. The module also carries the exemption and tax address information over to the invoice created from the sales order.

Depends on

Models and fields (4)
  • sale.order · extends an existing modeltax_amount (AvaTax), location_code (Location Code), exemption_code (Exemption Number), tax_address_id, exemption_code_id, tax_on_shipping_address (Tax based on shipping address)
  • res.partner · extends an existing modelproperty_exemption_country_wide (Exemption Applies Country Wide)
  • account.move · extends an existing model
  • sale.order.line · extends an existing modeltax_amt (AvaTax)

Text generated by AI (DeepSeek) from reading the Odoo 13.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/account-fiscal-rule.

terminal Installation and usage

OCA documentation · Odoo 13.0

The AvaTax module is integrated into Sales Orders and allows computation of taxes. Sales order transactions do not appear in the in the AvaTax interface.

The information placed in the sales order will automatically pass to the invoice on the Avalara server and can be viewed in the AvaTax control panel.

Discounts are handled when they are enabled in Odoo's settings. They will be reported as a net deduction on the line item cost.

Create New Sales Order

  • Navigate to: Sales >> Orders >> Orders
  • Click Create button

Compute Taxes with AvaTax

  • The module will calculate tax when the sales order is confirmed, or by navigating to Action >> Update taxes with Avatax. At this step, the sales order will retrieve the tax amount from Avalara but will not report the transaction to the AvaTax dashboard. Only invoice, refund, and payment activity are reported to the dashboard.
  • The module will check if there is a selected warehouse and will automatically determine the address of the warehouse and the origin location. If no address is assigned to the warehouse the module will automatically use the address of the company as its origin. Location code will automatically populate with the warehouse code but can be modified if needed.

Tax Exemption Status

  • Tax exemption status can be defined on Contacts.
  • In a multi-company environment, the exemption status is defined per Company, since each individual company is required to secure the exemption certificates to claim for exemption application, and this may not be the case for all Companies.
  • If the customer is tax exempt, in the "Avatax" tab, check the "Is Tax Exempt" checkbox. When checked, the exemption details can be provided. The Exemption Code is the type of exemption, and the Exemption Number is an identification number to use on the customer's State.
  • This exemption status will only be applied for delivery addresses in the State matching the State of the exemption address. The same customer can have exemptiions on several states. For this use additional Contact/Addresses for those states, and enter the exempention details there.
  • To make this data management simpler, is it possible to set the customer as exempt country wide, using the corresponding checkbox. In this case the exemption status will be used for delivery addresses in any state. Using this option has compliance risks, so plase use it with care.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.