UNHMESSAGE HEADERM 1

1Mandatory A service segment starting and uniquely identifying a message. The message type code for the Despatch advice message is DESADV.
Example

UNH+1+DESADV:D:00A:UN'

0062
MESSAGE REFERENCE NUMBER
Mandatoryan0..14
Unique message reference assigned by the sender.
S009
MESSAGE IDENTIFIER
Mandatory
Identification of the type, version, etc. of the message being interchanged.
0065
Message type
Mandatoryan0..6
Code identifying a type of message and assigned by its controlling agency.
Enumeration

DESADVDespatch advice message

Other codes are forbidden.

Show all standard codes
0052
Message version number
Mandatoryan0..3
Version number of a message type.
Enumeration

DDraft version/UN/EDIFACT Directory

Other codes are forbidden.

Show all standard codes
0054
Message release number
Mandatoryan0..3
Release number within the current message version number.
Enumeration

00ARelease 2000 - A

Other codes are forbidden.

Show all standard codes
0051
Controlling agency, coded
Mandatoryan0..3
Code identifying a controlling agency.
Enumeration

UNUN/CEFACT

Other codes are forbidden.

Show all standard codes

BGMBEGINNING OF MESSAGEM 1

1Mandatory A segment for unique identification of the Despatch Advice document, by means of its name and its number.
Example

BGM+351+123456'

C002
DOCUMENT/MESSAGE NAME
Required
Identification of a type of document/message by code or name. Code preferred.
1001
Document name code
Requiredan0..3
Code specifying the document name.
Enumeration

351Despatch advice

Other codes are forbidden.

Show all standard codes
C106
DOCUMENT/MESSAGE IDENTIFICATION
Required
Identification of a document/message by its number and eventually its version or revision.
1004
Document identifier
Requiredan0..35
To identify a document.

DTMDATE/TIME/PERIODR 2

2Required Date/time/period related to the whole message. The DTM segment must be specified at least once to identify the Despatch Advice date.
Example

DTM+137:20150515:102'

C507
DATE/TIME/PERIOD
Mandatory
Date and/or time, or period relevant to the specified date/time/period type.
2005
Date or time or period function code qualifier
Mandatoryan0..3
Code qualifying the function of a date, time or period.
Enumeration

137Document/message date/time

Other codes are skipped.

Show all standard codes
2380
Date or time or period value
Requiredan0..35
The value of a date, a date and time, a time or of a period in a specified representation.
Pattern constraint
[0-9]{8}Example: 20161101
2379
Date or time or period format code
Requiredan0..3
Code specifying the representation of a date, time or period.
Enumeration

102CCYYMMDD

Other codes are forbidden.

Show all standard codes

GRP1 RFF DTMC 10

10Conditional A group of segments giving references where necessary, their dates relating to the whole message, e.g. contract number.
Remarks
Provide references primarily on a header level.

RFFREFERENCEM 1

1Mandatory A segment for referencing documents relating to the whole despatch advice message, e.g. purchase orders, delivery instructions, import/export license.
C506
REFERENCE
Mandatory
Identification of a reference.
1153
Reference function code qualifier
Mandatoryan0..3
Code qualifying a reference.
Enumeration

COBuyers order number

Other codes are skipped.

Show all standard codes
1154
Reference identifier
Requiredan0..25
Identifies a reference.

DTMDATE/TIME/PERIODC 1

1Conditional Date/time/period from the referred document.
C507
DATE/TIME/PERIOD
Mandatory
Date and/or time, or period relevant to the specified date/time/period type.
2005
Date or time or period function code qualifier
Mandatoryan0..3
Code qualifying the function of a date, time or period.
Show all standard codes
2380
Date or time or period value
Requiredan0..35
The value of a date, a date and time, a time or of a period in a specified representation.
Pattern constraint
[0-9]{8}Example: 20161101
2379
Date or time or period format code
Requiredan0..3
Code specifying the representation of a date, time or period.
Enumeration

