BR-DEC-18ErrorDecimals (BR-DEC)
BR-DEC-18: Amount due for payment: more than 2 decimals
The invoice is invalid and will be rejected.
What does the error mean?
The amount due for payment (BT-115) 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-18] The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2.
Checked in: UBL, CII
Fields involved
- BT-115 Amount due for payment
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-17: Rounding amount: more than 2 decimals
- BR-DEC-19: VAT category taxable amount: more than 2 decimals
- BR-DEC-16: Paid amount: more than 2 decimals
- BR-DEC-20: VAT category tax amount: more than 2 decimals
- BR-DEC-15: Total VAT in accounting currency: more than 2 decimals
- BR-DEC-23: Invoice line net amount: more than 2 decimals