EANCOM PART I |  |

Segment Layout | - UNB segment

UNB | - | M | 1 | - | INTERCHANGE HEADER
Function:
To start, identify and specify an interchange.
EDIFACT
EAN
*
Description |
S001
SYNTAX IDENTIFIER
M |
M
| 0001
| Syntax identifier |
M |  | a4
M
*
UNOA . UNOB . Controlling Agency (UNO = UNOC . UN/ECE) followed by character UNOD . set level UNOE . UNOF . |
| 0002
| Syntax version number |
M |  | n1
M
*
3 = Syntax version number 3 |
S002
INTERCHANGE SENDER
M |
M
| 0004
| Sender identification |
M |  | an..35
M
EAN location number (n13) |
| 0007
| Partner identification code qualifier |
C |  | an..4
R
*
14 = EAN International |
| 0008
| Address for reverse routing |
C |  | an..14
O
S003
INTERCHANGE RECIPIENT
M |
M
| 0010
| Recipient identification |
M |  | an..35
M
EAN location number (n13) |
| 0007
| Partner identification code qualifier |
C |  | an..4
R
*
14 = EAN International |
| 0014
| Routing address |
C |  | an..14
O
S004
DATE/TIME OF PREPARATION
M |
M
| 0017
| Date |
M |  | n6
M
YYMMDD |
| 0019
| Time |
M |  | n4
M
HHMM |
0020
Interchange control reference
M |  | an..14
M
Unique reference identifying the interchange. Created by the interchange sender. |
S005
RECIPIENT'S REFERENCE PASSWORD
M |
O
| 0022
| Recipient's reference/password |
M |  | an..14
M
| 0025
| Recipient's reference/password qualifier |
C |  | n4
O
0026
Application reference
C |  | an..14
O
Message identification if the interchange contains only one type of message. |
0029
Processing priority code
C |  | a1
O
A = Highest priority |
0031
Acknowledgement request
C |  | n1
O
1 = Requested |
0032
Communications agreement identification
C |  | an..35
O
*
EANCOM...... |
0035
Test indicator
C |  | n1
O
1 = Interchange is a test |
Segment Notes:
This segment is used to envelope the interchange and also to identify the party for whom the interchange is intended and the party who has sent the interchange. The principle of the UNB segment is the same as a physical envelope which covers one or more letters or documents and which details the address where delivery is to take place and the address from where the envelope has come. DE 0001: The recommended (default) character set for use in EANCOM for international exchanges is character set A (UNOA). Should users wish to use character sets other than A then agreement on which set to use should be reached on a bi-lateral basis before communications begin. DE 0004 and 0010: Within EANCOM the use of the EAN location number is recommended for the identification of the interchange sender and recipient. DE 0008: The address for reverse routing is provided by the interchange sender to inform the interchange recipient of the address within the sender’s system to which responding interchanges must be sent. It is recommended that EAN location numbers be used for this purpose. DE 0014: The address for routing, which was originally provided by the interchange recipient, is used by the interchange sender to inform the recipient of the address of the recipients systems to which the interchange should be routed. The address provided here is normally informed to the interchange sender by the recipient in advance of the interchange transmission. It is recommended that EAN location numbers be used for this purpose. DE S004: The date and time specified in this composite should be the date and time at which the interchange sender prepared the interchange. This date and time may not necessarily be the same as the date and time of contained messages. DE 0020: The interchange control reference number is generated by the interchange sender and is used to uniquely identify each interchange. Should the interchange sender wish to re-use interchange control reference numbers it is recommended that each number be preserved for at least a period of three months before being re-used. In order to guarantee uniqueness the interchange control reference number should always be linked to the interchange sender’s identification (DE 0004). DE S005: The use of passwords must first be agreed bi-laterally by the parties exchanging the interchange. DE 0026: This data element is used to identify the application on the interchange recipients system to which the interchange is directed. This data element may only be used if the interchange contains only one type of message, e.g. only invoices. The reference used in this data element is assigned by the interchange sender. DE 0031: This data element is used to indicate whether an acknowledgement to the interchange is required or not. The EANCOM CONTRL message should be used to provide acknowledgement of interchange receipt. In addition the EANCOM APERAK or CONTRL message may be used to indicate when an interchange has been rejected due to syntactical errors. DE 0032: This data element is used to identify any underlying agreements which control the exchange of data. Within EANCOM the identity of such agreements must start with the letters ‘EANCOM’ with the remaining characters within the data element filled according to bi-lateral agreements.

(c) Copyright EAN 2002 |