# NL-R-009

Source: https://xmlvalid.com/rules/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)

- Level: error
- Rule sets: Peppol BIS Billing 3.0 rules 3.0.21
- Context: `cac:OrderLineReference/cbc:LineID[$supplierCountryIsNL]`
- Test: `exists(/*/cac:OrderReference/cbc:ID)`

Validate a document against these rules: https://xmlvalid.com/validate
