BR-DEC-09 / BR-DEC-12 / BR-DEC-19 / BR-DEC-20 / BR-DEC-23: Too many decimals in amounts
Amounts in the e-invoice may have at most two decimals. The BR-DEC-… rules report which field is affected, e.g. BR-DEC-23 for the line amount (BT-131) or BR-DEC-19/-20 for taxable amount and VAT amount (BT-116, BT-117).
Validate file again – free
XML-Rechnung oder ZUGFeRD-PDF hierher ziehen
Ohne Konto: XML bis 50 KB · 5 Prüfungen pro Stunde · ZUGFeRD-/Factur-X-PDF bis 512 KB · amtlicher KoSIT-Validator. Die Datei wird nur für die Prüfung verarbeitet und nicht gespeichert.
Gefällt Ihnen die Prüfung? Mit kostenlosem Konto: signierter Prüfnachweis und API-Zugang.
Official rule text
[BR-DEC-09] The allowed maximum number of decimals for the Sum of Invoice line net amount (BT-106) is 2.
Severity: Error
[BR-DEC-12] The allowed maximum number of decimals for the Invoice total amount without VAT (BT-109) is 2.
Severity: Error
[BR-DEC-19] The allowed maximum number of decimals for the VAT category taxable amount (BT-116) is 2.
Severity: Error
[BR-DEC-20] The allowed maximum number of decimals for the VAT category tax amount (BT-117) is 2.
Severity: Error
[BR-DEC-23] The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2.
Severity: Error
KoSIT publishes the German BR-DE rules in German only; the official wording is quoted verbatim above. The explanation on this page is our translation.
Source: EN 16931-1 (European standard for electronic invoicing), business rules; rule text from the official KoSIT validation configuration (Schematron) for XRechnung 3.0.2 including the CEN EN 16931 rules.
Typical causes
- The software writes unrounded intermediate results (e.g. 33.333333) into the XML.
- Quantity × price is taken over as line amount without rounding.
How to fix BR-DEC-09 / BR-DEC-12 / BR-DEC-19 / BR-DEC-20 / BR-DEC-23
- Round all amounts to two decimals before totals are formed.
- The item price (BT-146) may have more decimals – the line amount may not.
- Regenerate the invoice and validate it again.
Example: how it looks when correct (UBL and CII)
The values are examples. Enter your own data – preferably in your invoicing software, not by hand in the XML file.
UBL (XRechnung in UBL syntax)
<cac:InvoiceLine>
<cbc:InvoicedQuantity unitCode="H87">3</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">10.00</cbc:LineExtensionAmount> <!-- nicht 9.999 -->
<cac:Price><cbc:PriceAmount currencyID="EUR">3.333</cbc:PriceAmount></cac:Price>
</cac:InvoiceLine>
CII (XRechnung in CII syntax, ZUGFeRD, Factur-X)
<ram:SpecifiedTradeSettlementLineMonetarySummation>
<ram:LineTotalAmount>10.00</ram:LineTotalAmount>
</ram:SpecifiedTradeSettlementLineMonetarySummation>
Frequently asked questions
Why may the price have more decimals?
There is no decimals rule for the item price (BT-146); only the line amount is rounded to two decimals.
How do I check whether BR-DEC-09 is fixed?
Regenerate the invoice and upload the XML file at the top of this page. The check works without an account; the file is not stored.