Peppol BIS Billing 3.0.21 · UBL

DK-R-002: Danish suppliers MUST provide legal entity (CVR-number)

Peppol BIS Billing 3.0.21 · UBL

fatalcountry

Original rule text

[DK-R-002]-Danish suppliers MUST provide legal entity (CVR-number)

Stored validation assertion
(normalize-space(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID/text()) != '')

DK-R-002 is a fatal rule in the country layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected.

What this rule requires

For UBL invoices and credit notes where the supplier's country code is 'DK' (Denmark), the supplier's legal entity identifier (CompanyID) under cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID must not be empty or whitespace. The rule is fatal, so a document with a Danish supplier but no legal entity identifier is rejected.

How to fix

Set cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID to the Danish CVR number. If the invoice is generated by a system, configure the supplier master data to include the CVR number so it is output in this element.

Guidance on this rule. The original text above is authoritative.

Where to go next

No published Peppol BIS Billing UBL release comparison lists a change to DK-R-002.

Validate an invoice against these rules · All release changes