/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID

Buyer Legal Registration ID

Sweden | VRBL-Invoice-SE-1p0
Context ID INV0462
Usage O
Format Identifier
Example Value 5560104525
Mandate Business Term Code BT-47
Final Format Path /ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID

Description

An identifier issued by an official registrar that identifies the Buyer as a legal entity or person.

Child elements
Usage Element Description Cardinality
O @schemeID Buyer Legal Registration ID Scheme ID

The identification of the identification scheme.

0..1
Details

Example: SE_invoice_380_full.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AccountingCustomerParty>
    <cac:Party>
      <!-- ... omitted for readability -->
      <cac:PartyLegalEntity>
        <!-- ... omitted for readability -->
        <cbc:CompanyID>1111111322</cbc:CompanyID>
      </cac:PartyLegalEntity>
    </cac:Party>
  </cac:AccountingCustomerParty>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-SE-1p0-13 If the Buyer Legal Registration ID is marked as a Swedish Legal Entity Number, it must be 10 digits.
VRBL-INV-SE-1p0-27 If the Buyer Legal Registration ID is marked as a Swedish Legal Entity Number, its 10th digit must be the correct checksum of the other 9 digits according to the Luhn algorithm.
VRBL-INV-PEPPOL-RS-86 If the Buyer Legal Registration ID is marked as a GLN, it must be 13 digits.
VRBL-INV-PEPPOL-RS-87 If the Buyer 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.