# BR-DEC-10-SG

Source: https://xmlvalid.com/rules/BR-DEC-10-SG

> The allowed maximum number of decimals for the Sum of allowanced on document level (IBT-107) is 2.

- Level: error
- Rule sets: PINT SG rules (Singapore) 1.4.1
- Context: `cac:LegalMonetaryTotal`
- Test: `string-length(substring-after(cbc:AllowanceTotalAmount,'.'))<=2`

Validate a document against these rules: https://xmlvalid.com/validate
