ibr-002-ae
Currency exchange rate [BTAE-04] should contain the values till maximum of 6 decimal places.
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element
cbc:CalculationRate
matches(., concat('^[0-9]+(\.[0-9]', codepoints-to-string(123), '1,6', codepoints-to-string(125), ')?$'))
Checked with PINT UAE Invoice, PINT UAE Credit Note, PINT UAE Self-Billing Invoice, PINT UAE Self-Billing Credit Note