VRBL: Line-Level Document Reference

You can reference an additional document at the line level.

Elements

Use the DocumentReference element to model this information at the line level:

Name (Path)CardinalityDescription
Line Document Reference (/Invoice/InvoiceLine/DocumentReference)0..1A group of elements providing information about an additional document reference for the invoice line.
Line Document Reference ID (/Invoice/InvoiceLine/DocumentReference/ID)1..1An identifier for an object on which the invoice line is based, given by the Supplier.
Line Document Reference ID - Scheme Identifier (/Invoice/InvoiceLine/DocumentReference/ID @schemeID)0..1This ID helps identify the type of document. Use a value from the UNCL 1153 list list.

Restrictions

You must use one of the codes from the UNCL1153 list to specify the type of document that is being referenced.

Country-Specific Configurations

Example

<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cac:InvoiceLine>
        <!-- Code omitted for clarity -->
        <cac:DocumentReference>
            <cbc:ID schemeID="ON">PO987654</cbc:ID>
            <cbc:IssueDate>2024-05-02</cbc:IssueDate>
        </cac:DocumentReference>
        <cac:DocumentReference>
            <cbc:ID schemeID="AAK">DESP987654</cbc:ID>
            <cbc:IssueDate>2024-06-03</cbc:IssueDate>
        </cac:DocumentReference>
        <!-- Code omitted for clarity -->
    </cac:InvoiceLine>
    <!-- Code omitted for clarity -->
</ubl:Invoice>