Context
MX
/ubl:Invoice/cac:InvoiceLine
VRBL-Invoice-MX-1p0 - Invoice Line
Mexico |
VRBL-Invoice-MX-1p0
| Context ID | INV1150 |
| Usage | M+ |
Description
A group of business terms providing information on individual Invoice lines.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| O | cec:UBLExtensions |
Invoice Line Extensions Group | 0..1 |
| M | cbc:ID |
Invoice Line ID
An identifier for this invoice line. |
1..1 |
| M | cbc:InvoicedQuantity |
Invoiced Quantity
The quantity (of items) on this invoice line. |
0..1 |
| M | cbc:LineExtensionAmount |
Invoice Line Net Amount
The total amount for this invoice line, including allowance charges but net of taxes. |
1..1 |
| O | cac:OriginatorParty |
Invoice Line Originator Party Group
The party who originated the Order to which the Invoice is related. |
0..1 |
| O | cac:TaxTotal[cbc:TaxAmount/@currencyID = /ubl:Invoice/cbc:DocumentCurrencyCode] |
Invoice Line Invoice Tax
A total amount of taxes of a particular kind applicable to this invoice line. |
0..n |
| O | cac:WithholdingTaxTotal |
Invoice Line Withholding Tax
A reference to a TaxTotal class describing the amount that has been withhold by the authorities, e.g. if the creditor is in dept because of non paid taxes. |
0..n |
| M | cac:Item |
Item Information
The item associated with this invoice line. |
1..1 |
| M | cac:Price |
Price Details
The price of the item associated with this invoice line. |
0..1 |
Details
Example: VRBL_MX_BasicInvoice.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="E48">10</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="MXN">3000</cbc:LineExtensionAmount>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="MXN">480</cbc:TaxAmount>
<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>
<cac:Item>
<cbc:Name>Horas de capacitacion tema "nueva versión CFDI"</cbc:Name>
<cac:CommodityClassification>
<cbc:ItemClassificationCode listID="VRBL:MX:ProductService">86101600</cbc:ItemClassificationCode>
</cac:CommodityClassification>
<cac:ClassifiedTaxCategory>
<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:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="MXN">300</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-MX-1p0-105 | Either the Invoice Line Tax or the Invoice Line Withholding Tax must exist within the Invoice Line when the Invoiced Item Tax Category Code is equal to 'VRBL:MX:02' or 'S'. |