KibiPay
HomeBlog › Legacy Protocols

EDIFACT in Financial Messaging

6 min read Legacy Protocols
EDIFACTLegacy protocolsEDI
EDIFACT in Financial Messaging

Before ISO 20022 XML and modern JSON APIs, businesses that needed to exchange structured documents electronically — orders, invoices, shipping notices and payment instructions — turned to EDI, electronic data interchange. The dominant international EDI standard is UN/EDIFACT, short for United Nations rules for Electronic Data Interchange for Administration, Commerce and Transport. Decades old and famously terse, EDIFACT still moves large volumes of financial and trade traffic, and anyone integrating with established corporates or supply chains will eventually meet it.

What EDIFACT is

EDIFACT is a standardised syntax and a library of message types maintained under the United Nations. It was designed to be compact and machine-parseable at a time when every byte of transmission cost money, so it favours short codes and positional data over the verbose, self-describing tags of XML. A single EDIFACT interchange can carry business documents between trading partners, banks and their corporate customers, or parties in a trade-finance chain. Its cross-industry scope is exactly why the standard is so broad and its message catalogue so large.

The segment-and-element structure

An EDIFACT message is built from segments, each a line beginning with a three-letter tag and ending with a segment terminator, conventionally an apostrophe. Within a segment, data elements are separated by a plus sign, and component elements within a composite are separated by a colon. So the structure is a nesting of separators rather than opening and closing tags. A few structural landmarks recur in every interchange:

Because meaning is carried by position and short codes rather than descriptive names, an EDIFACT message is compact but opaque to the untrained eye. You cannot read it without the relevant message specification in hand, which is a defining difference from self-documenting modern formats.

Financial message types

Within its catalogue, EDIFACT defines specific message types for finance. The best known include:

These handled corporate-to-bank payment flows for many large organisations, particularly in Europe, long before ISO 20022 pain and camt messages arrived to do the same jobs.

Why it persists

EDIFACT should have faded, yet it endures for practical reasons. Large enterprises embedded it deeply in ERP systems and trading-partner agreements, and replacing a working integration carries cost and risk with little visible benefit to the business. Entire supply chains — automotive, retail, logistics — standardised on EDIFACT documents, so a bank or supplier wanting their business had to speak it. Inertia in mission-critical B2B plumbing is powerful; if the messages flow and reconcile, there is rarely urgency to migrate. There is also a genuine strength worth acknowledging: EDIFACT is compact and battle-tested, and for high-volume, stable, machine-to-machine exchanges its terseness is an efficiency, not just a liability. A working EDIFACT link that has run reliably for twenty years is a hard thing to justify replacing.

The migration pressure

The direction of travel is nonetheless toward ISO 20022. The newer standard offers the same structured content with self-describing XML, a richer data model, and alignment with the messages banks now use internally for clearing and settlement. As banks retire legacy corporate channels and regulators push structured data, EDIFACT payment flows are gradually being converted — often via translation layers that map PAYMUL to pain.001 and CREMUL to camt.054. The pragmatic reality for integrators is a long coexistence: building new flows on ISO 20022 while maintaining EDIFACT bridges for partners not ready to move.

Key takeaways

See these rails in motion

KibiPay connects UK Faster Payments, Bacs, CHAPS, Mojaloop mobile money and Solana behind one API, with ISO 20022 messaging and real-time fraud & AML screening.

Open the live console How it works