Context
ES
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID
VRBL-Invoice-ES-PeppolBIS-3p0 - Seller Legal Registration ID
Spain |
VRBL-Invoice-ES-PeppolBIS-3p0
| Context ID | INV0368 |
| Usage | O |
| Format | Identifier |
| Example Value | 987654321 |
| Mandate Business Term Code | BT-30 |
| Final Format Path | /ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID |
Description
An identifier issued by an official registrar that identifies the Seller as a legal entity or person.
Details
Example: ES_invoice_380_full.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AccountingSupplierParty>
<cac:Party>
<!-- ... omitted for readability -->
<cac:PartyLegalEntity>
<!-- ... omitted for readability -->
<cbc:CompanyID>DK12345678I</cbc:CompanyID>
</cac:PartyLegalEntity>
</cac:Party>
</cac:AccountingSupplierParty>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-PEPPOL-RS-78 | If the Seller Legal Registration ID is marked as a GLN, it must be 13 digits. |
| VRBL-INV-PEPPOL-RS-79 | If the Seller Legal Registration ID is marked as a GLN, its 13th digit must be the correct checksum of the other 12 digits according to the GS1 check digit calculation. |