Fix invoice tax rounding
Fix amount of taxes computed on invoice when using global rounding
auto_awesome What this module does
AI-generated from the code · Odoo 12.0Corrects the tax amounts on invoices when the company uses the global rounding method, and lets you set a maximum allowed difference before Odoo blocks the invoice with an error.
When a company calculates taxes with the global rounding method, the tax amounts shown on an invoice can differ slightly from the amounts recalculated line by line. This module recalculates those tax amounts and replaces them with the recalculated value.
- It only acts when the company setting for tax calculation rounding method is set to global rounding.
- Taxes whose price is included in the price are left untouched.
- If the difference between the original and recalculated amount is bigger than the allowed maximum, Odoo stops the process and shows a validation error instead of silently changing the amount.
A new field, 'Tax calculation max diff amount for rounding method', is added to the company settings and to the accounting settings screen. It appears inside the rounding method section and is only visible when the global rounding method is selected. The default value is 0, meaning any difference blocks the invoice until you raise the limit.
The module touches the invoice model account.invoice, the company model res.company and the settings model res.config.settings. It changes how tax values are computed on invoices, so it affects the amounts used in accounting entries generated from invoices.
Depends on
Models and fields (3)
- res.company · extends an existing modeltax_max_diff_global_rounding_method (Tax calculation max diff amount for rounding method)
- account.invoice · extends an existing model
- res.config.settings · extends an existing modeltax_max_diff_global_rounding_method (Tax calculation max diff amount for rounding method)
Text generated by AI (DeepSeek) from reading the Odoo 12.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-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/account-invoicing.
terminal Installation and usage
OCA documentation · Odoo 12.0Configuration
Source · Odoo 12.0Go to Accounting Configuration and adjust the maximum amount of tax difference that will be automatically fixed in invoices.
This is a 'double security' check as this argument has long been discussed with Odoo without a solution.
No verified information in OCA: Installation, Usage.
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.