What each rule says
All four are fatal in the EN 16931 Schematron (validation-1.3.17):
- UBL-SR-48
- “Invoice lines shall have one and only one classified tax category.” A UBL syntax rule: one line, one category.
- BR-CO-04
- “Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151).” The other side: no line without a category.
- BR-25
- “Each Invoice line (BG-25) shall contain the Item name (BT-153).” Every line with a name.
- BR-16
- “An Invoice shall have at least one Invoice line (BG-25)” At least one line.

Odoo's message
Odoo does not wait for the validator. Before generating the UBL it walks the lines and, if one does not have exactly one tax, stops with: “Each invoice line shall have one and only one tax.” It happens in all four versions, with a nuance:
- Odoo 17: it counts the line's taxes leaving out fixed-amount ones, such as eco-taxes; one must remain.
- Odoo 18, 19 and 20: it counts the tax categories that will be written on the file's line; there must be one.
In the same step it checks BR-25: a line with no product and no description stops with “Each invoice line should have a product or a label.”
The cases that trigger it
| Case in Odoo | What to do |
|---|---|
| Line with no tax, for instance a recharged expense | Give it the right tax, even if it is 0% or exempt. |
| Two VAT taxes on the same line | Keep one: if they are two different rates, split the line. |
| VAT plus a surcharge or withholding on the line | Check whether that second tax belongs in the e-invoice as a tax or in another way; the right answer depends on your country. |
| Text line with no product or description | Write the description or turn it into a note. |
Odoo sections and notes do not count as lines, so they do not trigger the message.
With our XRechnung and ZUGFeRD module
The module builds the XML with its own code and does not run Odoo's check. It writes a single VAT category per line, the one of the first percentage tax, in XRechnung UBL and in CII, and before generating it runs its own check:
- Line without tax: the pre-generation check stops the invoice and names the lines, except for a small business under § 19 UStG. In that case the line goes out as E, with the reason “Kleinunternehmer gemäß § 19 UStG”.
- Line with two taxes: the check does not stop it. The line carries the category of the first percentage tax, and the breakdown the VAT that Odoo booked for that rate. If no other line has the rate of the second tax, that tax stays out of the breakdown but goes into the Odoo totals: in XRechnung UBL, BR-CO-15 is not met, and in XRechnung CII, the module's default format, BR-CO-14 is not met.
- Line with a 0% tax: it goes out as Z, in UBL and in CII, or with the category the tax has (E, AE, K, G or O) and its reason.
Review the taxes on each line before generating.

On Odoo 17, 18, 19 and 20, with the FlexigoTech Cloud subscription, every XRechnung and every ZUGFeRD EN 16931 is validated against the KoSIT rules and the failing rules stay under Validation Errors.
Steps
- Read the message: it tells you whether it is the tax or the line name.
- Open the invoice in draft and check the taxes column line by line.
- Fix, post and generate the file again.
Keep reading
Checked in the module's source code (version 17.0 and 20.0) and the linked sources
Sources
- Module source code: flexigo_germany_xrechnung 20.0 (e851872d): lib/generators/ubl_generator.py
- Module source code: flexigo_germany_xrechnung 20.0 (e851872d): lib/generators/cii_generator.py
- Module source code: flexigo_germany_xrechnung 20.0 (446f2f68): models/res_company.py
- github.com/odoo/odoo/blob/6f00fdadb875342de2d14a179f25431f93cd63c9/addons/account_edi_ubl_
- github.com/odoo/odoo/blob/2982b5f44af03fae6a9888f20632c1cc19f623ba/addons/account_edi_ubl_
- github.com/odoo/odoo/blob/4d2d4b5895db70596863df941d9a1f0beeb117f8/addons/account_edi_ubl_
- github.com/odoo/odoo/blob/2fec20391a8a61ea3a3bf15e9f24d59dba910a8d/addons/account_edi_ubl_
- github.com/odoo/odoo/blob/6f00fdadb875342de2d14a179f25431f93cd63c9/addons/account_edi_ubl_
- github.com/odoo/odoo/blob/2982b5f44af03fae6a9888f20632c1cc19f623ba/addons/account_edi_ubl_
- github.com/odoo/odoo/blob/4d2d4b5895db70596863df941d9a1f0beeb117f8/addons/account_edi_ubl_
- github.com/odoo/odoo/blob/2fec20391a8a61ea3a3bf15e9f24d59dba910a8d/addons/account_edi_ubl_
- Module source code: flexigo_germany_xrechnung 20.0 (446f2f68): models/xrechnung_cloud.py
- Module source code: flexigo_germany_xrechnung 17.0 (3a098aaee): __manifest__.py:5, :48, models/xrechnung_cloud.py:47-68, models/account_move.py:466-472 (18-11-2026)
- github.com/ConnectingEurope/eInvoicing-EN16931/releases/tag/validation-1.3.17
