/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID

Buyer Party ID

Italy | VRBL-Invoice-IT-1p2
Context ID INV0419
Usage M
Format Identifier
Mandate Business Term Code 1.4.1.3.5, 1.4.1.2

Description

Unique identifier for the buyer. If no scheme identifier is used, the identifier is the buyer number assigned by the seller.

In Italy this element is used to provide the buyer EORI number (Economic Operator Registration and Identification number) and to provide the Italian fiscal code. The Italian fiscal code is different from the VAT ID. Although in some cases the only difference is that the VAT ID uses the country prefix IT.

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

The identification of the identification scheme.

0..1
Details

Example: IT_creditnote_TD04.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AccountingCustomerParty>
    <cac:Party>
      <cac:PartyIdentification>
        <cbc:ID schemeID="0210">01598570354</cbc:ID>
      </cac:PartyIdentification>
      <!-- ... omitted for readability -->
    </cac:Party>
  </cac:AccountingCustomerParty>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-IT-1p2-97 If the Buyer Party ID is marked as an Italian Codice Fiscale, it must have the correct format. In case of legal persons, it must be an 11-digit number. In case of natural persons, it must be a 16 character alphanumeric string with the correct structure.
VRBL-INV-IT-1p2-98 When the Buyer Party ID Scheme ID is '0210', the Buyer Party ID must only use alpha-numeric characters.
VRBL-INV-IT-1p2-99 When used for EORI, the Buyer Party ID is restricted to 13 to 17 characters.