XV-GR-03
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
tableAA (the table number) is accepted only for a restaurant order slip (8.6), not a ….
inv:invoiceHeader
empty(inv:tableAA) or $type = '8.6'
Checked with myDATA 2.0.2
totalCancelDeliveryOrders is accepted only for a restaurant order slip (8.6), not a ….
inv:invoiceHeader
empty(inv:totalCancelDeliveryOrders) or $type = '8.6'
Checked with myDATA 2.0.2