Croatia (CIIUR): Order Line Reference

You can model an order and the corresponding order line on the line level.

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>120</cbc:LineID>
            <cac:OrderReference>
                <cbc:ID>PO12345</cbc:ID>
            </cac:OrderReference>
        </cac:OrderLineReference>
        <!-- code omitted for clarity -->
    </cac:InvoiceLine>
</ubl:Invoice>