|avataxbadge1| |avataxbadge2| |avataxbadge3|
Odoo provides integration with AvaTax, a tax solution software by Avalara which includes sales tax calculation for all US states and territories and all Canadian provinces and territories (including GST, PST, and HST).
This module is capable of automatically detecting origin (Output Warehouse) and destination (Client Address), then calculating and reporting taxes to the user's Avalara account as well as a recording the correct sales taxes for the validated addresses within Odoo ERP.
This module is compatible both with the Odoo Enterprise and odoo Community editions.
An Avatax account is needed. Account information to access the Avatax dashboard can be obtained through the Avalara website here: https://www.avalara.com/products/avatax/
Once configured, the module operates in the background and performs calculations and reporting seamlessly to the AvaTax server.
This guide includes instructions for the following elements:
- Activating your organization's AvaTax account and downloading the product
- Entering the AvaTax credentials into your Odoo database and configuring it to use AvaTax services and features within Odoo
Note: Test the module before deploying in live environment. All changes to the AvaTax settings must be performed by a user with administrative access rights.
auto_awesome What this module does
AI-generated from the code · Odoo 13.0Connect Odoo to Avalara AvaTax to automatically calculate US/Canada sales tax on invoices and record them in your Avalara account. Validate customer and company addresses, manage tax exemption codes, and map products to AvaTax tax codes.
This module links Odoo to Avalara AvaTax, a tax service that calculates sales tax for US states and Canadian provinces. Once configured, it automatically computes taxes on customer invoices and refunds using the AvaTax service, based on the origin warehouse and the customer's shipping or invoice address.
- Configure your AvaTax account number, license key, company code, and service URL under Accounting > Configuration > AvaTax.
- Validate customer and company addresses against AvaTax; you can require validated addresses before taxes are computed.
- Manage tax exemption codes and assign them to customers; exemptions are automatically applied to invoices based on the shipping address.
- Map products and product categories to AvaTax tax codes, and optionally use barcodes (UPC) as item identifiers.
- When an invoice is posted, taxes are calculated and the transaction is recorded (committed) in AvaTax; when reset to draft, the transaction is voided.
- A 'Compute Taxes' action is available on invoices to force recalculation.
- The module adds an 'AvaTax' amount field on invoices and invoice lines, and creates Avatax-specific taxes automatically.
- It also adds a 'Use Avatax API' checkbox on fiscal positions to enable the connector for specific tax rules.
- Multi-company is supported: each company can have its own AvaTax configuration.
Depends on
Required by other modules
Menus it adds
Models and fields (13)
- account.tax · extends an existing modelis_avatax (Is Avatax)
- res.company · extends an existing model
- res.partner · extends an existing modeltax_exempt (Is Tax Exempt (Deprecated))), customer_code (Customer Code), date_validation (Last Validation Date), exemption_number (Exemption Number (Deprecated)), exemption_code_id, validated_on_save (Validated On Save), validation_method, property_tax_exempt (Is Tax Exempt), property_exemption_number (Exemption Number), property_exemption_code_id
- account.move · extends an existing modelwarehouse_id, avatax_amount (AvaTax), location_code (Location Code), exemption_code (Exemption Number), invoice_doc_no (Source/Ref Invoice No), tax_address_id, exemption_locked, exemption_code_id, tax_on_shipping_address (Tax based on shipping address)
- exemption.code · new modelcode (Code), name (Name)
- avalara.salestax · new modelactive (Active), logging (Log API Request Details), company_id, upc_enable (Enable UPC Taxability), country_ids, license_key (License Key), service_url (Service URL), company_code (Company Code), account_number (Account Number), request_timeout (Request Timeout), logging_response (Log API Response Details), validation_on_save (Automatic Address Validation), result_in_uppercase (Return validation results in upper case), disable_tax_reporting (Disable Document Recording/Commiting), disable_tax_calculation (Disable AvaTax Calculation), default_shipping_code_id, force_address_validation (Require Validated Addresses), disable_address_validation (Disable Address Validation), auto_generate_customer_code (Automatically generate missing customer code), enable_immediate_calculation (Immediate AvaTax Calculation)
- product.category · extends an existing modeltax_code_id, applicable_tax_code_id
- product.tax.code · new modelname (Code), type, description (Description)
- product.template · extends an existing modeltax_code_id, applicable_tax_code_id
- account.move.line · extends an existing modelavatax_amt_line (AvaTax Line)
- avalara.salestax.ping · new modelname (Name)
- account.fiscal.position · extends an existing modelis_avatax (Use Avatax API)
- avalara.salestax.address.validate · new modelzip (Zip), city (City), state (State), street (Street), country (Country), street2 (Street2), original_zip (Original Zip), original_city (Original City), original_state (Original State), date_validation, original_street (Original Street), original_country (Original Country), original_street2 (Original Street2), partner_latitude (Latitude), partner_longitude (Longitude), validation_method
Text generated by AI (DeepSeek) from reading the Odoo 13.0 code on GitHub; it may contain mistakes, so check the code before deciding. The module is very large and only part of the code was read. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation 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.0Installation
Source · Odoo 13.0To install this app:
- Download the AvaTax Module
- Extract the downloaded file
- Upload the extracted directory into your Odoo module/add-on directory
- Restart your instance of Odoo
- Log in as an Administrator
- Navigate to 'Apps' and search 'AvaTax' in the search field
- Click Install button
Configuration
Source · Odoo 13.0To Configure AvaTax API:
- Navigate to: Accounting or Invoicing App >> Configuration >> AvaTax >> AvaTax API
- Click the Create button.
- Uncheck the Disable AvaTax Calculation box
- Fill out the form with your Company Code, Account Number, and License Key as provided with your Avalara account
- Select the proper service URL provided to you by Avalara: test or production.
- Click the Test Connection button
- Click the Save button
Other Avatax API advanced configurations:
- Adapter
- Request Timeout -- default is 300ms
- Enable Logging -- enables detailed AvaTax transaction logging within application
- Address Validation
- Disable Address Validation
- Address Validation on save for customer profile -- automatically attempts to validate on creation and update of customer profile, last validation date will be visible and stored
- Force Address Validation -- if validation for customer is required but not valid, the validation will be forced
- Return validation results in upper case -- validation results will return in upper case form
- Automatically generate customer code -- generates a customer code on creation and update of customer profile
- Avalara Submissions/Transactions
- Disable Avalara Tax Commit -- validated invoices will not be sent to Avalara
- Enable UPC Taxability -- this will transmit Odoo's product ean13 number instead of its Internal Reference. If there is no ean13 then the Internal Reference will be sent automatically.
- Countries
- Add or remove applicable countries -- the calculator will not calculate for a country unless it's on the list.
Configure Exemption Codes
Exemption codes are allowed for users where they may apply (ex. Government entities).
Navigate to: Accounting or Invoicing App >> Configuration >> AvaTax >> Exemption Code
The module is installed with 16 predefined exemption codes.
You can add, remove, and modify exemption codes.
Product Tax CodesCreate product tax codes to assign to products and/or product categories. Navigate to: Accounting or Invoicing App >> Configuration >> AvaTax >> Product Tax Codes.
From here you can add, remove, and modify the product tax codes.
Configure Taxes
The AvaTax module is integrated into the tax calculation of Odoo.
AVATAX is automatically added as a type of taxes to be applied.
You can configure how AVATAX integrates within the Odoo system.
Configure AVATAX Tax Type:
- Navigate to: Accounting or Invoicing App >> Configuration >> Accounting >> Taxes
- Select AVATAX from the list view (automatically added on module install).
- Click the Edit button to configure the AVATAX Tax Type
with the proper tax account configuration for your system.
Note: Upon initial install the settings will be blank.
The image shows the demo configuration.
Product Category ConfigurationProducts in Odoo are typically assigned to product categories. AvaTax settings can also be assigned to the product category when a product category is created.
- Create New Product Category
- Navigate to: Inventory >> Configuration >> Products >> Product Categories
- Click Create button
- Configure Product Category Tax Code
- Under AvaTax Properties >> Tax Code
- Select the desired Tax Code
Company Configuration
Each company linked to AvaTax and their associated warehouses
should be configured to ensure the correct tax is calculated
and applied for all transactions.
Warehouse Configuration
- Navigate to: Inventory >> Configuration >> Warehouse Management >> Warehouses
- Select the warehouse associated with your company
- Under Address, follow the link to be directed to your warehouse profile
Configure Warehouse Address
- Enter Warehouse Address
- Under AvaTax >> Validation, click Validate button
Customer ConfigurationProperly configuring each customer ensures the correct tax is calculated and applied for all transactions.
Create New Customer
- Navigate to Contacts
- Click Create button
Configure and Validate Customer Address
- Enter Customer Address
- Under AvaTax >> Validation, click Validate button
- AvaTax Module will attempt to match the address you entered with a valid address in its database. Click the Accept button if the address is valid.
Tax Exemption Status
- If the customer is tax exempt, check the box under AvaTax >> Tax Exemption >> Is Tax Exempt and
- Select the desired Tax Exempt Code from the dropdown menu.
Usage
Source · Odoo 13.0Customer Invoices
The AvaTax module is integrated into Sales Invoices
and is applied to each transaction.
The transaction log in the AvaTax dashboard shows the invoice details
and displays whether the transaction is in an uncommitted or committed status.
A validated invoice will have a Committed status
and a cancelled invoice will have a Voided status.
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 company address is used.
Discounts are handled when they are enabled in Odoo's settings.
They are calculated as a net deduction on the line item cost
before the total is sent to AvaTax.
Create New Customer Invoice
+++++++++++++++++++++++++++
- Navigate to: Accounting or Invoicing >> Customers >> Invoices.
- Click Create button.
Validate Invoice
++++++++++++++++
- Ensure that Tax based on shipping address is checked.
- Line items should have AVATAX selected under Taxes for internal records.
- To complete the invoice, click the Validate button.
- The sale order will now appear in the AvaTax dashboard.
Register Payment
++++++++++++++++
- Click the Register Payment button to finalize the invoice.
Customer RefundsOdoo applies refunds as opposed to voids in its accounting module. As with customer invoices, the AvaTax module is integrated with customer refunds and is applied to each transaction.
Refunded invoice transactions will be indicated with a negative total in the AvaTax interface.
Initiate Customer Refund
- Navigate to: Accounting or Invoicing >> Customers >> Invoices
- Select the invoice you wish to refund
- Click Add Credit Note button
Create Credit Note
- Under Credit Method, select Create a draft credit note.
- Enter a reason.
- Click Add Credit Note button.
Note: You will be taken to the Credit Notes list view
Validate Refund
- Select the Credit Note you wish to validate, review and then click Validate button.
Register Refund Payment
- Click Register Payment button to complete a refund
Sales Orders
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.Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
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.