Context
DK
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID
VRBL-Invoice-DK-OIOUBL-2p0 - Buyer Party ID
Denmark |
VRBL-Invoice-DK-OIOUBL-2p0
| Context ID | INV0419 |
| Usage | M |
Description
An identifier of the Buyer. If the scheme identifier is not used than the ID is the buyer number provided by the seller
For DK OIOUBL, identify companies and individuals using a P number, CPR number, DUNS number, GLN, or another valid NemKonto register ID, and apply the corresponding scheme identifier.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| O | @schemeID |
Buyer Party ID Scheme ID
The identification of the identification scheme. |
0..1 |
Details
vrbl-invoice-dk-oioubl-2p0
In VRBL, Danish identifiers are mapped as follows:
For the Danish CVR Number use Buyer Legal Registration Identifier cac:Party/cac:PartyLegalEntity/cbc:CompanyID
For the Danish SE Number use Buyer Tax Scheme Identifier cac:Party/cac:PartyTaxScheme/cbc:CompanyID
Example: DK_OIOUBL_380_invoice_tax_category_Z.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AccountingCustomerParty>
<cac:Party>
<!-- ... omitted for readability -->
<cac:PartyIdentification>
<cbc:ID schemeID="0088">9506000140445</cbc:ID>
</cac:PartyIdentification>
<!-- ... omitted for readability -->
</cac:Party>
</cac:AccountingCustomerParty>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-DK-OIOUBL-2p0-104 | The value of the Buyer Party ID Scheme ID must be contained in Party Identification ID (subset of ISO 6523 ICD) [VRBL-CL-DK-OIOUBL2p0-PartyIdentificationSchemeID-ISO6523] or be contained in Party Identification ID (custom codes) [VRBL-CL-DK-OIOUBL2p0-PartyIdentificationSchemeID-OIOUBL] (prefixed by 'VRBL:DK:'). For more information visit: https://oioubl21.oioubl.dk/codelists/en/urn_oioubl_scheme_partyidentificationid-1.1.html |
| VRBL-INV-DK-OIOUBL-2p0-66 | If the Buyer Party ID is marked as a Danish CPR, it must be a valid CPR number, like '1234560000'. |
| VRBL-INV-DK-OIOUBL-2p0-67 | If the Buyer Party ID is marked as a Danish CVR, it must start with "DK" followed by 8 characters. |
| VRBL-INV-DK-OIOUBL-2p0-68 | If the Buyer Party ID is marked as a Danish P number, it must be 10 characters long. |