ibr-001-ae
Credit note reason code [BTAE-03] value should be from the Reasons for credit note 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:DiscrepancyResponse/cbc:ResponseCode
Test
( ( not(contains(normalize-space(.),' ')) and contains( ' DL8.61.1.A DL8.61.1.B DL8.61.1.C DL8.61.1.D DL8.61.1.E VD ',concat(' ',normalize-space(.),' ') ) ) )
Checked with PINT UAE Invoice, PINT UAE Credit Note