Home
/
Versions
2017
Rules
BR-DEC-28
Cius
xRechnung
Validation message
[BR-DEC-28]-The allowed maximum number of decimals for the Invoice line charge base amount (BT-142) 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:BaseAmount,'.'))<=2
CII
//ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:ChargeIndicator[udt:Indicator = 'true']
string-length(substring-after(../ram:BasisAmount,'.'))<=2
Used in business terms
BT-137
BT-142