/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 M Line Document Reference
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 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

Rules

Rule ID Error Message
VRBL-INV-SA-1p2-103 If the Line Document Reference ID is provided, then Invoice Line Net Amount, Invoice Line Tax Amount, Invoice Line Tax Rounding Amount and Item Net Price must be 0 (Zero), if exist.
VRBL-INV-SA-1p2-104 If the 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 Net 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 Invoiced Item Tax Category Code is "Not subject to VAT", the Invoiced Item Tax Rate must be 0 (zero), if exist.
VRBL-INV-SA-1p2-114 The Invoiced Item Tax Rate 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 Price Charge Indicator must be 'false'.
VRBL-INV-SA-1p2-119 The Invoice Line Extension Amount Currency Code 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 Invoiced Quantity must be positive.
VRBL-INV-SA-1p2-123 The Invoice Line Net Amount must be positive.
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.