InvoiceGlass

The invoice total with VAT has too many decimal places · BR-DEC-14

  • Severity · Error
  • Applies to · UBL / CII
  • Editorial review pending

The invoice total including VAT field (BT-112) may have up to two decimal places. This is the invoice total including its 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

  1. Export the invoice total including VAT with at most two decimal places. Then verify any totals that use this amount.
  2. XML fields in the affected group · UBL cac:LegalMonetaryTotal/cbc:TaxInclusiveAmount · CII ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:GrandTotalAmount

Rule text and source

Paraphrase · BT-112 is limited to amounts with at most two decimal places.

Message to the sender

Subject: Invoice {invoiceNumber} – The invoice total with VAT has too many decimal places

Hello,

could you clarify a detail on your invoice {invoiceNumber} dated {issueDate} (BR-DEC-14)? The invoice total including VAT field (BT-112) 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 regards

Example

The invoice total including VAT is written as 12.346 in the XML, with three decimal places. The value rounded to two places is 12.35.

UBL

cac:LegalMonetaryTotal/cbc:TaxInclusiveAmount

Fails the rule
<cbc:TaxInclusiveAmount currencyID="EUR">12.346</cbc:TaxInclusiveAmount>

Corrected
<cbc:TaxInclusiveAmount currencyID="EUR">12.35</cbc:TaxInclusiveAmount>

CII

ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:GrandTotalAmount

Fails the rule
<ram:GrandTotalAmount>12.346</ram:GrandTotalAmount>

Corrected
<ram:GrandTotalAmount>12.35</ram:GrandTotalAmount>

Related rules

Business terms

Rule versions

CEN · EN 16931 (KoSIT) 1.3.16

CEN · EN 16931 1.3.17

Validate a file