XV-GR-14
Invoice line: …. recType 7 (negative values) is accepted only on adjustment entries 17.3 to 17.6, not a ….
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
inv:invoiceDetails
Test
not(inv:recType = '7') or $type = ('17.3', '17.4', '17.5', '17.6')
Checked with myDATA 2.0.2