π¦ GS1 XML Despatch Advice β Brief Explanation
This XML document conforms to the GS1 Despatch Advice standard (urn:gs1:ecom:despatch_advice:xsd:3
) and is used to communicate shipment details from a sender (shipper) to a receiver (warehouse or store). It provides a structured overview of what has been shipped, in what quantities, and how items are packaged.
π§Ύ Header Informationβ
<entityIdentification>
: Unique shipment or delivery note ID.<note>
: Optional comment from the supplier or warehouse.
π¬ Receiver Detailsβ
<gln>
: Global Location Number of the receiver (optional).<additionalPartyIdentification type="businessUnitId">
: Internal business unit identifier of the receiver.
π Shipper Detailsβ
<gln>
: Shipperβs GLN (optional).<additionalPartyIdentification>
: Contains business unit ID and business partner ID.<organisationName>
: Name of the shipping organization.
π Despatch Informationβ
<estimatedDeliveryDateTime>
: Expected delivery timestamp in ISO 8601 format.
π¦ Logistic Units (<despatchAdviceLogisticUnit>
)β
Each logistic unit represents a container or packaging unit.
<sscc>
: Unique identifier for the logistic unit (Serial Shipping Container Code).<parentLogisticUnitId>
: (Optional) Reference to a parent container, if nested.
π Line Items (<despatchAdviceLineItem>
)β
Each logistic unit contains one or more line items:
<lineItemNumber>
: Sequence number of the line.<despatchedQuantity>
: Quantity of items shipped.
π§Ύ Trade Item Detailsβ
<gtin>
: Global Trade Item Number (optional).<additionalTradeItemIdentification type="itemId">
: Local item ID.<transactionalItemData>
:<serialNumber>
: List of serial numbers (if serialized).<batchNumber>
: Batch or lot number.<bestBeforeDate>
: Product's best before date.<itemExpirationDate>
: Product's expiration date.
π Purchase Orderβ
<entityIdentification>
: Purchase order number.<lineItemNumber>
: Line number on the purchase order.<totalLineAmount currencyCode="EUR">
: Monetary value of the line item.
π€ Customer (Optional)β
<additionalPartyIdentification type="customerId">
: Internal customer identifier (if applicable).
π Structure Overviewβ
DespatchAdviceMessage
ββ despatchAdvice
ββ despatchAdviceIdentification
ββ note
ββ receiver
ββ shipper
ββ despatchInformation
ββ despatchAdviceLogisticUnit (1..n)
ββ logisticUnitIdentification
ββ parentLogisticUnitId (optional)
ββ despatchAdviceLineItem (1..n)
ββ lineItemNumber
ββ despatchedQuantity
ββ transactionalTradeItem
ββ purchaseOrder
ββ totalLineAmount
ββ customer (optional)