/ubl:Invoice/cac:InvoiceLine

Invoice Line

Germany | VRBL-Invoice-DE-PeppolBIS-3p0
Context ID INV1150
Usage M+
Mandate Business Term Code BG-25
Final Format Path /ubl:Invoice/cac:InvoiceLine

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

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <cbc:ID>1</cbc:ID>
    <cbc:Note>Testing note on line level</cbc:Note>
    <cbc:InvoicedQuantity unitCode="C62">10</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount currencyID="EUR">4000.00</cbc:LineExtensionAmount>
    <cbc:AccountingCost>Konteringsstreng</cbc:AccountingCost>
    <cac:AllowanceCharge>
      <cbc:ChargeIndicator>true</cbc:ChargeIndicator>
      <cbc:AllowanceChargeReasonCode>CG</cbc:AllowanceChargeReasonCode>
      <cbc:AllowanceChargeReason>Cleaning</cbc:AllowanceChargeReason>
      <cbc:MultiplierFactorNumeric>1</cbc:MultiplierFactorNumeric>
      <cbc:Amount currencyID="EUR">1</cbc:Amount>
      <cbc:BaseAmount currencyID="EUR">100</cbc:BaseAmount>
    </cac:AllowanceCharge>
    <cac:AllowanceCharge>
      <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
      <cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>
      <cbc:AllowanceChargeReason>Discount</cbc:AllowanceChargeReason>
      <cbc:Amount currencyID="EUR">101</cbc:Amount>
    </cac:AllowanceCharge>
    <cac:Item>
      <cbc:Description>Description of item</cbc:Description>
      <cbc:Name>item name</cbc:Name>
      <cac:SellersItemIdentification>
        <cbc:ID>97iugug876</cbc:ID>
      </cac:SellersItemIdentification>
      <cac:OriginCountry>
        <cbc:IdentificationCode>NO</cbc:IdentificationCode>
      </cac:OriginCountry>
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode listID="SRV">09348023</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>25.0</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount currencyID="EUR">410</cbc:PriceAmount>
      <cbc:BaseQuantity unitCode="C62">1</cbc:BaseQuantity>
      <cac:AllowanceCharge>
        <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
        <cbc:Amount currencyID="EUR">40</cbc:Amount>
        <cbc:BaseAmount currencyID="EUR">450</cbc:BaseAmount>
      </cac:AllowanceCharge>
    </cac:Price>
  </cac:InvoiceLine>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PEPPOL-RS-24 The Item Price Base Quantity must be a positive number above zero.
VRBL-INV-PEPPOL-RS-25 The Line Document Reference is expected no more than 1 times within the Invoice Line.
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.