/ubl:Invoice/cac:InvoiceLine/cac:WithholdingTaxTotal/cac:TaxSubtotal

Invoice Line Withholding Tax Subtotal Group

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

Description

A group of elements providing information about tax breakdown by different categories, rates and exemption reasons.

Child elements
Usage Element Description Cardinality
M cbc:TaxableAmount Invoice Line Withholding Tax Subtotal Taxable Amount

The net amount to which the tax percent (rate) is applied to calculate the tax amount.

0..1
M cbc:TaxAmount Invoice Line Withholding Tax Subtotal Amount

The amount of this tax subtotal.

1..1
O cac:TaxCategory Invoice Line Withholding Tax Subtotal Category Group

The tax category applicable to this subtotal.

1..1
Details

Example: VRBL_MX_invoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:WithholdingTaxTotal>
      <!-- ... omitted for readability -->
      <cac:TaxSubtotal>
        <cbc:TaxableAmount currencyID="MXN">20000</cbc:TaxableAmount>
        <cbc:TaxAmount currencyID="MXN">1600</cbc:TaxAmount>
        <cac:TaxCategory>
          <cbc:ID>S</cbc:ID>
          <cbc:Percent>8.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:WithholdingTaxTotal>
    <!-- ... omitted for readability -->
  </cac:InvoiceLine>
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-MX-1p0-107 The Invoice Line Withholding Tax Subtotal Taxable Amount must exist within the Invoice Line Withholding Tax Subtotal Group.