DespatchLineReference

A reference to a Dispatch Advice associated with a line.

Use this element to specify dispatch information at the line level.

Use the DespatchDocumentReference element to specify the details at the Document level.

Elements

Name (Path)CardinalityDescription
Dispatch Document Reference (/Invoice/InvoiceLine/DespatchLineReference)0..1A group of elements providing information about the dispatch advice line reference for the invoice line.
Dispatch Document Reference Line ID (/Invoice/InvoiceLine/DespatchLineReference/LineID)1..1An identifier for a referenced line within a dispatch advice.
Dispatch Document Reference Dispatch Advice (/Invoice/InvoiceLine/DespatchLineReference/DocumentReference)0..1A group of elements providing information about the referenced dispatch advice.
Dispatch Document Reference Dispatch Advice (/Invoice/InvoiceLine/DespatchLineReference/DocumentReference/ID)1..1An identifier for a referenced dispatch advice.

Restrictions

  • If the Document references charges to items that were delivered in separate dispatches. these references should be provided on the line level.
  • If an item is delivered in multiple dispatches, the Document must specify individual lines
  • If you do specify the dispatch information at the Line level, you cannot specify it at the Document level.

Example

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