/ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]/cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme

Tax Scheme

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

Description

A group of business terms providing information about the taxation scheme within which this tax category.

Child elements
Usage Element Description Cardinality
M cbc:ID Tax Scheme Code

An identifier for this taxation scheme.

0..1
- cbc:TaxTypeCode Invoice Tax Subtotal Category Scheme Tax Type Code

A code signifying the type of tax.

0..1
Details

Example: VRBL_MX_BasicInvoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:TaxTotal>
    <!-- ... omitted for readability -->
    <cac:TaxSubtotal>
      <!-- ... omitted for readability -->
      <cac:TaxCategory>
        <!-- ... omitted for readability -->
        <cac:TaxScheme>
          <cbc:ID>VRBL:MX:002</cbc:ID>
          <cbc:TaxTypeCode>VRBL:MX:Rate</cbc:TaxTypeCode>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-CORE-362 The Tax Scheme Code must exist within the Tax Scheme.