BR-DEC-05-SG

[BR-DEC-05-SG]-The allowed maximum number of decimals for the Document level charge amount (IBT-099) is 2.

About

ID
BR-DEC-05-SG
Flag
fatal
Context
/ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = true()] | /cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = true()]
Test
string-length(substring-after(cbc:Amount,'.'))<=2