UNH Message header

To head, identify and specify a message.

Position
Element
Name
Type
Requirement
Min
Max
Repeat
010
Message reference number
String (AN)
Mandatory
1
14
1
Unique message reference assigned by the sender.
Shall be identical in UNH and UNT.
020
Message identifier
Composite (composite)
Mandatory
1
010
Message type
String (AN)
Mandatory
1
6
-
Code identifying a type of message and assigned by its controlling agency.
Type of message being transmitted.
020
Message version number
String (AN)
Mandatory
1
3
-
Version number of a message type.
Version number of the message type. If UNG is used, 0052 version number of the message type in the functional group shall be identical.
030
Message release number
String (AN)
Mandatory
1
3
-
Release number within the current message type version number (0052).
The representation of 0054 was specified as n..3 in version 1 of ISO 9735. |
From UN/EDIFACT Directory release '04A', the more recent code values for this data element shall be derived directly from the UN/EDIFACT directory release number of the referenced message.
040
Controlling agency
String (AN)
Mandatory
1
2
-
Code to identify the agency controlling the specification, maintenance and publication of the message type.
050
Association assigned code
String (AN)
Conditional
1
6
-
A code assigned by the association responsible for the design and maintenance of the message type concerned, which further identifies the message.
030
Common access reference
String (AN)
Conditional
1
35
1
Reference serving as a key to relate all subsequent transfers of data to the same business case or file.
Key to relate all subsequent transfers of data to the same business case or file. Within the 35 characters the IA may specify component elements.
040
Status of the transfer
Composite (composite)
Conditional
1
010
Sequence of transfers
Numeric (N)
Mandatory
1
2
-
Number assigned by the sender indicating the numerical sequence of one or more transfers.
Starts at 1 and is incremented by 1 for each transfer.
020
First and last transfer
A
Conditional
1
1
-
Indication used for the first and last message in a sequence of the same type of message relating to the same topic.
Must be present if more than one transfer is foreseen.

Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference is provided for marketing purposes and is free of charge. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.