BR-CO-10: what it means and how to fix it
The sum of invoice line net amounts must equal the total of the line net amounts.
| Rule | BR-CO-10 |
|---|---|
| Standard | EN 16931-1, the European standard for electronic invoices |
| Severity | Error (the invoice is not conformant) |
| Concerns | BT-106: Sum of invoice line net amounts |
How to fix it
Recompute the line total from the lines, or correct the line that is off.
Where the field is in the XML
| Term | CII (XRechnung-CII, ZUGFeRD, Factur-X) | UBL (XRechnung-UBL, Peppol) |
|---|---|---|
| BT-106 Sum of invoice line net amounts | ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:LineTotalAmount | cac:LegalMonetaryTotal/cbc:LineExtensionAmount |
From your code
curl -H "Authorization: Bearer $API_KEY" -H "Content-Type: application/xml" \
--data-binary @invoice.xml "https://tools.funwords.eu/einvoice/validate"
The answer lists every broken rule with its number, the field, a message with the figures from your file and the fix. E-invoice API: validate, convert to JSON, and create XRechnung or ZUGFeRD XML from JSON.
Questions
What does BR-CO-10 mean?
The sum of invoice line net amounts must equal the total of the line net amounts. It is a rule of EN 16931-1, the European standard for electronic invoices.
How do I fix BR-CO-10?
Recompute the line total from the lines, or correct the line that is off.
Is BR-CO-10 an error or a warning?
An error: a validator reports the invoice as not conformant, and a recipient that validates incoming e-invoices can reject it.
Related rules
- BR-12: An invoice must state the sum of the invoice line net amounts.
- BR-DEC-09: The sum of line net amounts may have at most 2 decimals.
Rule numbers are those of EN 16931-1; the explanation is ours. Not tax or legal advice.