Message

[NL-R-009] For suppliers in the Netherlands, if an order line reference (cac:OrderLineReference/cbc:LineID) is used, there must be an order reference on the document level (cac:OrderReference/cbc:ID)

Context
cac:OrderLineReference/cbc:LineID[$supplierCountryIsNL]
Test
exists(/*/cac:OrderReference/cbc:ID)