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

Seller Tax ID

Mexico | VRBL-Invoice-MX-1p0
Context ID INV0333
Usage M

Description

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

Details

Example: VRBL_MX_BasicInvoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AccountingSupplierParty>
    <cac:Party>
      <!-- ... omitted for readability -->
      <cac:PartyTaxScheme>
        <cbc:CompanyID>EKU9003173C9</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-MX-1p0-47 When the Seller Country Code is MX or is empty, the Seller Tax ID must be a valid RFC. For a Legal Entity, 12 characters are expected (3 Letters, 6 Digits, 3 Alphanumeric). For a Natural Person, 13 characters are expected (4 Letters, 6 Digits, 3 Alphanumeric).
VRBL-INV-CORE-549 When Seller Tax Scheme Code is 'VAT', the allowed maximum number of characters for the Seller Tax ID is 25.