/ubl:Invoice/cac:InvoiceLine/cac:SubInvoiceLine

Sub Invoice Line Group

France | VRBL-Invoice-FR-CIUS-1p0
Context ID INV1477
Usage C
Usage Description

To be used to indicate sublines if needed

Format
Mandate Business Term Code BG-25
Final Format Path /Invoice/cac:InvoiceLine/..

Description

An invoice line subsidiary to this invoice line.

In EXTENDED-CTC, it is possible to indicate sublines. Being cac:SubInvoiceLine the same type of cac:InvoiceLine, the mappings of the BT are the same as detailed in all the cac:InvoiceLine previous fields, with the exception of the mapping of EXT-FR-FE-163-000 and EXT-FR-FE-162-00, which are done with the relation 'InvoiceLine' containing 0..n 'SubInvoiceLine' elements.

Child elements
Usage Element Description Cardinality
O cec:UBLExtensions Sub Invoice Line Extensions Group 0..1
O cbc:ID Sub Invoice Line Position Number

An identifier for this invoice line.

1..1
O cbc:InvoicedQuantity Sub Invoice Line Quantity

The quantity (of items) on this invoice line.

0..1
O cbc:LineExtensionAmount Sub Invoice Line Extension Amount

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

1..1
O cbc:AccountingCost Sub Invoice Line Accounting Cost

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

0..1
O cac:InvoicePeriod Sub Invoice Line Invoice Period Group

An invoice period to which this invoice line applies.

0..n
O cac:OrderLineReference Sub Invoice Line Order Line Reference Group

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

0..n
O cac:Item Sub Invoice Line Item Group

The item associated with this invoice line.

1..1
O cac:Price Sub Invoice Line Price Group

The price of the item associated with this invoice line.

0..1
Details

vrbl-invoice-fr-cius-1p0

The following specific mapping are done to cover the required hierarchy between cac:InvoiceLine and cac:SubInvoiceLine transferred to the CIUS-FR specification.

When at least one /Invoice/cac:InvoiceLine/cac:SubInvoiceLineexists in a /Invoice/cac:InvoiceLine group, then:

  • EXT-FR-FE-163 is mapped as 'GROUP' for /ubl:Invoice/cac:InvoiceLine getting mapped.
  • EXT-FR-FE-163 is mapped as 'DETAIL' for /ubl:Invoice/cac:InvoiceLine/cac:SubInvoiceLine getting mapped
  • /ubl:Invoice/cac:InvoiceLine/cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID is mapped from /Invoice/cbc:ID for all lines and sublines.
  • /ubl:Invoice/cac:InvoiceLine/cac:BillingReference/cac:BillingReferenceLine/cbc:ID is mapped with the /ubl:Invoice/cac:InvoiceLine/cbc:ID, parent of the /ubl:Invoice/cac:InvoiceLine/cac:SubInvoiceLine getting mapped. This information relates the subline with the parent line in EXTENDED-CTC.

Example: FR-B2B-max.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:SubInvoiceLine>
      <ext:UBLExtensions>
        <ext:UBLExtension>
          <ext:ExtensionContent>
            <vrbl:SubInvoiceLineExtension>
              <vrbl:Note code="SUR">Subline 1</vrbl:Note>
            </vrbl:SubInvoiceLineExtension>
          </ext:ExtensionContent>
        </ext:UBLExtension>
      </ext:UBLExtensions>
      <cbc:ID>4.1</cbc:ID>
      <cbc:InvoicedQuantity unitCode="HUR">2.0000</cbc:InvoicedQuantity>
      <cbc:LineExtensionAmount currencyID="EUR">10.00</cbc:LineExtensionAmount>
      <cbc:AccountingCost>BUY_ACC_REF3</cbc:AccountingCost>
      <cac:InvoicePeriod>
        <cbc:StartDate>2025-10-01</cbc:StartDate>
        <cbc:EndDate>2025-10-31</cbc:EndDate>
      </cac:InvoicePeriod>
      <cac:OrderLineReference>
        <cbc:LineID>2</cbc:LineID>
      </cac:OrderLineReference>
      <cac:Item>
        <cbc:Description>Combined article ABC - Part 1</cbc:Description>
        <cbc:Name>SUPPORT KIT Part 1</cbc:Name>
        <cac:ClassifiedTaxCategory>
          <cbc:ID>S</cbc:ID>
          <cbc:Percent>20.00</cbc:Percent>
          <cac:TaxScheme>
            <cbc:ID>VAT</cbc:ID>
          </cac:TaxScheme>
        </cac:ClassifiedTaxCategory>
      </cac:Item>
      <cac:Price>
        <cbc:PriceAmount currencyID="EUR">5.0000</cbc:PriceAmount>
        <cbc:BaseQuantity unitCode="HUR">1.0000</cbc:BaseQuantity>
        <cac:AllowanceCharge>
          <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
          <cbc:Amount currencyID="EUR">3.0000</cbc:Amount>
          <cbc:BaseAmount currencyID="EUR">8.0000</cbc:BaseAmount>
        </cac:AllowanceCharge>
      </cac:Price>
    </cac:SubInvoiceLine>
    <!-- ... omitted for readability -->
  </cac:InvoiceLine>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-FR-CIUS-1p0-156 When the Invoice Type Code represents a credit and no Invoice Document Reference is provided, the Sub Invoice Line Invoice Document Reference ID must exist within the Sub Invoice Line Group.
VRBL-INV-FR-CIUS-1p0-157 When the Invoice Type Code represents a credit and no Invoice Document Reference is provided, the Sub Invoice Line Invoice Document Reference Issue Date must exist within the Sub Invoice Line Group.
VRBL-INV-FR-CIUS-1p0-218 The Sub Invoice Line Group expects a maximum of one Sub Invoice Line Document Reference Group used for Associated Invoices.
VRBL-INV-FR-CIUS-1p0-219 The Sub Invoice Line Group expects a maximum of one Sub Invoice Line Document Reference Group used for Framework Agreement Number.
VRBL-INV-FR-CIUS-1p0-222 When the Sub Invoice Line Group does not contain a Sub Invoice Line Sub Invoice Line Group and the Sub Invoice Line Information Only Indicator is not true, the Sub Invoice Line Item Tax ID used for VAT must exist within the Sub Invoice Line Group.
VRBL-INV-FR-CIUS-1p0-223 When the Sub Invoice Line Group does not contain a Sub Invoice Line Sub Invoice Line Group and the Sub Invoice Line Information Only Indicator is not true, the Sub Invoice Line Quantity must exist within the Sub Invoice Line Group.
VRBL-INV-FR-CIUS-1p0-224 When the Sub Invoice Line Group does not contain a Sub Invoice Line Sub Invoice Line Group and the Sub Invoice Line Information Only Indicator is not true, the Sub Invoice Line Extension Amount must exist within the Sub Invoice Line Group.
VRBL-INV-FR-CIUS-1p0-225 When the Sub Invoice Line Group does not contain a Sub Invoice Line Sub Invoice Line Group and the Sub Invoice Line Information Only Indicator is not true, the Sub Invoice Line Price Amount must exist within the Sub Invoice Line Group.