/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 | O* |
Invoice Line Allowance Group
An allowance or charge associated with this invoice line. |
cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false'] |
| 0..n | O* |
Invoice Line Charge Group
An allowance or charge associated with this invoice line. |
cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true'] |
| 0..n | M |
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 |
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 |
| 0..1 | - |
Invoice Line Price Extension Group
The price extension, calculated by multiplying the price per unit by the quantity of items on this invoice line. |
cac:ItemPriceExtension |
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-MY-1p0-105 | The Invoice Line Group expects Invoice Line Tax exactly once when Document Currency Code is MYR and twice when it is not MYR. |
| VRBL-INV-MY-1p0-107 | The Invoice Line Price Extension Group must exist within the Invoice Line Group. |
| VRBL-INV-MY-1p0-122 | If the Document Currency Code is not equal MYR, two Invoice Line Tax groups must be provided within each Invoice Line Group. The first one with full VAT breakdown in foreign currency second one with full VAT breakdown in MYR. |
| 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. |