Line Level Document Reference

You can reference an additional document on the line level.

Use the Invoice/InvoiceLine/DocumentReference/ to reference a document on a specific line.

Elements

ElementDescription
Invoice/InvoiceLine/DocumentReference/IDSpecify the code.
Invoice/InvoiceLine/DocumentReference/ID [@schemeID]Specify the type of document that is referenced.
Invoice/InvoiceLine/DocumentReference/IssueDateSpecify the issue date.

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>