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

Seller Tax ID

Portugal | VRBL-Invoice-PT-2p1
Context ID INV0333
Usage M

Description

The seller's tax identification number (also known as seller TIN).

The seller's VAT identifier (also known as seller VAT identification number) prefixed by the ISO 3166-1 alpha2 country code.

Details

Example: PT_creditnote_381.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AccountingSupplierParty>
    <cac:Party>
      <!-- ... omitted for readability -->
      <cac:PartyTaxScheme>
        <cbc:CompanyID>PT123456789</cbc:CompanyID>
        <!-- ... omitted for readability -->
      </cac:PartyTaxScheme>
      <!-- ... omitted for readability -->
    </cac:Party>
  </cac:AccountingSupplierParty>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PT-2p1-65 The Seller Tax ID does not meet the defined format: value preceded by the country code, according to ISO code list 3166-1.
VRBL-INV-PT-2p1-66 The Seller Tax ID does not meet the defined format: alphanumeric with size between 1 and 50.
VRBL-INV-CORE-549 When Seller Tax Scheme Code is 'VAT', the allowed maximum number of characters for the Seller Tax ID is 25.