BR-CO-15: what it means and how to fix it
The total with VAT must equal the total without VAT plus the total VAT amount.
| Rule | BR-CO-15 |
|---|---|
| Standard | EN 16931-1, the European standard for electronic invoices |
| Severity | Error (the invoice is not conformant) |
| Concerns | BT-112: Invoice total amount with VAT |
How to fix it
Recompute: total without VAT + VAT total.
Where the field is in the XML
| Term | CII (XRechnung-CII, ZUGFeRD, Factur-X) | UBL (XRechnung-UBL, Peppol) |
|---|---|---|
| BT-112 Invoice total amount with VAT | ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:GrandTotalAmount | cac:LegalMonetaryTotal/cbc:TaxInclusiveAmount |
From your code
curl -H "Authorization: Bearer $API_KEY" -H "Content-Type: application/xml" \
--data-binary @invoice.xml "https://agent-data-tools.revmesh2074.workers.dev/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-15 mean?
The total with VAT must equal the total without VAT plus the total VAT amount. It is a rule of EN 16931-1, the European standard for electronic invoices.
How do I fix BR-CO-15?
Recompute: total without VAT + VAT total.
Is BR-CO-15 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-14: An invoice must state the total amount with VAT.
- BR-DEC-14: The total with VAT may have at most 2 decimals.
Rule numbers are those of EN 16931-1; the explanation is ours. Not tax or legal advice.