Context
MX
/ubl:Invoice/cac:InvoiceLine/cac:TaxTotal[cbc:TaxAmount/@currencyID = /ubl:Invoice/cbc:DocumentCurrencyCode]/cac:TaxSubtotal
VRBL-Invoice-MX-1p0 - Invoice Line Invoice Tax Subtotal Group
Mexico |
VRBL-Invoice-MX-1p0
| Context ID | INV1336 |
| Usage | M |
Description
A group of elements providing information about the line tax breakdown.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | cbc:TaxableAmount |
Invoice Line Invoice 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 Invoice Tax Subtotal Amount
The amount of this tax subtotal. |
1..1 |
| M | cac:TaxCategory |
Invoice Line Invoice Tax Subtotal Category Group
The tax category applicable to this subtotal. |
1..1 |
Details
Example: VRBL_MX_BasicInvoice.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:InvoiceLine>
<!-- ... omitted for readability -->
<cac:TaxTotal>
<!-- ... omitted for readability -->
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="MXN">3000</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="MXN">480</cbc:TaxAmount>
<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 -->
</cac:InvoiceLine>
</ubl:Invoice>