/ubl:Invoice/cac:InvoiceLine
VRBL-Invoice-ES-FacturaE-3p2 - Invoice Line
| Context ID | INV1150 |
| Usage | M+ |
Description
A group of business terms providing information on individual Invoice lines.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| 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:OrderLineReference |
Order Line Reference
A reference to an order line associated with this invoice line. |
0..n |
| M | cac:DocumentReference |
Line Document Reference
A reference to a document associated with this invoice line. |
0..n |
| O | cac:Delivery |
Invoice Line Delivery Group
A delivery associated with this invoice line. |
0..n |
| O* | cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false'] |
Invoice Line Allowances
An allowance or charge associated with this invoice line. |
0..n |
| O* | cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true'] |
Invoice Line Charges
An allowance or charge associated with this invoice line. |
0..n |
| 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:TaxTotal[cbc:TaxAmount/@currencyID = /ubl:Invoice/cbc:TaxCurrencyCode] |
Invoice Line Accounting Tax
A total amount of taxes of a particular kind applicable to this invoice line. |
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 |
| O | cac:ItemPriceExtension |
Invoice Line Price Extension Group
The price extension, calculated by multiplying the price per unit by the quantity of items on this invoice line. |
0..1 |
Details
Example: ES_B2G_Correction_invoice.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:InvoiceLine>
<cbc:ID>01</cbc:ID>
<cbc:InvoicedQuantity unitCode="VRBL:ES-B2G:01">10</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">16140.00</cbc:LineExtensionAmount>
<cac:OrderLineReference>
<cbc:LineID>1</cbc:LineID>
<cac:OrderReference>
<cbc:ID>BuyerOrderN</cbc:ID>
<cbc:SalesOrderID>SalesOrderN</cbc:SalesOrderID>
<cbc:IssueDate>2025-02-19</cbc:IssueDate>
</cac:OrderReference>
</cac:OrderLineReference>
<cac:DocumentReference>
<cbc:ID schemeID="AAK">DeliveryNoteN</cbc:ID>
<cbc:IssueDate>2025-02-19</cbc:IssueDate>
<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>
</cac:DocumentReference>
<cac:Delivery>
<cbc:ActualDeliveryDate>2025-02-19</cbc:ActualDeliveryDate>
</cac:Delivery>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">1614.00</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">16140.00</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">1614.00</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:Percent>10.00</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VRBL:ES-B2G:01</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:Item>
<cbc:Description>Item Description</cbc:Description>
<cac:StandardItemIdentification>
<cbc:ID>1234567890128</cbc:ID>
</cac:StandardItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>10.00</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VRBL:ES-B2G:01</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">1614.00</cbc:PriceAmount>
</cac:Price>
<cac:ItemPriceExtension>
<cbc:Amount currencyID="EUR">16140.00</cbc:Amount>
</cac:ItemPriceExtension>
</cac:InvoiceLine>
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-ES-B2G-32 | The Invoice Line Price Extension Group must exist within the Invoice Line. |