/ubl:Invoice/cac:InvoiceLine

Invoice Line

Context ID INV1150
Cardinality 1..n
Usage M+

Description

A group of business terms providing information on individual Invoice lines.

Child elements

Cardinality Usage Description Element
1..1 M Invoice Line ID
An identifier for this invoice line.
cbc:ID
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..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 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 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..1 O 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 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.
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. The first one with full VAT breakdown in foreign currency second one with full VAT breakdown in MYR.