The Global Language of Business

The below sample file contains all mandatory and optional attributes that GS1 assumed to be relevant on required prior to an actual requirement gathering.

<?xml version="1.0" encoding="UTF-8"?>

<!-- Sample Dispatch Advice for ISBT 128 application -->

<despatch_advice:despatchAdviceMessage xmlns:sh="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:despatch_advice="urn:gs1:ecom:despatch_advice:xsd:3" xsi:schemaLocation="urn:gs1:ecom:despatch_advice:xsd:3 ../Schemas/gs1/ecom/DespatchAdvice.xsd">

<sh:StandardBusinessDocumentHeader>

<sh:HeaderVersion>1.0</sh:HeaderVersion>

<sh:Sender>

<sh:Identifier Authority="GS1">5391234567892</sh:Identifier>

<sh:ContactInformation>

<!--this group of attributes is optional -->

<sh:Contact>John Smith</sh:Contact>

<sh:EmailAddress>John@MyCompany.ie</sh:EmailAddress>

<sh:FaxNumber>011234546</sh:FaxNumber>

<sh:TelephoneNumber>011234567</sh:TelephoneNumber>

<sh:ContactTypeIdentifier>Blood Sender</sh:ContactTypeIdentifier>

</sh:ContactInformation>

</sh:Sender>

<sh:Receiver>

<sh:Identifier Authority="GS1">5391234567885</sh:Identifier>

<sh:ContactInformation>

<!--this group of attributes is Optional-->

<sh:Contact>Jane Smith</sh:Contact>

<sh:EmailAddress>Jane@yourCompany.ie</sh:EmailAddress>

<sh:FaxNumber>04021234554</sh:FaxNumber>

<sh:TelephoneNumber>04021234550</sh:TelephoneNumber>

<sh:ContactTypeIdentifier>Customer Support</sh:ContactTypeIdentifier>

</sh:ContactInformation>

</sh:Receiver>

<sh:DocumentIdentification>

<sh:Standard>GS1</sh:Standard>

<sh:TypeVersion>3.3</sh:TypeVersion>

<sh:InstanceIdentifier>10001a</sh:InstanceIdentifier>

<sh:Type>despatchAdvice</sh:Type>

<sh:MultipleType>false</sh:MultipleType>

<sh:CreationDateAndTime>2019-02-18T09:18:47Z</sh:CreationDateAndTime>

</sh:DocumentIdentification>

<sh:BusinessScope>

<!--this group of attributes may be relevant to distinguish between Live and Test messages. It is only applicable if the business requirements demand this section and the IT systems are capable of handling different environments on the same communication channel! -->

<sh:Scope>

<sh:Type>MESSAGE_STATUS</sh:Type>

<sh:InstanceIdentifier>LIVE</sh:InstanceIdentifier>

</sh:Scope>

<sh:Scope>

<sh:Type>SCHEMA_GUIDE</sh:Type>

<sh:InstanceIdentifier>ISBT 128_Identification and barcoding specification_Rel_1.0</sh:InstanceIdentifier>

</sh:Scope>

</sh:BusinessScope>

</sh:StandardBusinessDocumentHeader>

<despatchAdvice>

<creationDateTime>2019-02-18T09:18:47Z</creationDateTime>

<documentStatusCode>ORIGINAL</documentStatusCode>

<despatchAdviceIdentification>

<entityIdentification>0000000001</entityIdentification>

<!-- this can be any unique ID consisting of characters and digits -->

</despatchAdviceIdentification>

<receiver>

<gln>5391234567885</gln>

<address> <!-- This is optional and should only appear if a GLN is not available-->

<city>Dublin 4</city>

<countryCode>IE</countryCode>

<countyCode>D4</countyCode>

<name>Jane Smith Hospital</name>

<postalCode>D04KF62</postalCode>

<streetAddressOne>2nd Floor, The Merrion Centre</streetAddressOne>

<streetAddressTwo>Nutley Lane, Donnybrook</streetAddressTwo>

</address>

</receiver>

<shipper>

<gln>5391234567892</gln>

<address> <!-- This is optional and should only appear if a GLN is not available-->

<city>Greystones</city>

<countryCode>IE</countryCode>

<countyCode>Wicklow</countyCode>

<name>John Smith &amp; Co.</name>

<postalCode>A63RW51</postalCode>

<streetAddressOne>175 Church Lane</streetAddressOne>

<streetAddressTwo>Killincarrig, County Wicklow</streetAddressTwo>

</address>

</shipper>

<shipTo>

<gln>5391234567878</gln>

<address> <!-- This is optional and should only appear if a GLN is not available-->

<city>Delgany</city>

<countryCode>IE</countryCode>

<countyCode>Wicklow</countyCode>

<name>John Doe PLC</name>

<postalCode>A63RW51</postalCode>

