# BR-NL-2

Source: https://xmlvalid.com/rules/BR-NL-2

> For suppliers in the Netherlands, the invoice MUST contain either the buyer reference (cbc:BuyerReference) or the order reference (cac:OrderReference/cbc:ID)

- Level: error
- Rule sets: SI-UBL 2.0 rules (NLCIUS, UBL) 2.0.3.13, SI-UBL 2.0 G-account rules (NLCIUS, UBL) 1.0.2.13
- Context: `/*[$s]`
- Test: `(cbc:BuyerReference) or (cac:OrderReference/cbc:ID)`

> For suppliers in the Netherlands, the invoice MUST contain either the buyer reference (ram:BuyerReference) or the order reference (ram:BuyerOrderReferencedDocument/ram:IssuerAssignedID)

- Level: error
- Rule sets: NLCIUS rules (CII) 1.0.3.13
- Context: `ram:ApplicableHeaderTradeAgreement[$s]`
- Test: `(ram:BuyerReference) or (ram:BuyerOrderReferencedDocument/ram:IssuerAssignedID)`

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