EDIFACT (Electronic Data Interchange for Administration, Commerce and Transport) is an internationally recognized standard for exchanging structured business documents electronically between organizations.
Developed and maintained by the United Nations Centre for Trade Facilitation and Electronic Business (UN/CEFACT), EDIFACT provides a common format that allows companies, suppliers, logistics providers, customs authorities, and other business partners to exchange data automatically without manual intervention.
EDIFACT is one of the most widely used EDI standards worldwide and is particularly common in Europe, Asia, logistics, automotive, retail, manufacturing, and international trade.
Why EDIFACT Matters
Before EDI standards such as EDIFACT, businesses often exchanged information using paper documents, emails, or proprietary formats, resulting in:
EDIFACT enables organizations to automate business processes by exchanging structured electronic messages that can be processed directly by business systems.
Benefits include:
What is an EDI Message?
An EDI Message is the electronic equivalent of a business document.
Examples include:
| Business Document | EDIFACT Message |
| Purchase Order | ORDERS |
| Invoice | INVOIC |
| Shipping Notice | DESADV |
| Order Response | ORDRSP |
| Inventory Report | INVRPT |
| Customs Declaration | CUSDEC |
Each message follows a predefined structure that both sender and receiver understand.
How EDIFACT Works
A typical EDIFACT process looks like this:
EDIFACT defines the document structure, while transport protocols define how the message is delivered.
Key EDIFACT Terminology
EDI (Electronic Data Interchange)
EDI is the electronic exchange of structured business information between organizations using standardized formats.
EDIFACT is one of several EDI standards used globally.
Other standards include:
EDIFACT Message
An EDIFACT Message is a structured electronic document containing business information.
Examples:
Every message follows a standardized syntax.
Segment
A Segment is the basic building block of an EDIFACT message.
Each segment contains a specific type of information.
Example:
NAD+BY+123456789::9′
This segment identifies the buyer involved in the transaction.
Common segments include:
| Segment | Description |
| UNH | Message Header |
| BGM | Beginning of Message |
| DTM | Date/Time Information |
| NAD | Name and Address |
| LIN | Line Item |
| QTY | Quantity |
| UNS | Section Control |
| UNT | Message Trailer |
Data Element
A Data Element is an individual piece of information within a segment.
Example:
DTM+137:20260614:102′
Contains:
Data elements are the smallest meaningful components of an EDIFACT message.
Composite Data Element
A Composite Data Element groups multiple related data elements together.
Example:
C507:137:20260614:102
This composite contains:
Composites improve message consistency and flexibility.
Message Type
A Message Type defines the business purpose of an EDIFACT message.
Common message types include:
| Message | Description |
| ORDERS | Purchase Order |
| ORDRSP | Order Response |
| DESADV | Despatch Advice |
| INVOIC | Invoice |
| PRICAT | Product Catalogue |
| INVRPT | Inventory Report |
| RECADV | Receiving Advice |
| CONTRL | Functional Acknowledgement |
Interchange
An Interchange is the complete EDIFACT transmission exchanged between two trading partners.
It may contain:
The interchange is wrapped by control segments.
UNA Segment
The UNA Segment defines separators used throughout the message.
Example:
UNA:+.? ‘
It specifies characters used for:
UNB Segment
The UNB (Interchange Header) identifies the interchange.
Example information includes:
The UNB segment marks the beginning of an interchange.
UNZ Segment
The UNZ (Interchange Trailer) closes the interchange.
It contains:
UNZ ensures completeness of the transmission.
UNH Segment
The UNH (Message Header) identifies a specific message within an interchange.
Example:
UNH+1+ORDERS:D:23A:UN’
This indicates:
UNT Segment
The UNT (Message Trailer) marks the end of a message.
It includes:
This helps validate message completeness.
Qualifier
A Qualifier provides additional meaning to a data element.
Example:
DTM+137:20260614:102′
Here:
Without qualifiers, systems would not know how to interpret values.
Code List
A Code List contains standardized values used throughout EDIFACT.
Examples:
| Code | Meaning |
| BY | Buyer |
| SU | Supplier |
| DP | Delivery Party |
| IV | Invoicee |
Using codes ensures consistency across organizations.
Trading Partner
A Trading Partner is an organization exchanging EDIFACT messages with another organization.
Examples:
Trading partners agree on implementation guidelines and communication methods.
Implementation Guideline (MIG)
A Message Implementation Guideline (MIG) defines how a specific EDIFACT message should be used within a business relationship.
A MIG typically specifies:
Although EDIFACT is standardized, MIGs ensure consistent implementation between partners.
CONTRL Message
The CONTRL Message is an acknowledgment message used in EDIFACT.
It confirms:
CONTRL focuses on technical validation rather than business processing.
Syntax Version
EDIFACT messages are released in versions and directories.
Examples:
Different industries and organizations may support different versions.
Typical EDIFACT Message Structure
A simplified purchase order might look like:
UNA:+.? ‘
UNB+UNOC:3+BUYER+SUPPLIER+260614:1000+12345′
UNH+1+ORDERS:D:23A:UN’
BGM+220+PO123456+9′
DTM+137:20260614:102′
NAD+BY+123456789::9′
NAD+SU+987654321::9′
LIN+1++123456789:EN’
QTY+21:100′
UNT+9+1′
UNZ+1+12345′
This message contains:
EDIFACT vs. AS2
| Feature | EDIFACT | AS2 |
| Purpose | Document Format Standard | Transport Protocol |
| Defines Message Structure | Yes | No |
| Defines Communication Method | No | Yes |
| Used For | Business Documents | Message Delivery |
| Typical Combination | EDIFACT over AS2 | Transporting EDIFACT |
A common misconception is that EDIFACT and AS2 are competing technologies.
In reality:
EDIFACT defines the content, while AS2 defines how the content is transported.
A typical B2B integration often uses:
EDIFACT → AS2 → Trading Partner
Advantages of EDIFACT
Global Standardization
Provides a common language for international trade.
Automation
Reduces manual processing and human errors.
Scalability
Supports high transaction volumes across complex supply chains.
Interoperability
Enables communication between different systems and organizations.
Compliance
Widely accepted by retailers, manufacturers, logistics providers, and government agencies worldwide.
Summary
EDIFACT is a globally recognized EDI standard used to exchange structured business documents electronically between trading partners. It defines a consistent message format based on segments, data elements, qualifiers, and standardized message types such as ORDERS, INVOIC, and DESADV.
While EDIFACT specifies what information is exchanged, transport protocols such as AS2, SFTP, and OFTP2 determine how that information is delivered. Understanding concepts such as segments, interchanges, message types, qualifiers, and implementation guidelines is essential for successfully implementing and managing EDIFACT-based integrations.