---
title: "Despatch advice V3.2 · ShippingContainerType"
canonical: "https://knowledge-hub.onetrail.com/space/docs/727023784/Despatch%20advice%20V3.2%20%C2%B7%20ShippingContainerType"
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)

## Diagram

![ShippingContainerType diagram](media://5250e0ed-8440-4c1c-80ac-1df8e11c27c8)

## Elements

| # | Element | Type | Occurs | Description |
| --- | --- | --- | --- | --- |
| 1 | **shippingContainerIdentifier** [required] | [shippingContainerIdentifierType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/725942354) | 1..1 | - SSCC (18-digit Serial shipping container code) preferred.
- Own shipping container code.
- If no shipping container idendintification available fixed '0'. |
| 2 | **PackageType** | `xsd:string` | 0..1 | [V3.2] Package type from Onetrail Unit of measure table |
| 3 | **numberOfShippingContainers** | [numberOfShippingContainersType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/725549127) | 0..1 | [V3.2] Number of packages (containers, boxes etc.)in the ShippingContainer. |
| 4 | **TrackingReference** | [TrackingReferenceType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/725483589) | 0..1 | [V3.2] Track & trace code when known on ShippingContainer level |
| 5 | **DeliveryDateTime** | [DateTimeType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/725450832) | 0..1 | [V3.2] Delivery date/time from Proof of Delivery document. |
| 6 | **DeliveryStatusCode** | `xsd:string` | 0..1 | [V3.2] Delivery Status Code from Proof Of Delivery document |
| 7 | **remarks** | [RemarksType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/726663211) | 0..1 | [V3.2] Additional Delivery information from Proof Of Delivery document |
| 8 | **ShippingContainer** | [ShippingContainerType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/727023784) | 0..n | [V3.2] ShippingContainer recursive to provide complex packing structures |
| 9 | **ShippingContainerItem** | [ShippingContainerItemType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/725614626) | 0..n |  |

## Used by

- [ShipmentType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/725811238) / **ShippingContainer**

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

```xml
<xsd:complexType name="ShippingContainerType">
        <xsd:sequence>
            <xsd:element name="shippingContainerIdentifier" type="shippingContainerIdentifierType">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN">- SSCC (18-digit Serial shipping container code) preferred.
- Own shipping container code.
- If no shipping container idendintification available fixed '0'.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="PackageType" minOccurs="0" type="xsd:string">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN" source="V3.2">Package type from Onetrail Unit of measure table</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="numberOfShippingContainers" type="numberOfShippingContainersType" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN" source="V3.2">Number of packages (containers, boxes etc.)in the ShippingContainer.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="TrackingReference" type="TrackingReferenceType" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN" source="V3.2">Track &amp; trace code when known on ShippingContainer level</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="DeliveryDateTime" type="DateTimeType" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN" source="V3.2">Delivery date/time from Proof of Delivery document.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="DeliveryStatusCode" minOccurs="0" type="xsd:string">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN" source="V3.2">Delivery Status Code from Proof Of Delivery document</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="remarks" type="RemarksType" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN" source="V3.2">Additional Delivery information from Proof Of Delivery document</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="ShippingContainer" type="ShippingContainerType" minOccurs="0" maxOccurs="unbounded">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN" source="V3.2">ShippingContainer recursive to provide complex packing structures</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="ShippingContainerItem" type="ShippingContainerItemType" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
    </xsd:complexType>

```
</details>