OdooWiki OCA HUB

Tax required in invoice

account_invoice_tax_required folder_open OCA/account-invoicing open_in_new
Localization / Accounting License: AGPL-3

This module adds a check on invoice to force user to set tax on invoice line.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Prevents posting customer invoices or vendor bills that contain lines without taxes, showing an error that lists the offending invoices and lines.

This module adds a control when invoices are validated. If any invoice line (excluding section and note lines) has no tax set, Odoo blocks the posting and shows a warning titled "No Taxes Defined!" that lists each problematic line with the invoice, the customer and the product concerned.

The warning includes a button "Show invoices with lines without taxes" that opens the affected invoices: directly on the invoice form if only one is concerned, or in a filtered list if several are.

  • The check applies to documents treated as invoices (customer invoices and vendor bills) at the moment they are posted.
  • Section and note lines are ignored, so only real product lines must carry a tax.
  • The check can be forced through a specific context key, and it is automatically skipped while demo data is being installed or upgraded and during automated tests.
  • It touches the account.move model and reuses the standard invoice list and form views for the error action.

No new menus, fields or settings are added: the rule works silently in the background and only appears when someone tries to validate an invoice with untaxed lines.

Depends on

account

Text generated by AI (DeepSeek) from reading the Odoo 19.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: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/account-invoicing.

terminal Installation and usage

OCA documentation · Odoo 19.0

To use this module, you need to:

  • Go to Invoicing \> Customers \> Invoices.
  • Create a new invoice.
  • Insert a new invoice line without taxes.
  • Press on "Confirm".
  • An error will raise preventing to do it.

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.