Context
DK
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID
VRBL-Invoice-DK-OIOUBL-2p0 - Buyer Legal Registration ID
Denmark |
VRBL-Invoice-DK-OIOUBL-2p0
| Context ID | INV0462 |
| Usage | M |
Description
An identifier issued by an official registrar that identifies the Buyer as a legal entity or person.
For DK OIOUBL used to provide the CVR. The CVR number is the unique identifier for a business in Denmark's Central Business Register (CVR), the official database of Danish businesses.
Details
Example: DK_OIOUBL_380_invoice_tax_category_Z.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AccountingCustomerParty>
<cac:Party>
<!-- ... omitted for readability -->
<cac:PartyLegalEntity>
<!-- ... omitted for readability -->
<cbc:CompanyID>DK87654321</cbc:CompanyID>
</cac:PartyLegalEntity>
<!-- ... omitted for readability -->
</cac:Party>
</cac:AccountingCustomerParty>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-DK-OIOUBL-2p0-106 | The value of the Buyer Legal Registration ID Scheme ID must be contained in Party Legal Entity Company ID Scheme ID (subset of ISO 6523 ICD) [VRBL-CL-DK-OIOUBL2p0-PartyLegalEntityCompanyIDSchemeID-ISO6523] or be contained in Party Legal Entity Company ID Scheme ID [VRBL-CL-DK-OIOUBL2p0-PartyLegalEntityCompanyIDSchemeID-OIOUBL] (prefixed by 'VRBL:DK:'). Allowed values: 0184, 0237 or VRBL:DK:DK:CPR, VRBL:DK:DK:CVR, VRBL:DK:ZZZ. For more information visit: https://oioubl21.oioubl.dk/codelists/en/urn_oioubl_scheme_partylegalentitycompanyid-1.1.html |
| VRBL-INV-DK-OIOUBL-2p0-76 | If the Buyer Legal Registration ID is marked as a Danish CPR, it must be a valid CPR number, like '1234560000'. |
| VRBL-INV-DK-OIOUBL-2p0-77 | If the Buyer Legal Registration ID is marked as a Danish CVR, it must start with "DK" followed by 8 characters. |