EDI STANDARDS · INTERNATIONAL TRADE

UN/EDIFACT: Deep Dive into International EDI Standards

Cogential IT works inside the structure that governs every international EDI exchange — the UNB interchange header, UNG functional groups, and UNH message headers — mapping your data to EDIFACT segments and elements so every ORDERS, DESADV, and INVOIC validates cleanly against the directory version your trading partner requires.

UNB — Interchange Header UNG — Functional Group UNH — Message (ORDERS) BGM Beginning of Msg DTM Date/Time NAD Name/Address LIN Line Item SEGMENT · ELEMENT · QUALIFIER SYNTAX NAD+ BY+ 4400012' UNT — Message Trailer UNE — Functional Group Trailer UNZ — Interchange Trailer DIRECTORY D.96A
STRUCTURE

Interchange Architecture

Build and validate the UNB, UNG, and UNH interchange hierarchy so every message nests correctly from control reference to trailer.

MESSAGE TYPES

ORDERS / DESADV / INVOIC Mapping

Map purchase orders, dispatch advices, and invoices to the correct EDIFACT message structure for each trading partner.

DIRECTORIES

Directory Version Support

Support legacy and current EDIFACT directories like D.96A and D.01B side by side as partners migrate at their own pace.

VALIDATION

Segment-Level Validation

Catch syntax and qualifier errors at the segment and element level before a document ever reaches a trading partner.

Interchange Structure Walkthrough

Every EDIFACT interchange nests the same way, from the outermost interchange header down to the individual segment, then closes each layer in reverse before the file is complete.

UNB / UNZ Interchange Control

Opens and closes the outermost interchange, identifying sender, receiver, and control reference.

UNG / UNE Functional Group

Groups related messages together, such as all purchase orders in a single batch.

UNH / UNT Message

Wraps one business document, like an ORDERS purchase order, in its own labeled header and trailer.

SEGMENTS Segment & Element Syntax

Breaks the message into segments like BGM, DTM, and NAD, each built from delimited elements.

VALIDATION Directory Compliance Check

Confirms every segment and qualifier matches the directory release your partner requires.

EDI Standards Framework

What Is the UN/EDIFACT EDI Standard?

UN/EDIFACT is the primary EDI standard used across international trade, developed and maintained under the United Nations. It defines a strict interchange hierarchy, a UNB header wrapping one or more UNG functional groups, each wrapping one or more UNH messages, so that structured business documents like purchase orders and invoices can move between completely different systems in a predictable, machine-readable format. Within each message, data is broken into segments and elements governed by a specific directory release, such as D.96A or D.01B, that both trading partners must agree on.

UNB / UNG / UNH Interchange Hierarchy
D.96A / D.01B Directory Support
Segment & Element Validation
edifact-interchange-spec.edi
Standards Compliance

Built on the structure every partner already expects

  • Match each trading partner's exact interchange, delimiter, and directory requirements out of the box.

  • Run new messages through segment-level validation before a single document goes live.

  • Support mixed-directory trading relationships without maintaining separate systems for each release.

Start a conversation

Let’s design your EDI workflow the right way.

Share your requirements and our team will help you map the right approach for trading partners, systems, documents, and automation.

Get Started

Let's Build Something Powerful

Tell us your requirements and our experts will get back within 24 hours.

Secure verification

By submitting this form, you agree that Cogential IT may contact you about your requirement.

Let us Call

Ready to Upgrade Your Software?

Drop us a line and our technical experts will respond within 24 hours.

24h
Response target
EDI
Expert review
Talk to an EDI specialist

Get practical guidance for trading partner, ERP, shipping, and document automation.

Faster discovery

Share your requirement once and we'll help identify the best integration path.

Secure & compliant

Built for reliable, auditable, business-critical data exchange workflows.

What happens next?

We review your submitted details, identify the right integration approach, and follow up with practical next steps.

Need EDI help?