EDI UN/EDIFACT

UN/EDIFACT defines the following envelope structure.

Envelope Structure

Full details are available. See Part 4. UN/EDIFACT Rules - Chapter 2.2 Syntax Rules - Annex B.
Description of edi_env_structure.png follows
Description of the illustration edi_env_structure.png

EDIFACT envelopes are defined based on a syntax version. You can find details about each element and code lists for each syntax version below:
Version Reference
Syntax Versions 1, 2, 3 https://www.gefeg.com/jswg/v3/data/v3_docs.htm
Syntax Versions 4 https://www.gefeg.com/jswg/v4/data/v4_docs.htm