Peppol BIS Billing 3.0 · rule
DK-R-017
What does DK-R-017 mean? For Danish Customers it is mandatory to specify schemeID as "0184" (DK CVR-number) when PartyLegalEntity/CompanyID is used for AccountingCustomerParty
Why did my invoice fail DK-R-017?
For Danish customers, when PartyLegalEntity/CompanyID is used on the AccountingCustomerParty, its schemeID must be "0184" (the Danish CVR number scheme). This is the buyer-side counterpart of DK-R-014, ensuring the customer's legal identifier is unambiguously a CVR number. In UBL this is the schemeID attribute on cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID.
Official rule text
For Danish Customers it is mandatory to specify schemeID as "0184" (DK CVR-number) when PartyLegalEntity/CompanyID is used for AccountingCustomerParty
Common causes
- schemeID missing on the buyer's CompanyID
- A non-CVR scheme identifier (e.g. 0088 GLN) used for the buyer's legal entity ID
- The buyer's VAT number used in place of the CVR number
How do I fix it?
<cac:AccountingCustomerParty>
<cac:Party>
<cac:PartyLegalEntity>
<cbc:RegistrationName>Dansk Kunde ApS</cbc:RegistrationName>
<cbc:CompanyID schemeID="0184">87654321</cbc:CompanyID>
</cac:PartyLegalEntity>
</cac:Party>
</cac:AccountingCustomerParty>
Related rules
DK-R-002 · DK-R-003 · DK-R-004 · DK-R-005 · DK-R-006 · DK-R-007 · DK-R-008 · DK-R-009
Paste it into the live demo, or call POST /v1/validate. See the quickstart.