# NL-R-001

Source: https://xmlvalid.com/rules/NL-R-001

> For suppliers in the Netherlands, if the document is a creditnote, the document MUST contain an invoice reference (cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID)

- Level: error
- Rule sets: Peppol BIS Billing 3.0 rules 3.0.21
- Context: `cbc:CreditNoteTypeCode[$supplierCountryIsNL]`
- Test: `/*/cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID`

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