The line net amount has too many decimal places · BR-DEC-23
- Severity · Error
- Applies to · UBL / CII
- Editorial review pending
The line net amount field (BT-131) may have up to two decimal places. This amount covers the full line before VAT. Trailing zeros in the XML also count as decimal places.
As of
Who can correct it?
The sender can correct the invoice.
How to fix it
- Export the line net amount with at most two decimal places. Then verify any totals that use this amount.
- XML fields in the affected group · UBL cac:InvoiceLine/cbc:LineExtensionAmount · CII ram:SpecifiedTradeSettlementLineMonetarySummation/ram:LineTotalAmount
Rule text and source
Paraphrase · BT-131 is limited to amounts with at most two decimal places.
Message to the sender
Subject: Invoice {invoiceNumber} – The line net amount has too many decimal places
Hello,
could you clarify a detail on your invoice {invoiceNumber} dated {issueDate} (BR-DEC-23)? The line net amount field (BT-131) may have up to two decimal places. Please export the amount with at most two decimal places and verify the totals that use it.
Could you send us the corrected invoice?
Thank you and kind regardsExample
The line net amount is written as 12.346 in the XML, with three decimal places. The value rounded to two places is 12.35.
UBL
cac:InvoiceLine/cbc:LineExtensionAmount
Fails the rule
<cbc:LineExtensionAmount currencyID="EUR">12.346</cbc:LineExtensionAmount>
Corrected
<cbc:LineExtensionAmount currencyID="EUR">12.35</cbc:LineExtensionAmount>
CII
ram:SpecifiedTradeSettlementLineMonetarySummation/ram:LineTotalAmount
Fails the rule
<ram:LineTotalAmount>12.346</ram:LineTotalAmount>
Corrected
<ram:LineTotalAmount>12.35</ram:LineTotalAmount>Related rules
- BR-24 · An invoice line has no net amountError
- BR-AE-08 · Taxable amount does not match the invoice lines (reverse charge)Error
- BR-AF-08 · Taxable amount does not match the invoice lines (IGIC)Error
- BR-AG-08 · Taxable amount does not match the invoice lines (IPSI)Error
- BR-CO-10 · The line net amounts do not add upError
Business terms
Rule versions
CEN · EN 16931 (KoSIT) 1.3.16
CEN · EN 16931 1.3.17