/ubl:Invoice/cac:InvoiceLine

Invoice Line

Germany | VRBL-Invoice-DE-ZUGFeRD-2p3
Context ID INV1150
Usage M+
Mandate Business Term Code BG-25

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
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
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: DE-B2B_invoice_380_four_lines.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <cbc:ID>1.0</cbc:ID>
    <cbc:InvoicedQuantity unitCode="XPP">1.0</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount currencyID="EUR">202.8</cbc:LineExtensionAmount>
    <cac:Item>
      <cbc:Description>Article Description 1</cbc:Description>
      <cbc:Name>Article Name 1</cbc:Name>
      <cac:SellersItemIdentification>
        <cbc:ID>XYZA0001</cbc:ID>
      </cac:SellersItemIdentification>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>19</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount currencyID="EUR">202.8</cbc:PriceAmount>
      <cbc:BaseQuantity unitCode="XPP">1.0</cbc:BaseQuantity>
    </cac:Price>
  </cac:InvoiceLine>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
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.