Cius

xRechnung

Validation message

[BR-DEC-27]-The allowed maximum number of decimals for the Invoice line charge amount (BT-141) is 2.

Context

//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = true()] | //cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = true()]

//ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:ChargeIndicator[udt:Indicator = 'true']

UBL

XPath

1

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

CII

XPath

1

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

Used in business terms