# aligned-ibrp-005

Source: https://xmlvalid.com/rules/aligned-ibrp-005

> Amounts MUST be decimal up to two fraction digits.

- Level: error
- Rule sets: PINT A-NZ rules (Australia and New Zealand) 1.1.3
- Context: `//*[ends-with(name(), 'Amount') and not(ends-with(name(),'PriceAmount')) and not(ancestor::cac:Price/cac:AllowanceCharge)]`
- Test: `string-length(substring-after(.,'.'))<=2`

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