The rounding adjustment has too many decimal places · BR-DEC-17
- Severity · Error
- Applies to · UBL / CII
- Editorial review pending
The rounding adjustment field (BT-114) may have up to two decimal places. This signed adjustment is included when calculating the amount due. 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 rounding adjustment with at most two decimal places. Then verify any totals that use this amount.
- XML fields in the affected group · UBL cac:LegalMonetaryTotal/cbc:PayableRoundingAmount · CII ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:RoundingAmount
Rule text and source
Paraphrase · BT-114 is limited to amounts with at most two decimal places.
Message to the sender
Subject: Invoice {invoiceNumber} – The rounding adjustment has too many decimal places
Hello,
could you clarify a detail on your invoice {invoiceNumber} dated {issueDate} (BR-DEC-17)? The rounding adjustment field (BT-114) 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 rounding adjustment is written as 0.026 in the XML, with three decimal places. The value rounded to two places is 0.03.
UBL
cac:LegalMonetaryTotal/cbc:PayableRoundingAmount
Fails the rule
<cbc:PayableRoundingAmount currencyID="EUR">0.026</cbc:PayableRoundingAmount>
Corrected
<cbc:PayableRoundingAmount currencyID="EUR">0.03</cbc:PayableRoundingAmount>
CII
ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:RoundingAmount
Fails the rule
<ram:RoundingAmount>0.026</ram:RoundingAmount>
Corrected
<ram:RoundingAmount>0.03</ram:RoundingAmount>Related rules
Business terms
Rule versions
CEN · EN 16931 (KoSIT) 1.3.16
CEN · EN 16931 1.3.17