/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme/cbc:ID

Buyer Tax Scheme Code

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

Description

The scheme of the TAX identifier.

Details

Example: VRBL_MX_BasicInvoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AccountingCustomerParty>
    <cac:Party>
      <!-- ... omitted for readability -->
      <cac:PartyTaxScheme>
        <!-- ... omitted for readability -->
        <cac:TaxScheme>
          <cbc:ID>VRBL:MX:626</cbc:ID>
        </cac:TaxScheme>
      </cac:PartyTaxScheme>
      <!-- ... omitted for readability -->
    </cac:Party>
  </cac:AccountingCustomerParty>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-MX-1p0-3 The value of the Buyer Tax Scheme Code must be contained in Party Tax Scheme ID [VRBL-CL-MX-Party-TaxSchemeID] (prefixed by 'VRBL:MX:').
VRBL-INV-MX-1p0-51 For a Legal Entity, the value of the Buyer Tax Scheme Code must be contained in Party Tax Scheme ID Subset for Legal Entity [VRBL-CL-MX-Party-TaxSchemeID-LegalEntity] (prefixed by 'VRBL:MX:'). Allowed values: VRBL:MX:601, VRBL:MX:603, VRBL:MX:610, VRBL:MX:620, VRBL:MX:622, VRBL:MX:623, VRBL:MX:624, VRBL:MX:626.
VRBL-INV-MX-1p0-52 For a Natural Person, the value of the Buyer Tax Scheme Code must be contained in Party Tax Scheme ID Subset for Natural Person [VRBL-CL-MX-Party-TaxSchemeID-NaturalPerson] (prefixed by 'VRBL:MX:'). Allowed values: VRBL:MX:605, VRBL:MX:606, VRBL:MX:607, VRBL:MX:608, VRBL:MX:610, VRBL:MX:611, VRBL:MX:612, VRBL:MX:614, VRBL:MX:615, VRBL:MX:616, VRBL:MX:621, VRBL:MX:625, VRBL:MX:626.
VRBL-INV-MX-1p0-53 If the Buyer Tax ID is 'XAXX010101000' or 'XEXX010101000' the Buyer Tax Scheme Code must be VRBL:MX:616.