UNB Interchange header

To identify an interchange.

Position
Element
Name
Type
Requirement
Min
Max
Repeat
010
Syntax identifier
Composite (composite)
Mandatory
1
010
Syntax identifier
A
Mandatory
4
4
-
Coded identification of the agency controlling the syntax, and of the character repertoire used in an interchange.
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.
020
Syntax version number
String (AN)
Mandatory
1
1
-
Version number of the syntax.
Shall be '4' to indicate this version of the syntax.
030
Service code list directory version number
String (AN)
Conditional
1
6
-
Version number of the service code list directory.
040
Character encoding, coded
String (AN)
Conditional
1
3
-
Coded identification of the character encoding used in the interchange.
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).
020
Interchange sender
Composite (composite)
Mandatory
1
010
Interchange sender identification
String (AN)
Mandatory
1
35
-
Name or coded identification of the sender of the interchange.
Organisation code or name as agreed between interchange partners.
If coded representation is used, its source may be specified by the qualifier in data element 0007.
020
Identification code qualifier
String (AN)
Conditional
1
4
-
Qualifier referring to the identification code.
A qualifier code may refer to an organisation identification as in ISO 6523.
030
Interchange sender internal identification
String (AN)
Conditional
1
35
-
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.
040
Interchange sender internal sub-identification
String (AN)
Conditional
1
35
-
Sub-level of sender internal identification, when further sub-level identification is required.
030
Interchange recipient
Composite (composite)
Mandatory
1
010
Interchange recipient identification
String (AN)
Mandatory
1
35
-
Name or coded identification of the recipient of the interchange.
Organisation code or name as agreed between interchange partners.
If coded representation is used, its source may be specified by the qualifier in data element 0007.
020
Identification code qualifier
String (AN)
Conditional
1
4
-
Qualifier referring to the identification code.
A qualifier code may refer to an organisation identification as in ISO 6523.
030
Interchange recipient internal identification
String (AN)
Conditional
1
35
-
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.
040
Interchange recipient internal sub-identification
String (AN)
Conditional
1
35
-
Sub-level of recipient internal identification, when further sub-level identification is required.
040
Date and time of preparation
Composite (composite)
Mandatory
1
010
Date
Numeric (N)
Mandatory
8
8
-
Local date when an interchange or a group was prepared.
Format is CCYYMMDD.
020
Time
Numeric (N)
Mandatory
4
4
-
Local time of day when an interchange or a group was prepared.
Format is HHMM in 24 hour clock.
050
Interchange control reference
String (AN)
Mandatory
1
14
1
Unique reference assigned by the sender to an interchange.
060
Recipient reference/password details
Composite (composite)
Conditional
1
010
Recipient reference/password
String (AN)
Mandatory
1
14
-
Reference or password to the recipient's system or to a third party network as specified in the partners' interchange agreement.
To be used as specified in the partners' interchange agreement. It may be qualified by data element 0025.
020
Recipient reference/password qualifier
String (AN)
Conditional
2
2
-
Qualifier for the recipient's reference or password.
To be used as specified in the partners' interchange agreement.
070
Application reference
String (AN)
Conditional
1
14
1
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.
Identification of the application area (e.g. accounting, purchasing) or of the message type, as applicable.
080
Processing priority code
A
Conditional
1
1
1
Code determined by the sender requesting processing priority for the interchange.
To be used as specified in the partners' interchange agreement.
090
Acknowledgement request
Numeric (N)
Conditional
1
1
1
Code requesting acknowledgement for the interchange.
Used if the sender requests that a message related to syntactical correctness be sent by the recipient in response.
For UN/EDIFACT a specific message (Syntax and service report - CONTRL) is defined for this purpose.
100
Interchange agreement identifier
String (AN)
Conditional
1
35
1
Identification by name or code of the type of agreement under which the interchange takes place.
Name or code to be specified in the partners' interchange agreement.
110
Test indicator
Numeric (N)
Conditional
1
1
1
Indication that the structural level containing the test indicator is a test.

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.