UN/EDIFACT Reference
UNB - Interchange Header

On this topic:

 

Technical Notes

  1. The UNB data segment is used to check the start of a UN/EDIFACT interchange.

Standard Information

NOTE: This information is referenced from UN/EDIFACT and may not be current.  For the latest information please visit the UN/EDIFACT web site.

To identify the start of an interchange.

REF IDENTIFIER NAME REQ TYPE MIN/MAX NOTES
010 S001 Syntax Identifier M     1
01 0001 Syntax identifier M A 1/4  
02 0002 Syntax version number C AN 1/1  
  03   0080   Service code list directory version number   C AN 1/6  
  04   0133   Character encoding, coded   C AN 1/3  
020 S002 Interchange Sender M 2
01 0004 Interchange Sender Identification M AN 1/35  
02 0007 Identification Code Qualifier C AN 1/4  
  03   0008   Interchange Sender Internal Identification   C AN 1/35  
  04   0042   Interchange Sender Internal Sub-identification   C AN 1/35  
030 S003 Interchange Recipient M 2
01 0010 Recipient Identification M AN 1/35  
02 0007 Identification Code Qualifier C AN 1/4  
  03   0014   Interchange Recipient Internal Identification   C AN 1/35  
  04   0046   Interchange Recipient Internal Sub-identification   C AN 1/35  
040 S004 Date and Time of Preparation M      
01 0017 Date M N 6/6  
02 0019 Time M N 4/4  
050 0020 Interchange Control Reference M AN 1/14 2
060 S005 Recipient Reference/Password Details C      
01 0022 Recipient Reference/Password M N 1/14  
02 0025 Recipient Reference/Password Qualifier C AN 2/2  
070 0026 Application Reference C AN 1/14  
080 0029 Processing Priority Code C A 1/1  
090 0031 Acknowledgment Request C N 1/1  
100 0032 Interchange Agreement Identifier C AN 1/35  
110 0035 Test Indicator C N 1/1  

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.