<streetAddressOne>Higher Tower, 38 THe Tower</streetAddressOne>

<streetAddressTwo>Delgany, Killincarrig, County Wicklow</streetAddressTwo>

</address>

</shipTo>

<shipFrom>

<gln>5391234567861</gln>

<address> <!-- This is optional and should only appear if a GLN is not available-->

<city>Arklow</city>

<countryCode>IE</countryCode>

<countyCode>Wicklow</countyCode>

<name>Jane Doe Inc.</name>

<postalCode>Y14 P200</postalCode>

<streetAddressOne>ABERCORN HALL</streetAddressOne>

<streetAddressTwo>Ferrybank</streetAddressTwo>

</address>

</shipFrom>

<despatchInformation>

<estimatedDeliveryDateTime>2019-02-28T12:00:00Z</estimatedDeliveryDateTime>

<!-- it is recommended to use either the "estimatedDeliveryDateTime" or the "estimatedDeliveryPeriod" -->

<estimatedDeliveryPeriod>

<beginDate>2019-02-25</beginDate>

<beginTime>09:00:00</beginTime>

<endDate>2019-02-28</endDate>

<endTime>17:30:00</endTime>

</estimatedDeliveryPeriod>

</despatchInformation>

<purchaseOrder> <!--- May be omitted if different orders are referenced on line level below -->

<entityIdentification>Order number XYZ 123</entityIdentification>

</purchaseOrder>

<despatchAdviceLogisticUnit>

<logisticUnitIdentification>

<sscc>053912340000000016</sscc>

</logisticUnitIdentification>

<ultimateConsignee>

<gln>5399876543212</gln>

<address> <!-- This is optional and should only appear if a GLN is not available or detailed enough-->

<city>Dublin</city>

<countryCode>IE</countryCode>

<countyCode>Dublin 24</countyCode>

<name>Tallaght University Hospital</name>

<postalCode>D24 NR0A</postalCode>

<streetAddressOne>Tallaght</streetAddressOne>

</address>

<contact> <!-- This is optional and should only appear if a GLN is not detailed enough-->

<contactTypeCode>Patient</contactTypeCode>

<personName>Joseph Maria O'Patient</personName>

</contact>

</ultimateConsignee>

<despatchAdviceLineItem> <!--This whole group needs to be repeated for each item in the Delivery-->

<lineItemNumber>1</lineItemNumber>

<despatchedQuantity measurementUnitCode="EA" codeListVersion="UN/ECE Recommendation 20–revision 6">20</despatchedQuantity>

<requestedQuantity measurementUnitCode="EA" codeListVersion="UN/ECE Recommendation 20–revision 6">30</requestedQuantity>

<!-- the "requestedQuantity" is optional if all ordered items are delivered -->

<transactionalTradeItem>

<gtin>05391521130006</gtin> <!-- although this is an optional attribute it is Best Practice used in multiple sectors -->

<additionalTradeItemIdentification additionalTradeItemIdentificationTypeCode="ICCBBA">A9999000037T0122</additionalTradeItemIdentification>

<transactionalItemData>

<batchNumber>A999918123456</batchNumber>

<itemExpirationDate>2019-08-31</itemExpirationDate>

<lotNumber>ABC123-2019-02-</lotNumber>

<serialNumber>001</serialNumber>

</transactionalItemData>

</transactionalTradeItem>

<purchaseOrder>

<entityIdentification>PO number ABC123</entityIdentification>

<lineItemNumber>16</lineItemNumber>

</purchaseOrder>

</despatchAdviceLineItem>

<despatchAdviceLineItem> <!--This whole group is repeated for demonstration purposes-->

<lineItemNumber>2</lineItemNumber>

<despatchedQuantity measurementUnitCode="EA" codeListVersion="UN/ECE Recommendation 20–revision 6">30</despatchedQuantity>

<transactionalTradeItem>

<gtin>05391521130013</gtin> <!-- although this is an optional attribute it is Best Practice used in multiple sectors -->

<additionalTradeItemIdentification additionalTradeItemIdentificationTypeCode="ICCBBA">W0000123456T0480</additionalTradeItemIdentification>

<transactionalItemData>

<batchNumber>A999917123456129</batchNumber>

<itemExpirationDate>2019-08-31</itemExpirationDate>

<serialNumber>001</serialNumber>

</transactionalItemData>

</transactionalTradeItem>

<purchaseOrder>

<entityIdentification>PO number 321ZYX</entityIdentification>

<lineItemNumber>1</lineItemNumber>

</purchaseOrder>

</despatchAdviceLineItem>

</despatchAdviceLogisticUnit>

</despatchAdvice>

</despatch_advice:despatchAdviceMessage>


Which of the following best describes the primary purpose of your visit?

Success

Thank you for your feedback!

Were you able to find the information you were looking for on our website?

Success

Thank you for your feedback!