# F-CRN158

Source: https://xmlvalid.com/rules/F-CRN158

> Address is mandatory when ID is not specified

- Level: error
- Rule sets: OIOUBL 2.1 Credit Note rules (Denmark) 1.17.2
- Context: `doc:CreditNote/cac:CreditNoteLine/cac:Delivery/cac:DeliveryLocation`
- Test: `not(cbc:ID) and not(cac:Address)`

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