Context
MX
/ubl:Invoice/cac:WithholdingTaxTotal/cac:TaxSubtotal/cac:TaxCategory
VRBL-Invoice-MX-1p0 - Withholding Tax Subtotal Category Group
Mexico |
VRBL-Invoice-MX-1p0
| Context ID | INV1105 |
| Usage | M |
Description
The tax category applicable to this subtotal.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | cbc:ID |
Withholding Tax Subtotal Tax ID
An identifier for this tax category. |
0..1 |
| O | cbc:Percent |
Withholding Tax Subtotal Tax Percent
The tax rate for this category, expressed as a percentage. |
0..1 |
| O | cac:TaxScheme |
Withholding Tax Subtotal Category Scheme Group
The taxation scheme within which this tax category is defined. |
0..1 |
Details
Example: VRBL_MX_invoice.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:WithholdingTaxTotal>
<!-- ... omitted for readability -->
<cac:TaxSubtotal>
<!-- ... omitted for readability -->
<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 -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-MX-1p0-120 | The Withholding Tax Subtotal Tax ID must exist within the Withholding Tax Subtotal Category Group. |
| VRBL-INV-MX-1p0-121 | The Withholding Tax Subtotal Tax Percent must exist within the Withholding Tax Subtotal Category Group. |