---
updatedAt: 2026-06-29T09:03:22.000Z
---

# 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](https://developer.vertexinc.com/einvoicing/docs/dsp-doc-ref) element to specify the details at the Document level.

General information is provided in the [VRBL: Dispatch Advice References](https://developer.vertexinc.com/einvoicing/docs/dispatch-advice-references-1) topic.

# Elements

| Name (Path)                                                                                                     | Cardinality | Description                                                                                             |
| :-------------------------------------------------------------------------------------------------------------- | :---------- | :------------------------------------------------------------------------------------------------------ |
| Dispatch Document Reference (`/Invoice/InvoiceLine/DespatchLineReference`)                                      | 0..1        | A 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..1        | An identifier for a referenced line within a dispatch advice                                            |
| Dispatch Document Reference Dispatch Advice (`/Invoice/InvoiceLine/DespatchLineReference/DocumentReference`)    | 0..1        | A group of elements providing information about the referenced dispatch advice                          |
| Dispatch Document Reference Dispatch Advice (`/Invoice/InvoiceLine/DespatchLineReference/DocumentReference/ID`) | 1..1        | An 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

```xml
<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>
```