Home
/
Versions
2017
Rules
BR-DEC-27
Cius
xRechnung
Validation message
[BR-DEC-27]-The allowed maximum number of decimals for the Invoice line charge amount (BT-141) is 2.
UBL
Context
Copied
1
//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = true()] | //cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = true()]
Rule
string-length(substring-after(cbc:Amount,'.'))<=2
CII
//ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:ChargeIndicator[udt:Indicator = 'true']
string-length(substring-after(../ram:ActualAmount,'.'))<=2
Used in business terms
BT-136
BT-141