UNB — Interchange Header
EDIFACT segment
📘
Interchange header. The outermost layer of an EDI transmission: it carries the sender and receiver, the character set in use, the transmission timestamp and the interchange control reference. Exactly one appears per file.
Example
UNB+UNOC:3+8712345678901:14+8798765432109:14+260117:1030+REF00042'
Data Elements
| Pos. | Description |
|---|---|
01 | Syntax Identifier |
02 | Sender Identification |
03 | Recipient Identification |
04 | Date/Time of Preparation |
05 | Interchange Control Reference |
Code List
| Code | Meaning |
|---|---|
UNOA | Basic Alphabet (Upper Case) |
UNOB | ASCII Alphabet (Mixed Case) |
UNOC | Latin-1 Alphabet (Western/Turkish) |
UNOE | Cyrillic Alphabet |
UNOY | UTF-8 Alphabet (Universal) |
Watch out
Choosing the wrong character set (such as UNOA instead of UNOC) is a common cause of mangled accented characters, since UNOA permits only uppercase letters and digits.