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