BR-DEC-12ErrorDecimals (BR-DEC)
BR-DEC-12: Invoice total without VAT: more than 2 decimals
The invoice is invalid and will be rejected.
What does the error mean?
The invoice total without VAT (BT-109) has more than two decimals. Amounts in an e-invoice are rounded to cents; only unit prices and quantities may have more.
How to fix it
Round the amount to 2 decimals before writing it to the XML and compute the totals from the rounded values.
Original validator message
[BR-DEC-12] The allowed maximum number of decimals for the Invoice total amount without VAT (BT-109) is 2.
Checked in: UBL, CII
Fields involved
- BT-109 Invoice total amount without VAT
Check your invoice now
Upload your XRechnung or ZUGFeRD file. The validator lists every error with an explanation – free, no sign-up.
Open the validatorAvoid the errors in the first place
With the Invoicify API you create XRechnung and ZUGFeRD from JSON. Totals, VAT and mandatory fields are checked before any XML is written.
Read the API docsRelated error codes
- BR-DEC-11: Sum of charges: more than 2 decimals
- BR-DEC-13: Invoice total VAT: more than 2 decimals
- BR-DEC-10: Sum of allowances: more than 2 decimals
- BR-DEC-14: Invoice total with VAT: more than 2 decimals
- BR-DEC-09: Sum of invoice line net amounts: more than 2 decimals
- BR-DEC-15: Total VAT in accounting currency: more than 2 decimals