XV-GR-06
The rule sets below word this rule differently; each wording is shown with its rule set.
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
reverseDeliveryNote is accepted only for a delivery note (9.3), not a ….
inv:invoiceHeader
empty(inv:reverseDeliveryNote) or $type = '9.3'
Checked with myDATA 2.0.2
reverseDeliveryNotePurpose gives the reason of a reverse delivery and is given with reverseDeliveryNote true.
inv:invoiceHeader
empty(inv:reverseDeliveryNotePurpose) or inv:reverseDeliveryNote = 'true'
Checked with myDATA 2.0.2