Error codes

BR-DEC-18: The allowed maximum number of decimals for the Amount due for payment (BT-115) i

Severity: fatal ยท Syntax: CII, UBL

Official message

The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2.

What this means

The official message is: The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2. This page does not add a further obligation.

Typical cause

The assertion in the context above failed for this file.

How to fix it

Adjust the file so the assertion succeeds, then validate it again. This page helps you read the rule.

Business term

BT-115

Related rules

Context and assertion

UBL cac:LegalMonetaryTotal

CII //ram:SpecifiedTradeSettlementHeaderMonetarySummation

UBL

string-length(substring-after(cbc:PayableAmount,'.'))<=2

CII

string-length(substring-after(ram:DuePayableAmount,'.'))<=2

Check a file now, free of charge

curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate