France (CII(INV)): Invoice Line Order Reference

You can specify an order reference on the line level.

You can also model an order line reference, the sales order line reference, a reference to the purchase order, and sales order. This means you can refer to multiple orders in a single invoice.

Elements

Use the OrderLineReference element to model this information:

Element (Path)CardinalityDescription
Order Line Reference Line ID (InvoiceLine/OrderLineReference/LineID)1..1An identifier for a referenced line within a purchase order, issued by the Buyer
Order Line Reference Sales Order Line ID (InvoiceLine/OrderLineReference/SalesOrderLineID)0..1An identifier for a referenced line within a sales order
Order Line Reference Order Reference (InvoiceLine/OrderLineReference/OrderReference)0..1A group of elements providing information about the referenced purchase order
Order Line Reference Order Reference ID (InvoiceLine/OrderLineReference/OrderReference/ID)1..1An identifier for a referenced purchase order, issued by the Buyer
Order Line Reference Sales Order ID (InvoiceLine/OrderLineReference/OrderReference/SalesOrderID)1..1An identifier for a referenced sales order

Example


<ubl:Invoice>
    <!-- code omitted for clarity -->
    <cac:InvoiceLine>
        <!-- code omitted for clarity -->
        <cac:OrderLineReference>
            <cbc:LineID>00120</cbc:LineID>
            <cbc:SalesOrderLineID>12</cbc:SalesOrderLineID>
            <cac:OrderReference>
                <cbc:ID>PO12345</cbc:ID>
                <cbc:SalesOrderID>SO12345</cbc:SalesOrderID>
            </cac:OrderReference>
        </cac:OrderLineReference>
        <!-- code omitted for clarity -->
    </cac:InvoiceLine>
</ubl:Invoice>