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
01Syntax Identifier
02Sender Identification
03Recipient Identification
04Date/Time of Preparation
05Interchange Control Reference

Code List

CodeMeaning
UNOABasic Alphabet (Upper Case)
UNOBASCII Alphabet (Mixed Case)
UNOCLatin-1 Alphabet (Western/Turkish)
UNOECyrillic Alphabet
UNOYUTF-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.

← All segments