BR-DEC-28

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

About

ID
BR-DEC-28
Flag
fatal
Context
//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = true()] | //cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = true()]
Test
string-length(substring-after(cbc:BaseAmount,'.'))<=2