# ibr-002-ae

Source: https://xmlvalid.com/rules/ibr-002-ae

> Currency exchange rate [BTAE-04] should contain the values till maximum of 6 decimal places.

- Level: error
- Rule sets: PINT AE rules (United Arab Emirates) 1.0.4
- Context: `cbc:CalculationRate`
- Test: `matches(., concat('^[0-9]+(\.[0-9]', codepoints-to-string(123), '1,6', codepoints-to-string(125), ')?$'))`

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