# DK-R-002

Source: https://xmlvalid.com/rules/DK-R-002

> Danish suppliers MUST provide legal entity (CVR-number)

- Level: error
- Rule sets: Peppol BIS Billing 3.0 rules 3.0.21
- Context: `ubl-creditnote:CreditNote[$DKSupplierCountry = 'DK'] | ubl-invoice:Invoice[$DKSupplierCountry = 'DK']`
- Test: `(normalize-space(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID/text()) != '')`

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