Service segment specifications UNH EDIFACT  Syntax Version 4
 The latest version of UN/EDIFACT Service segments is available from JSWG website

 

UNH
MESSAGE HEADER
 
To head, identify and specify a message.

Notes:

1. Data element S009/0057 is retained for upward compatibility. The use of S016 and/or S017 is encouraged in preference.
2. The combination of the values carried in data elements 0062 and S009 shall be used to identify uniquely the message within its group (if used) or if not used, within its interchange, for the purpose of acknowledgement.
——————————————————————————————————————————————
 
Pos 
 
Tag
Name 
S
R
Repr
Notes
010
  
0062
Message reference number
Unique message reference assigned by the sender.
M
1
an..14
2
020
  
S009
Message identifier
Identification of the type, version, etc. of the message being interchanged.
M
1
 
1, 2
 
  
0065
Message type
Code identifying a type of message and assigned by its controlling agency.
M
1
an..6
 
  
0052
Message version number
Version number of a message type.
M
1
an..3
 
  
0054
Message release number
Release number within the current message version number.
M
1
an..3
 
  
0051
Controlling agency, coded
Code identifying a controlling agency.
M
1
an..3
 
  
0057
Association assigned code
Code, assigned by the association responsible for the design and maintenance of the message type concerned, which further identifies the message.
C
1
an..6
 
  
0110
Code list directory version number
Version number of the code list directory.
C
1
an..6
 
  
0113
Message type sub-function identification
Code identifying a sub-function of a message type.
C
1
an..6
030
  
0068
Common access reference
Reference serving as a key to relate all subsequent transfers of data to the same business case or file.
C
1
an..35
040
  
S010
Status of the transfer
Statement that the message is one in a sequence of transfers relating to the same topic.
C
1
 
 
  
0070
Sequence of transfers
Number assigned by the sender indicating the transfer sequence of a message related to the same topic. The message could be an addition or a change to an earlier transfer related to the same topic.
M
1
n..2
 
  
0073
First and last transfer
Indication used for the first and last message in a sequence of messages related to the same topic.
C
1
a1
050
  
S016
Message subset identification
Identification of a message subset by its identifier, version, release and source.
C
1
 
1
 
  
0115
Message subset identification
Coded identification of a message subset, assigned by its controlling agency.
M
1
an..14
 
  
0116
Message subset version number
Version number of the message subset.
C
1
an..3
 
  
0118
Message subset release number
Release number within the message subset version number.
C
1
an..3
 
  
0051
Controlling agency, coded
Code identifying a controlling agency.
C
1
an..3
060
  
S017
Message implementation guideline identification
Identification of a message implementation guideline by its identifier, version, release and source.
C
1
 
1
 
  
0121
Message implementation guideline identification
Coded identification of the message implementation guideline, assigned by its controlling agency.
M
1
an..14
 
  
0122
Message implementation guideline version number
Version number of the message implementation guideline.
C
1
an..3
 
  
0124
Message implementation guideline release number
Release number within the message implementation guideline version number.
C
1
an..3
 
  
0051
Controlling agency, coded
Code identifying a controlling agency.
C
1
an..3
070
  
S018
Scenario identification
Identification of a scenario.
C
1
 
 
  
0127
Scenario identification
Code identifying scenario.
M
1
an..14
 
  
0128
Scenario version number
Version number of a scenario.
C
1
an..3
 
  
0130
Scenario release number
Release number within the scenario version number.
C
1
an..3
 
  
0051
Controlling agency, coded
Code identifying a controlling agency.
C
1
an..3
 
Date  2000-06-28