102CCYYMMDD

Other codes are forbidden.

Show all standard codes

GRP2 NADR 99

99Required A group of segments identifying names, addresses, locations, and required supporting documents relevant to the whole Despatch Advice.
Remarks
Here comes segment group specific remarks.

NADNAME AND ADDRESSM 1

1Mandatory A segment for identifying names, addresses, and their functions relevant to the whole Despatch Advice. Identification of the parties involved is recommended for the Despatch Advice message, and is to be given in the NAD segment. It is recommended that where possible, only the coded form of the party ID should be specified, e.g. the buyer and seller are known to each other, thus only the coded ID is required. The consignee or delivery address may vary and would have to be clearly specified, preferably in structured format.
Remarks
Here comes segment specific remarks.
Example

NAD+CZ+5678765::92++ZXC Consignor'

3035
PARTY FUNCTION CODE QUALIFIER
Mandatoryan0..3
Code giving specific meaning to a party.
Enumeration

CZConsignor

BYBuyerHere comes qualifier BY specific remarks.

DPDelivery party

ZZBilaterally agreed party

Other codes are skipped.

Remarks
Here comes element specific remarks.
Show all standard codes
C082
PARTY IDENTIFICATION DETAILS
Required
Identification of a transaction party by code.
Remarks
Here comes composite specific remarks.
3039
Party identifier
Mandatoryan0..15
Code specifying the identity of a party.
1131
Code list identification code
Conditionalan0..3
Code identifying a code list.
Enumeration

100Enhanced party identification

Other codes are forbidden.

Show all standard codes
3055
Code list responsible agency code
Conditionalan0..3
Code specifying the agency responsible for a code list.
Enumeration

92Assigned by buyer or buyer's agent

Other codes are forbidden.

Show all standard codes
C058
NAME AND ADDRESS
Excluded
Unstructured name and address: one to five lines.
C080
PARTY NAME
Required
Identification of a transaction party by name, one to five lines. Party name may be formatted.
3036
Party name
Mandatoryan0..35
Name of a party.
3036
Party name
Conditionalan0..35
Name of a party.

GRP10 CPS GRP11 GRP17R 9999

9999Required A group of segments providing details of all package levels and of the individual despatched items contained in the consignment. This segment group provides the capability to give the hierarchical packing relationships. The group defines a logical top-down order structure. The lowest level package information of the hierarchy is followed by the detail product information.

CPSCONSIGNMENT PACKING SEQUENCEM 1

1Mandatory A segment identifying the sequence in which packing of the consignment occurs, e.g. boxes loaded onto a pallet.
Example

CPS+123456789987654321++1'

7164
HIERARCHICAL STRUCTURE LEVEL IDENTIFIER
Mandatoryan0..35
To identify a level within a hierarchy structure.
7166
HIERARCHICAL STRUCTURE PARENT IDENTIFIER
Excludedan0..35
To identify the next higher level in a hierarchical structure.
7075
PACKAGING LEVEL CODE
Conditionalan0..3
Code specifying a level of packaging.
Enumeration

1Inner

Other codes are skipped.

Show all standard codes

GRP11 PAC MEAR 9999

9999Required A group of segments identifying packaging, physical dimensions, marks and numbers, quantities, date and time information, handling information and information about packing at this level.

PACPACKAGEM 1

1Mandatory A segment specifying the number and type of the packages/physical units and the physical type of packaging for the despatched goods.
Example

PAC+1'

7224
PACKAGE QUANTITY
Requiredn0..8
To specify the number of packages.

MEAMEASUREMENTSR 10

10Required A segment specifying physical measurements of the packages/physical units described in the PAC segment.
Example

MEA+AAE+ABJ+LTR:500'

6311
MEASUREMENT ATTRIBUTE CODE
Mandatoryan0..3
Code specifying the measurement attribute.
Enumeration

AAEMeasurement

