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

Invoice Line Withholding Tax

Mexico | VRBL-Invoice-MX-1p0
Context ID INV1361
Usage O

Description

A group of elements providing information about withheld taxes applicable to the invoice line.

Child elements
Usage Element Description Cardinality
M cbc:TaxAmount Invoice Line Withholding Tax Amount

The total tax amount for a particular taxation scheme, e.g., VAT; the sum of the tax subtotals for each tax category within the taxation scheme.

1..1
M+ cac:TaxSubtotal Invoice Line Withholding Tax Subtotal Group

One of the subtotals the sum of which equals the total tax amount for a particular taxation scheme.

0..n
Details

Example: VRBL_MX_invoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:WithholdingTaxTotal>
      <cbc:TaxAmount currencyID="MXN">1600</cbc:TaxAmount>
      <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-109 The Invoice Line Withholding Tax Subtotal Group must exist within the Invoice Line Withholding Tax.