BR-DEC-23ErrorDecimals (BR-DEC)
BR-DEC-23: Invoice line net amount: more than 2 decimals
The invoice is invalid and will be rejected.
What does the error mean?
The invoice line net amount (BT-131) 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-23] The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2.
Checked in: UBL, CII
Fields involved
- BT-131 Invoice line net amount
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-20: VAT category tax amount: more than 2 decimals
- BR-DEC-24: Line allowance amount: more than 2 decimals
- BR-DEC-19: VAT category taxable amount: more than 2 decimals
- BR-DEC-25: Line allowance base amount: more than 2 decimals
- BR-DEC-18: Amount due for payment: more than 2 decimals
- BR-DEC-27: Line charge amount: more than 2 decimals