/ubl:Invoice/cac:InvoiceLine
Invoice Line Group
| Context ID | INV1150 |
| Cardinality | 1..n |
| Usage | M+ |
Description
A line describing an invoice item.
A group of business terms providing information on individual Invoice lines.
Child elements
| Cardinality | Usage | Description | Element |
|---|---|---|---|
| 1..1 | M |
Invoice Line Position Number
An identifier for this invoice line. |
cbc:ID |
| 0..1 | M |
Invoice Line Quantity
The quantity (of items) on this invoice line. |
cbc:InvoicedQuantity |
| 1..1 | M |
Invoice Line Extension Amount
The total amount for this invoice line, including allowance charges but net of taxes. |
cbc:LineExtensionAmount |
| 0..n | M |
Invoice Line Document Reference Group
A reference to a document associated with this invoice line. |
cac:DocumentReference |
| 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] |
| 1..1 | M |
Invoice Line Group
The item associated with this invoice line. |
cac:Item |
| 0..1 | M |
Invoice Line Price Group
The price of the item associated with this invoice line. |
cac:Price |
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-SA-1p2-103 | If the Invoice Line Document Reference ID is provided, then Invoice Line Extension Amount, Invoice Line Tax Amount, Invoice Line Tax Rounding Amount and Invoice Line Price Amount must be 0 (Zero), if exist. |
| VRBL-INV-SA-1p2-104 | If the Invoice Line Document Reference ID is provided in an Invoice Line, then the following data is mandatory to provide in that invoice line - Invoice Line Tax Subtotal Amount, Invoice Line Tax Subtotal Tax Percent, Invoice Line Tax Subtotal Taxable Amount. |
| VRBL-INV-SA-1p2-105 | An Invoice line Invoice Line Tax Subtotal Tax ID is "Zero rated" the Invoice Line Tax Subtotal Tax Percent must be 0 (zero). |
| VRBL-INV-SA-1p2-106 | An Invoice line where the Invoice Line Tax Subtotal Tax ID is "Exempt from VAT" the Invoice Line Tax Subtotal Tax Percent must be 0 (zero). |
| VRBL-INV-SA-1p2-107 | An Invoice line where the Invoice Line Tax Subtotal Tax ID is "Not subject to VAT" the Invoice Line Tax Subtotal Tax Percent must be 0 (zero). |
| VRBL-INV-SA-1p2-109 | The Invoice Line Tax Subtotal Taxable Amount and Invoice Line Tax Subtotal Amount must have a maximum two decimals. |
| VRBL-INV-SA-1p2-110 | The Line Item Tax Sub Total Tax Inclusive Amount = Invoice Line Extension Amount + Invoice Line Tax Amount. |
| VRBL-INV-SA-1p2-111 | In case of a tax invoice the Invoice Line Tax Amount is mandatory. |
| VRBL-INV-SA-1p2-112 | The Line Item Tax Sub Total Tax Inclusive Amount is mandatory for Invoice Simplified Invoice Indicator 'true'. |
| VRBL-INV-SA-1p2-113 | An Invoice line where the Invoice Line Tax ID is "Not subject to VAT", the Invoice Line Tax Percent must be 0 (zero), if exist. |
| VRBL-INV-SA-1p2-114 | The Invoice Line Tax Percent must be from 0.00 to 100.00, with maximum two decimals.Only numerals are accepted, the percentage symbol (%) is not allowed. |
| VRBL-INV-SA-1p2-115 | The Invoice Line Tax Amount must have a maximum two decimals. |
| VRBL-INV-SA-1p2-116 | The Invoice Line Tax Rounding Amount must have a maximum two decimals. |
| VRBL-INV-SA-1p2-117 | The Invoice Line Price Allowance Charge Indicator must be 'false'. |
| VRBL-INV-SA-1p2-119 | The Invoice Line Extension Amount Currency ID must have the same value as the Document Currency Code. |
| VRBL-INV-SA-1p2-120 | The Invoice Line Document Reference Issue Time must be in the format: hh:mm:ss for time expressed in AST or hh:mm:ssZ for time expressed in UTC.(eg 19:20:30) |
| VRBL-INV-SA-1p2-121 | The Invoice Line Document Reference Issue Date must be formatted YYYY-MM-DD, in accordance to the "Calendar date complete representation" as specified by ISO 8601:2004, format YYYY-MM-DD. |
| VRBL-INV-SA-1p2-122 | The Invoice Line Quantity must be positive. |
| VRBL-INV-SA-1p2-123 | The Invoice Line Extension Amount must be positive. |
| VRBL-INV-EN16931-S-242 | The Invoice Line Order Reference Position Number is expected no more than 1 times within the Invoice Line Group. |
| VRBL-INV-EN16931-S-243 | The Invoice Line Invoice Period Group is expected no more than 1 times within the Invoice Line Group. |
| VRBL-INV-EN16931-S-244 | The Invoice Line Price Allowance Charge Amount is expected no more than 1 times within the Invoice Line Group. |
| VRBL-INV-EN16931-S-246 | The Invoice Line Description is expected no more than 1 times within the Invoice Line Group. |
| VRBL-INV-EN16931-M-98 | The Invoice Line Position Number must be provided in the Invoice Line Group. |
| VRBL-INV-EN16931-M-102 | The Invoice Line Name must be provided in the Invoice Line Group. |
| VRBL-INV-EN16931-M-105 | The Invoice Line Price Allowance Charge Base Amount must not be negative. |
| VRBL-INV-CORE-419 | The Invoice Line Group expects a maximum of one Invoice Line Note. |
| VRBL-INV-CORE-569 | The Invoice Line Group expects a maximum of one Invoice Line Invoice Tax. |
| VRBL-INV-CORE-570 | The Invoice Line Group expects a maximum of one Invoice Line Accounting Tax. |