BR-DEC-12: what it means and how to fix it
The total without VAT may have at most 2 decimals.
| Rule | BR-DEC-12 |
|---|---|
| Standard | EN 16931-1, the European standard for electronic invoices |
| Severity | Error (the invoice is not conformant) |
| Concerns | BT-109: Invoice total amount without VAT |
How to fix it
Round the amount to two decimals.
Where the field is in the XML
| Term | CII (XRechnung-CII, ZUGFeRD, Factur-X) | UBL (XRechnung-UBL, Peppol) |
|---|---|---|
| BT-109 Invoice total amount without VAT | ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxBasisTotalAmount | cac:LegalMonetaryTotal/cbc:TaxExclusiveAmount |
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-DEC-12 mean?
The total without VAT may have at most 2 decimals. It is a rule of EN 16931-1, the European standard for electronic invoices.
How do I fix BR-DEC-12?
Round the amount to two decimals.
Is BR-DEC-12 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-13: An invoice must state the total amount without VAT.
- BR-CO-13: The total without VAT must equal the line total minus document allowances plus document charges.
Rule numbers are those of EN 16931-1; the explanation is ours. Not tax or legal advice.