/ubl:Invoice/cac:InvoiceLine

Invoice Line

New Zealand | VRBL-Invoice-NZ-1p0
Context ID INV1150
Usage M+

Description

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

Child elements
Usage Element Description Cardinality
M cbc:ID Invoice Line ID

An identifier for this invoice line.

1..1
O cbc:Note Invoice Line Note

Free-form text conveying information that is not contained explicitly in other structures.

0..n
M cbc:InvoicedQuantity Invoiced Quantity

The quantity (of items) on this invoice line.

0..1
M cbc:LineExtensionAmount Invoice Line Net Amount

The total amount for this invoice line, including allowance charges but net of taxes.

1..1
O cbc:AccountingCost Invoice Line Buyer Accounting Reference

The buyer's accounting cost centre for this invoice line, expressed as text.

0..1
O cac:InvoicePeriod Invoice Line Period

An invoice period to which this invoice line applies.

0..n
O cac:OrderLineReference Order Line Reference

A reference to an order line associated with this invoice line.

0..n
M cac:DocumentReference Line Document Reference

A reference to a document associated with this invoice line.

0..n
O* cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false'] Invoice Line Allowances

An allowance or charge associated with this invoice line.

0..n
O* cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true'] Invoice Line Charges

An allowance or charge associated with this invoice line.

0..n
M cac:Item Item Information

The item associated with this invoice line.

1..1
M cac:Price Price Details

The price of the item associated with this invoice line.

0..1
Details

Example: NZ_CreditNote.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <cbc:ID>1</cbc:ID>
    <cbc:InvoicedQuantity unitCode="KWH">325.2</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount currencyID="NZD">129.04</cbc:LineExtensionAmount>
    <cac:Item>
      <cbc:Name>Adjustment - reverse prior Electricity charges - all day rate NMI 9000074677</cbc:Name>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount currencyID="NZD">0.3968</cbc:PriceAmount>
    </cac:Price>
  </cac:InvoiceLine>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-53 The Invoice Line Net Amount must have a maximum of 13 digits before the decimal separator, and a maximum of 2 digits after the decimal separator.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-55 The Item Price Discount must have a maximum of 13 digits before the decimal separator, and a maximum of 2 digits after the decimal separator.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-56 The Item Gross Price must have a maximum of 13 digits before the decimal separator, and a maximum of 2 digits after the decimal separator.
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-57 The Invoiced Item Tax Rate must be greater than zero, when the Invoiced Item Tax Category Code equal "S".
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-58 The Invoiced Item Tax Rate must be zero, when the Invoiced Item Tax Category Code equal "Z".
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-59 The Invoiced Item Tax Rate must be zero, when the Invoiced Item Tax Category Code equal "E".
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-60 The Invoiced Item Tax Rate must be zero, when the Invoiced Item Tax Category Code equal "G".
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-61 The Invoiced Item Tax Rate must not exist, when the Invoiced Item Tax Category Code equal "O".
VRBL-INV-PEPPOL-PINT-AUNZ-1p0-75 An Invoice that contains a Tax Subtotal where the Tax Category ID is "O", must not contain other Invoice Line where Line Tax Information is not "O".
VRBL-INV-PEPPOL-PINT-93 The Invoice Line ID must be provided in the Invoice Line.
VRBL-INV-PEPPOL-PINT-94 The Invoiced Quantity must exist within the Invoice Line.
VRBL-INV-PEPPOL-PINT-95 The Invoiced Quantity Unit of Measure Code must exist within the Invoice Line.
VRBL-INV-PEPPOL-PINT-97 The Item Name must be provided in the Invoice Line.
VRBL-INV-PEPPOL-PINT-98 The Item Net Price must exist within the Invoice Line.
VRBL-INV-PEPPOL-PINT-99 The Item Net Price must not be negative.
VRBL-INV-PEPPOL-PINT-100 The Item Gross Price must not be negative.
VRBL-INV-PEPPOL-PINT-105 The Item Price Base Quantity must be a positive number above zero.
VRBL-INV-PEPPOL-PINT-106 The Invoice Line expects a maximum of one Line Document Reference where Invoice Line Document Reference Document Type Code is '130'.
VRBL-INV-PEPPOL-PINT-107 The Invoice Line expects a maximum of one Purchase Order Line Reference.
VRBL-INV-PEPPOL-PINT-108 The Invoice Line expects a maximum of one Invoice Line Period.
VRBL-INV-PEPPOL-PINT-109 The Invoice Line expects a maximum of one Item Price Discount.
VRBL-INV-PEPPOL-PINT-110 The Invoice Line expects a maximum of one Invoice Line Note.
VRBL-INV-PEPPOL-PINT-111 The Invoice Line expects a maximum of one Tax Exemption Reason Text.
VRBL-INV-PEPPOL-PINT-112 The Invoice Line expects a maximum of one Item Description.
VRBL-INV-PEPPOL-PINT-113 The Invoiced Item Tax Category Code must exist within the Invoice Line.
VRBL-INV-PEPPOL-PINT-114 The Invoice Line expects a maximum of one Despatch Advice Reference.