/ubl:Invoice/cac:InvoiceLine
Invoice Line
| Context ID | INV1150 |
| Cardinality | 1..n |
| Usage | M+ |
| Format | |
| Mandate Business Term Code | BG-25 |
| Final Format Path | /Invoice/cac:InvoiceLine |
Description
A group of business terms providing information on individual Invoice lines.
It is important to remark that due to the possibility of sending sublines in EXTENDED-CTC, a second mapping including the XPATH from VRBL /ubl:Invoice/cac:InvoiceLine/cac:SubInvoiceLine logic is detailed along the lines section.
Child elements
| Cardinality | Usage | Description | Element |
|---|---|---|---|
| 0..1 | O | Invoice Line Extensions Group | cec:UBLExtensions |
| 1..1 | M |
Invoice Line ID
An identifier for this invoice line. |
cbc:ID |
| 0..n | O |
Invoice Line Note
Free-form text conveying information that is not contained explicitly in other structures. |
cbc:Note |
| 0..1 | M |
Invoiced Quantity
The quantity (of items) on this invoice line. |
cbc:InvoicedQuantity |
| 1..1 | M |
Invoice Line Net Amount
The total amount for this invoice line, including allowance charges but net of taxes. |
cbc:LineExtensionAmount |
| 0..1 | O |
Invoice Line Buyer Accounting Reference
The buyer's accounting cost centre for this invoice line, expressed as text. |
cbc:AccountingCost |
| 0..n | O |
Invoice Line Period
An invoice period to which this invoice line applies. |
cac:InvoicePeriod |
| 0..n | O |
Order Line Reference
A reference to an order line associated with this invoice line. |
cac:OrderLineReference |
| 0..n | O |
Despatch Line Reference
A reference to a despatch line associated with this invoice line. |
cac:DespatchLineReference |
| 0..n | O |
Invoice Line Receipt Line Reference Group
A reference to a receipt line associated with this invoice line. |
cac:ReceiptLineReference |
| 0..n | C |
Invoice Line Billing Reference Group
A reference to a billing document associated with this invoice line. |
cac:BillingReference |
| 0..n | O* |
Line Document Reference
A reference to a document associated with this invoice line. |
cac:DocumentReference |
| 0..n | C |
Invoice Line Delivery Group
A delivery associated with this invoice line. |
cac:Delivery |
| 0..n | O* |
Invoice Line Allowances
An allowance or charge associated with this invoice line. |
cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false'] |
| 0..n | O* |
Invoice Line Charges
An allowance or charge associated with this invoice line. |
cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true'] |
| 0..n | O |
Invoice Line Invoice Tax
A total amount of taxes of a particular kind applicable to this invoice line. |
cac:TaxTotal[cbc:TaxAmount/@currencyID = /ubl:Invoice/cbc:DocumentCurrencyCode] |
| 0..n | O |
Invoice Line Accounting Tax
A total amount of taxes of a particular kind applicable to this invoice line. |
cac:TaxTotal[cbc:TaxAmount/@currencyID = /ubl:Invoice/cbc:TaxCurrencyCode] |
| 1..1 | M |
Item Information
The item associated with this invoice line. |
cac:Item |
| 0..1 | M |
Price Details
The price of the item associated with this invoice line. |
cac:Price |
| 0..n | C |
Sub Invoice Line Group
An invoice line subsidiary to this invoice line. |
cac:SubInvoiceLine |
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-FR-CIUS-1p0-13 | When the Invoice Line does not contain a Sub Invoice Line Group and the Invoice Line Information Only Indicator is not true, the Invoiced Item Tax Category Code used for VAT must exist within the Invoice Line. |
| VRBL-INV-FR-CIUS-1p0-14 | When the Invoice Line does not contain a Sub Invoice Line Group and the Invoice Line Information Only Indicator is not true, the Invoiced Quantity must exist within the Invoice Line. |
| VRBL-INV-FR-CIUS-1p0-16 | When the Invoice Line does not contain a Sub Invoice Line Group and the Invoice Line Information Only Indicator is not true, the Invoice Line Net Amount must exist within the Invoice Line. |
| VRBL-INV-FR-CIUS-1p0-17 | When the Invoice Line does not contain a Sub Invoice Line Group and the Invoice Line Information Only Indicator is not true, the Item Net Price must exist within the Invoice Line. |
| VRBL-INV-FR-CIUS-1p0-154 | When the Invoice Line does not contain a Sub Invoice Line Group, the Invoice Line Information Only Indicator is not true and the Invoice Type Code represents a credit and no Preceding Invoice Reference is provided, the Invoice Line Invoice Document Reference ID must exist within the Invoice Line. |
| VRBL-INV-FR-CIUS-1p0-155 | When the Invoice Line does not contain a Sub Invoice Line Group, the Invoice Line Information Only Indicator is not true and the Invoice Type Code represents a credit and no Preceding Invoice Reference is provided, the Invoice Line Invoice Document Reference Issue Date must exist within the Invoice Line. |
| VRBL-INV-FR-CIUS-1p0-214 | The Invoice Line expects a maximum of one Line Document Reference used for Associated Invoices. |
| VRBL-INV-FR-CIUS-1p0-215 | The Invoice Line expects a maximum of one Line Document Reference used for Framework Agreement Number. |
| VRBL-INV-EN16931-S-242 | The Purchase Order Line Reference is expected no more than 1 times within the Invoice Line. |
| VRBL-INV-EN16931-S-243 | The Invoice Line Period is expected no more than 1 times within the Invoice Line. |
| VRBL-INV-EN16931-S-246 | The Item Description is expected no more than 1 times within the Invoice Line. |
| VRBL-INV-EN16931-M-98 | The Invoice Line ID must be provided in the Invoice Line. |
| VRBL-INV-EN16931-M-102 | The Item Name must be provided in the Invoice Line. |
| VRBL-INV-EN16931-M-105 | The Item Gross Price must not be negative. |