Other codes are skipped.

Show all standard codes
C502
MEASUREMENT DETAILS
Required
Identification of measurement type.
6313
Measured attribute code
Requiredan0..3
Code specifying the attribute measured.
Enumeration

ABJVolume

Other codes are skipped.

Show all standard codes
C174
VALUE/RANGE
Required
Measurement value and relevant minimum and maximum values of the measurement range.
6411
Measurement unit code
Mandatoryan0..3
Code specifying the unit of measurement.
6314
Measurement value
Requiredan0..18
To specify the value of a measurement.

GRP17 LIN QTY GRP18R 9999

9999Required A group of segments providing details of the individual despatched items.

LINLINE ITEMM 1

1Mandatory A segment identifying the product being despatched. All other segments in the detail section following the LIN segment refer to that line item.
Example

LIN+1++123456:SA'

1082
LINE ITEM IDENTIFIER
Requiredan0..6
To identify a line item.
1229
ACTION REQUEST/NOTIFICATION DESCRIPTION CODE
Excludedan0..3
Code specifying the action to be taken or already taken.
Show all standard codes
C212
ITEM NUMBER IDENTIFICATION
Required
Goods identification for a specified source.
7140
Item identifier
Requiredan0..35
To identify an item.
7143
Item type identification code
Requiredan0..3
Code specifying an item code.
Enumeration

SASupplier's article number

VNVendor item number

Other codes are skipped.

Show all standard codes

QTYQUANTITYR 10

10Required A segment to give quantity information concerning the product.
Example

QTY+12:200:PC'

C186
QUANTITY DETAILS
Mandatory
Quantity information in a transaction, qualified when relevant.
6063
Quantity type code qualifier
Mandatoryan0..3
Code qualifying the type of quantity.
Enumeration

12Despatch quantity

Other codes are skipped.

Show all standard codes
6060
Quantity
Mandatoryan0..35
Alphanumeric representation of a quantity.
6411
Measurement unit code
Requiredan0..3
Code specifying the unit of measurement.

GRP18 RFF DTMA 99

99Advised A group of segments to give reference numbers and dates.

RFFREFERENCEM 1

1Mandatory A segment identifying documents related to the line item.
Example

RFF+CO:1234:10'

C506
REFERENCE
Mandatory
Identification of a reference.
1153
Reference function code qualifier
Mandatoryan0..3
Code qualifying a reference.
Enumeration

COBuyers order number

Other codes are skipped.

Show all standard codes
1154
Reference identifier
Requiredan0..35
Identifies a reference.
1156
Document line identifier
Requiredan0..6
To identify a line of a document.

DTMDATE/TIME/PERIODC 1

1Conditional A segment for date/time/period relative to the referred document.
Example

DTM+171:20150513:102'

C507
DATE/TIME/PERIOD
Mandatory
Date and/or time, or period relevant to the specified date/time/period type.
2005
Date or time or period function code qualifier
Mandatoryan0..3
Code qualifying the function of a date, time or period.
Enumeration

171Reference date/time

Other codes are forbidden.

Show all standard codes
2380
Date or time or period value
Requiredan0..35
The value of a date, a date and time, a time or of a period in a specified representation.
Pattern constraint
[0-9]{8}Example: 20161101
2379
Date or time or period format code
Requiredan0..3
Code specifying the representation of a date, time or period.
Enumeration

102CCYYMMDD

Other codes are forbidden.

Show all standard codes

UNTMESSAGE TRAILERM 1

1Mandatory A service segment ending a message, giving the total number of segments in the message (including the UNH & UNT) and the control reference number of the message.
Example

UNT+19+1'

0074
NUMBER OF SEGMENTS IN A MESSAGE
Mandatoryn0..10
The number of segments in a message body, plus the message header segment and message trailer segment.
0062
MESSAGE REFERENCE NUMBER
Mandatoryan0..14
Unique message reference assigned by the sender.