100% Offline Reference EDIFACT CONTRL

UN/EDIFACT CONTRL Syntax Acknowledgment & Error Code Lookup

CONTRL is the UN/EDIFACT counterpart to X12 997/999: it acknowledges or rejects an inbound UNB interchange and pinpoints offending segment and element positions via UCS and UCD.

UCI / UCM Action Codes & UCS Error Lookup

Segment & ElementCodeMeaning
UCI-04 / UCM-037 / 87 = This level acknowledged (Accepted); 8 = Interchange received.
UCI-04 / UCM-034Rejected — this level and all lower levels rejected due to syntax errors below.
UCS-01Integer (1-based)1-based segment position starting at UNH == 1 inside the rejected message!
UCS-02 / UCD-0112 / 13 / 16 / 3712 = Invalid value; 13 = Missing mandatory element/segment; 16 = Too many constituents; 37 = Invalid type/character.
UNH+1+CONTRL:D:96A:UN'
UCI+ORD9910+4012345000018:14+5412345000099:14+4'   <-- Interchange ORD9910 Rejected (4)
UCM+1+ORDERS:D:96A:UN+4'                           <-- UNH #1 Rejected (4)
UCS+9'                                             <-- Error at 9th segment from UNH (inclusive)
UCD+13+3:1'                                        <-- Missing mandatory component 1 of element 3
UNT+6+1'

Frequently Asked Engineering Questions

How does UCS-01 count segments compared to X12 IK3-02?

They follow the exact same 1-based rule: X12 IK3-02 counts from ST == 1, and UN/EDIFACT UCS-01 counts from UNH == 1.

Inspect, Diff, Validate & Scrub This Payload Offline in Your JetBrains IDE

Never paste regulated healthcare PHI (837/835/271) or supply-chain payloads (850/ORDERS) into browser parsers. EdiPrism X12 EDIFACT runs 100% air-gapped inside IntelliJ IDEA, PyCharm, DataGrip, Rider, GoLand, and WebStorm with a free core tier and a 14-day [Pro] trial.

Install Free from JetBrains Marketplace → Read Air-Gap Security Architecture