---
title: "Despatch advice V3.2 · Pip3B2AdvanceShipmentNotificationType"
canonical: "https://knowledge-hub.onetrail.com/space/docs/725680161/Despatch%20advice%20V3.2%20%C2%B7%20Pip3B2AdvanceShipmentNotificationType"
format: markdown
---
**Complex type** in namespace `http://www.onetrail.net` · part of [Advance Shipment Notification V3.2](https://onetrail.atlassian.net/wiki/spaces/docs/pages/718701253)

## Elements

| # | Element | Type | Occurs | Description |
| --- | --- | --- | --- | --- |
| 1 | **AdvancedShipmentNotification** [required] | [AdvancedShipmentNotificationType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/726564897) | 1..1 |  |
| 2 | **fromRole** [required] | [roleType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/725549065) | 1..1 | In general, the fromRole identifies the sender of the message, for the Advanced Shipment Notification, the fromRole identifies the seller. |
| 3 | **GlobalDocumentFunctionCode** [required] | [GlobalDocumentFunctionCodeType3B2](https://onetrail.atlassian.net/wiki/spaces/docs/pages/718701253/XSD+documentation+despatch+advice#XSDdocumentationdespatchadvice-GlobalDocumentFunctionCodeType3B2)  
`Notification` `Confirmation` | 1..1 | Fixed values are: DespatchAdvice<br>- 'Notification' ProofOfDelivery
- 'Confirmation'. |
| 4 | **thisDocumentGenerationDateTime** [required] | [DateTimeType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/725450832) | 1..1 | Generation date/time of this Advanced Shipment Notification document. |
| 5 | **thisDocumentIdentifier** [required] | [ProprietaryDocumentIdentifierType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/727121964) | 1..1 | Seller assigned unique reference for this Advanced Shipment Notification. |
| 6 | **toRole** [required] | [roleType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/725549065) | 1..1 | In general, the toRole identifies the recipient of the message, for the Advanced Shipment Notification, the toRole identifies the buyer. |

## Used by

- Root element **Pip3B2AdvanceShipmentNotification** ([Advance Shipment Notification V3.2](https://onetrail.atlassian.net/wiki/spaces/docs/pages/718701253))

<details>
<summary>XSD source</summary>

```xml
<xsd:complexType name="Pip3B2AdvanceShipmentNotificationType">
        <xsd:sequence>
            <xsd:element name="AdvancedShipmentNotification" type="AdvancedShipmentNotificationType"/>
            <xsd:element name="fromRole" type="roleType">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN">In general, the fromRole identifies the sender of the message, for the Advanced Shipment Notification, the fromRole identifies the seller.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="GlobalDocumentFunctionCode" type="GlobalDocumentFunctionCodeType3B2">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN">Fixed values are:
DespatchAdvice - 'Notification'
ProofOfDelivery - 'Confirmation'.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="thisDocumentGenerationDateTime" type="DateTimeType">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN">Generation date/time of this Advanced Shipment Notification document.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="thisDocumentIdentifier" type="ProprietaryDocumentIdentifierType">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN">Seller assigned unique reference for this Advanced Shipment Notification.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="toRole" type="roleType">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN">In general, the toRole identifies the recipient of the message, for the Advanced Shipment Notification, the toRole identifies the buyer.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
        </xsd:sequence>
    </xsd:complexType>

```
</details>