OrderLineReference

Use this element to reference an order at the Line level.

Alternatively, you can use the OrderReference element to specify this information at the Document level.

General information is provided in the VRBL: Sales and Order References topic.

Elements

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

Country-Specific configuration

Example

<Invoice>
    <!-- code omitted for clarity -->
    <cac:InvoiceLine>
        <!-- code omitted for clarity -->
        <cac:OrderLineReference>
            <cbc:LineID>120</cbc:LineID>
            <cac:OrderReference>
                <cbc:ID>PO12345</cbc:ID>
            </cac:OrderReference>
        </cac:OrderLineReference>
        <!-- code omitted for clarity -->
    </cac:InvoiceLine>
</Invoice>