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

Seller Legal Registration ID

Sweden | VRBL-Invoice-SE-1p0
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.

In Sweden, this is used to provide the Swedish organization number.

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

The identification of the identification scheme.

0..1
Details

vrbl-invoice-se-1p0

Following rules apply:

  • ID must be numeric
  • ID must consist of 10 characters

Example: SE_creditnote_381.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AccountingSupplierParty>
    <cac:Party>
      <!-- ... omitted for readability -->
      <cac:PartyLegalEntity>
        <!-- ... omitted for readability -->
        <cbc:CompanyID schemeID="0007">1111111330</cbc:CompanyID>
      </cac:PartyLegalEntity>
      <!-- ... omitted for readability -->
    </cac:Party>
  </cac:AccountingSupplierParty>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-SE-1p0-9 If the Seller Legal Registration ID is marked as a Swedish Legal Entity Number, it must be 10 digits.
VRBL-INV-SE-1p0-23 If the Seller 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-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.