| UNB |
- |
M |
1 |
- |
INTERCHANGE HEADER |
|
| Function: |
| To start, identify and specify an interchange. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
UNOA .
UNOB . Controlling Agency (UNO =
UNOC . UN/ECE) followed by character
UNOD . set level
UNOE .
UNOF . |
|
|
|
|
|
|
|
|
| 3 = Syntax version number 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| EAN location number (n13) |
|
|
|
|
|
Partner identification code qualifier |
|
|
|
|
|
|
|
|
|
Address for reverse routing |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| EAN location number (n13) |
|
|
|
|
|
Partner identification code qualifier |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Interchange control reference |
|
|
|
|
| Unique reference identifying the interchange.
Created by the interchange sender. |
|
|
|
|
| RECIPIENT'S REFERENCE PASSWORD |
|
|
|
|
|
|
|
|
Recipient's reference/password |
|
|
|
|
|
|
|
|
|
Recipient's reference/password qualifier |
|
|
|
|
|
|
|
|
|
|
|
|
| Message identification if the interchange
contains only one type of message. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Communications agreement
identification |
|
|
|
|
|
|
|
|
|
|
|
| 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 senders 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 senders 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. |
|