ibr-005-ae
Frequency of billing (BTAE-06) should be taken from the frequency of billing code list.
error: the document is invalid
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.
Context
cac:InvoicePeriod/cbc:DescriptionCode
Test
((not(contains(normalize-space(.), ' ')) and contains(' DLY WKY Q15 MTH Q45 Q60 QTR YRL HYR OTH ', concat(' ', normalize-space(.), ' '))))
Checked with PINT UAE Invoice, PINT UAE Credit Note