EDI Recommendations
Invoice/Credit note (Food/NonFood Industries) INVOIC
6. Segments Layout
Language select:
Previous Segment Segment number: 2 Legend Next Segment
UNB - M 1 -
INTERCHANGE HEADER
  Function:
  To start, identify and specify an interchange.
Business Term DE
EDIFACT
EAN * GER
Description
 
S001
M
M      
Character set
0001
M a4
M    
UNOA = UN/ECE level A
UNOB = UN/ECE level B
UNOC = UN/ECE level C
UNOD = UN/ECE level D
UNOE = UN/ECE level E
UNOF = UN/ECE level F
Syntax version
0002
M n1
M    
3 = Version 3
 
S002
M
M      
Indentification of the sender of the transmission file
0004
M an..35
M    
= Global Location Number (GLN)
 
0007
C an..4
R    
14 = GS1
Address for reverse routing
0008
C an..14
O    
See note
 
S003
M
M      
Indentification of the receiver of the transmission file
0010
M an..35
M    
= Global Location Number (GLN)
 
0007
C an..4
R    
14 = GS1
Routing address
0014
C an..14
O    
See note
 
S004
M
M      
File creation date
0017
M n6
M    
= Dateformat JJMMTT
File creation time
0019
M n4
M    
= Timeformat hhmm
Interchange control reference, beginnig
0020
M an..14
M    
= Unique senders reference
 
S005
C
O      
Password interchange
0022
M an..14
M      
 
0025
C an2
O    
AA = Reference
BB = Password
Application reference
0026
C an..14
O    
Message type if the transmission fole contains only one message type
 
0029
C a1
O    
A = Highest priority
Acknowledgement request
0031
C n1
O      
EANCOM
0032
C an..35
O   R
= EANCOM... EDIFACT subset identification (see note)
Test indicator
0035
C n1
O    
1 = Interchange is a test
Segment notes:
This segment is used to envelope the interchange, as well as to identify both, the party to whom the interchange is sent and the party who has sent the interchange.
For international EDI the use of character set UNOA is recommended. For national (German) EDI the use of UNOC is reasonable because it contains lower case letters and umlauts.

Note 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 (source) system to which responding interchanges must be sent. It is recommended that the GLN be used for this purpose.

Note DE 0014:

The routing adress is used to identify the receiver, if a provider adds service values for the actual receiver (e.g. consolidated companies, corporate group). The use of the identification system (e.g. GLN) has to be agreed bilaterally.

Note DE 0020:

This data element must contain a consistent sequential number per interchange between sender and receiver of the transmission.


Note 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’, the remaining characters within the data element being filled according to bilateral agreements.
 
Example: UNB+UNOC:3+4012345000009:14:4012345000018+4000004000002:14:4000004000099+101013:1043+4711+REF:AA++++EANCOM+1'
The EANCOM file 4711 dated 13.10.2010, 10 h 43 is sent by the issuer identified with GLN 4012345000009 to the receiver identified with GLN 4000004000002.
Previous Segment Next Segment
© Copyright GS1 Germany GmbH Ausgabe 2012