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

Tax Category

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

Description

A group of business terms providing information about the tax category.

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

An identifier for this tax category.

0..1
O cbc:Percent Tax Category Rate

The tax rate for this category, expressed as a percentage.

0..1
M cac:TaxScheme Tax Scheme

The taxation scheme within which this tax category is defined.

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>
        <cbc:ID>VRBL:MX:02</cbc:ID>
        <cbc:Percent>16.00</cbc:Percent>
        <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-357 The Tax Category Code must exist within the Tax Category.
VRBL-INV-CORE-360 The Tax Category expects a maximum of one Tax Exemption Reason.
VRBL-INV-CORE-361 The Tax Scheme must exist within the Tax Category.