The International Organization
for Standardization
  
The United Nations Economic
Commission for Europe
 
 
  
Syntax 4 Part 11 > Segment description
  
  
  Service segment specifications 
UNB
  
 
 
Pos 
 
Tag
Name
S
R
Repr
Notes
  
 
UNB
INTERCHANGE HEADER
To identify an interchange.

Notes:
1. S001/0002, shall be '4' to indicate this version of the syntax.
2. The combination of the values carried in data elements S002, S003 and 0020 shall be used to identify uniquely the interchange, for the purpose of acknowledgement.
 
 
010
SYNTAX IDENTIFIER
Identification of the agency controlling the syntax, the syntax level and version number, and the service code directory.
M
1
 
 
Syntax identifier
Coded identification of the agency controlling the syntax, and of the character repertoire used in an interchange.

Notes:
1. The data value consists of the letters 'UN', upper case, identifying the syntax controlling agency, directly followed by an a2 code identifying the character repertoire used.
M
1
a4
 
Syntax version number
Version number of the syntax.

Notes:
1. Increments 1 for each version.
M
1
an1
 
0080
Service code list directory version number
Version number of the service code list directory.
C
1
an..6
 
Character encoding, coded
Coded identification of the character encoding used in the interchange.

Notes:
1. To be used as specified in the partners' interchange agreement, for the purpose of identifying the character repertoire encoding technique used in the interchange (when the default encoding defined by the character repertoire's associated character set specification is not used).
C
1
an..3
 
0076
Syntax release number
The number of a syntax release (within an existing syntax version number).
C
1
an2
020
INTERCHANGE SENDER
Identification of the sender of the interchange.
M
1
 
 
0004
Interchange sender identification
Name or coded identification of the sender of the interchange.

Notes:
1. Organization code or name as agreed between interchange partners.
2. If coded representation is used, its source may be specified by the qualifier in data element 0007.
M
1
an..35
 
Identification code qualifier
Qualifier referring to the identification code.

Notes:
1. A qualifier code may refer to an organization identification as in ISO/IEC 6523.
C
1
an..4
 
0008
Interchange sender internal identification / S3: Address for reverse routing
Identification (for example, a division, branch or computer system/process) specified by the sender of interchange, to be included if agreed, by the recipient in response interchanges, to facilitate internal routing.

Format for Syntax 3:
an..14

Format for Syntax 3X:
an..14
C
1
an..35
 
0042
Interchange sender internal sub-identification
Sub-level of sender internal identification, when further sub-level identification is required.
C
1
an..35
030
INTERCHANGE RECIPIENT
Identification of the recipient of the interchange.
M
1
 
 
0010
Interchange recipient identification
Name or coded identification of the recipient of the interchange.

Notes:
1. Organisation code or name as agreed between interchange partners.
2. If coded representation is used, its source may be specified by the qualifier in data element 0007.
M
1
an..35
 
Identification code qualifier
Qualifier referring to the identification code.

Notes:
1. A qualifier code may refer to an organization identification as in ISO/IEC 6523.
C
1
an..4
 
0014
Interchange recipient internal identification / S3: Address for reverse routing
Identification (for example, a division, branch or computer system/process) specified by the recipient of interchange, to be included if agreed, by the sender in response interchanges, to facilitate internal routing.

Format for Syntax 3:
an..14

Format for Syntax 3X:
an..14
C
1
an..35
 
0046
Interchange recipient internal sub-identification
Sub-level of recipient internal identification, when further sub-level identification is required.
C
1
an..35
040
DATE AND TIME OF PREPARATION
Date and time of preparation of the interchange.
M
1
 
 
0017
Date
Local date when an interchange or a group was prepared.

Notes:
1. Format is CCYYMMDD.

Format for Syntax 3:
n6
M
1
n8
 
0019
Time
Local time of day when an interchange or a group was prepared.

Notes:
1. Format is HHMM in 24 h clock.
M
1
n4
050
0020
INTERCHANGE CONTROL REFERENCE
Unique reference assigned by the sender to an interchange.
M
1
an..14
060
RECIPIENT REFERENCE/PASSWORD DETAILS
Reference or password as agreed between the communicating partners.
C
1
 
 
0022
Recipient reference/password
Reference or password to the recipient's system or to a third party network as specified in the partners' interchange agreement.

Notes:
1. To be used as specified in the partners' interchange agreement. It may be qualified by data element 0025.
M
1
an..14
 
Recipient reference/password qualifier
Qualifier for the recipient's reference or password.

Notes:
1. To be used as specified in the partners' interchange agreement.
C
1
an2
070
0026
APPLICATION REFERENCE
Identification of the application area assigned by the sender, to which the messages in the interchange relate e.g. the message type, if all the messages in the interchange are of the same type.

Notes:
1. Identification of the application area (e.g. accounting, purchasing) or of the message type, as applicable.
C
1
an..14
080
PROCESSING PRIORITY CODE
Code determined by the sender requesting processing priority for the interchange.

Notes:
1. To be used as specified in the partners' interchange agreement.
C
1
a1
090
ACKNOWLEDGEMENT REQUEST
Code requesting acknowledgement for the interchange.

Notes:
1. Used if the sender requests that a message related to syntactical correctness be sent by the recipient in response.
2. For UN/EDIFACT a specific message (Syntax and service report - CONTRL) is defined for this purpose.
C
1
n1
100
0032
INTERCHANGE AGREEMENT IDENTIFIER
Identification by name or code of the type of agreement under which the interchange takes place.

Notes:
1. Name or code to be specified in the partners' interchange agreement.
C
1
an..35
110
TEST INDICATOR
Indication that the structural level containing the test indicator is a test.
C
1
n1
 
 
Generated by GEFEG.FX
UN D.23A Syntax
  
  
  
  
2023-07-21