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

Buyer Legal Registration ID

Portugal | VRBL-Invoice-PT-2p1
Context ID INV0462
Usage O

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: PT_creditnote_381.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AccountingCustomerParty>
    <cac:Party>
      <!-- ... omitted for readability -->
      <cac:PartyLegalEntity>
        <!-- ... omitted for readability -->
        <cbc:CompanyID schemeID="0105">PT987654321</cbc:CompanyID>
      </cac:PartyLegalEntity>
      <!-- ... omitted for readability -->
    </cac:Party>
  </cac:AccountingCustomerParty>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PT-2p1-85 The Buyer Legal Registration ID does not meet the defined format: alphanumeric with size between 1 and 50.
VRBL-INV-PT-2p1-86 The value of the Buyer Legal Registration ID Scheme ID must be contained in ISO 6523 ICD [VRBL-CL-PT-IdentificationSchemeID].