.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png :target: https://odoo-community.org/page/development-status :alt: Alpha .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--fiscal--rule-lightgray.png?logo=github :target: https://github.com/OCA/account-fiscal-rule/tree/14.0/account_avatax :alt: OCA/account-fiscal-rule .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png :target: https://translation.odoo-community.org/projects/account-fiscal-rule-14-0/account-fiscal-rule-14-0-account_avatax :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png :target: https://runbot.odoo-community.org/runbot/93/14.0 :alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
.. |avataxbadge1| image:: https://raw.githubusercontent.com/OCA/account-fiscal-rule/14.0/account_avatax/static/description/SalesTax.png :target: https://developer.avalara.com/certification/avatax/sales-tax-badge/ :alt: Sales Tax Certification :width: 250 .. |avataxbadge2| image:: https://raw.githubusercontent.com/OCA/account-fiscal-rule/14.0/account_avatax/static/description/Refunds.png :target: https://developer.avalara.com/certification/avatax/refunds-credit-memos-badge/ :alt: Refunds Certification :width: 250 .. |avataxbadge3| image:: https://raw.githubusercontent.com/OCA/account-fiscal-rule/14.0/account_avatax/static/description/AddressValidation.png :target: https://developer.avalara.com/certification/avatax/address-validation-badge/ :alt: Address Validation Certification :width: 250
|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:
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.
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
More details on development status <https://odoo-community.org/page/development-status>_
Table of contents
.. contents:: :local:
To install this app:
To Configure AvaTax API:
Other Avatax API advanced configurations:
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 Codes ~~~~~~~~~~~~~~~~~ Create 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 Configuration
Products 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
Configure Product Category Tax Code
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 Configuration
Properly configuring each customer ensures the correct tax is calculated and applied for all transactions.
Create New Customer
Configure and Validate Customer Address
Tax Exemption Status
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 Refunds ~~~~~~~~~~~~~~~~ Odoo 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. Known issues / Roadmap ====================== The development of this module was driven by US companies to compute Sales Tax. However the Avatax service supports more use cases, that could be added: - Add support to EU VAT - Add support to US Use Tax on Purchases / vendor Bills Other improvements that could be added: - Detect and warn if customers State is not a nexus available for the current account Bug Tracker =========== Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-fiscal-rule/issues>`_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed `feedback <https://github.com/OCA/account-fiscal-rule/issues/new?body=module:%20account_avatax%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. Do not contact contributors directly about support or help with technical issues. Credits ======= Authors ~~~~~~~ * Open Source Integrators * Fabrice Henrion * Sodexis Contributors ~~~~~~~~~~~~ * Odoo SA * Fabrice Henrion * Open Source Integrators (https://opensourceintegrators.com) * Daniel Reis <email@example.com> * Bhavesh Odedra <firstname.lastname@example.org> * Sandip Mangukiya <email@example.com> * Serpent CS * Murtuza Saleh * Sodexis * Atchuthan Ubendran Other credits ~~~~~~~~~~~~~ This module was originally developed by Fabrice Henrion at Odoo SA, and maintained up to version 11. For version 12, Fabrice invited partners to migrate this modules to later version, and maintain it. Open Source Integrators performed the migration to Odoo 12 , and later added support for the more up to date REST API , alongside with the legacy SOAP API. With the addition of the REST API, a deep refactor was introduced, changing the tax calculation approach, from just setting the total tax amount, to instead adding the tax rates to each document line and then having Odoo do all the other computations. For Odoo 13, the legacy SOAP support was supported, and additional refactoring was done to contribute the module to the Odoo Community Association. Maintainers ~~~~~~~~~~~ This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. .. |maintainer-dreispt| image:: https://github.com/dreispt.png?size=40px :target: https://github.com/dreispt :alt: dreispt Current `maintainer <https://odoo-community.org/page/maintainer-role>`__: |maintainer-dreispt| This module is part of the `OCA/account-fiscal-rule <https://github.com/OCA/account-fiscal-rule/tree/14.0/account_avatax>`_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.