EDI as the core system for electronic data interchange and partner integrations

What EDI is, how electronic data exchange works, and when this technology helps businesses integrate with partners.

  • 1. What EDI Is. History and Development. Standards
  • 2. Features of EDI Exchange
  • EDI or Exchange of Legally Significant Documents?
  • Which Companies EDI Is Suitable For

6.5.2020 Useful material for IT managers. Expert opinions on the advantages and differences of electronic data exchange systems via EDI.

1. What EDI Is. History and Development. Standards

Features of EDI Exchange Expert Opinion: How an EDI Integration Customer Evaluates This Technology

Conclusions Reading time: 11 min

Development clients often think that EDI is a modern data exchange and integration standard that is universal for any company and any counterparties. Is that really so? Let's figure out what EDI actually is and why this technology has been so popular for more than 40 years.

What EDI Is. History and Development. Standards

2. Features of EDI Exchange

The concept of EDI is often confused with the exchange of legally significant documents. In the CIS B2B electronic document management market, the following areas can be identified: EDI as a technology for integration with partners' information systems; electronic document exchange (EDM) as a means of exchanging legally significant documents between counterparties; electronic reporting to the tax service, customs authorities, and other government regulatory bodies.

Assess where AI can deliver impact in your process

EDI or Exchange of Legally Significant Documents?

The development client needs to decide whether they need the exchange of legally significant documents, reporting, or system integration. These are different things. Naturally, businesses have many legally significant documents that need to be exchanged with customers, suppliers, and the tax authority at a minimum. The specific feature of EDI in CIS is the variety of formats: there are several electronic reporting systems on the market ("SKB Kontur",

SBIS); UTD format (short for "universal transfer document"

) is advisory in nature; there are several operators

ECP (short for "unified digital signature"

) and so on. But exchange is easier when all parties use a single format and common rules. Such integration requires electronic document exchange. In this case, EDI refers to a set of standards (legacy) related to electronic document exchange. EDI as a means of reporting and exchanging legally significant documents is a broad topic, but in this article we will talk about EDI as an integration technology: this is the part of the work we deal with.

Which Companies EDI Is Suitable For

  1. Such standards are not needed by small organizations.

  2. Although on a global scale even some top-1 company is not a very large organization and can quite possibly develop its own internal standards and use a more modern data transfer technology instead of EDI, such as API.

  3. But if we are talking about entire industries, cross-border information exchange, or large projects where thousands of developers work on data exchange, then there are only two paths: either use existing standards (UN/EDIFACT and its subsets), or develop your own EDI standards that counterparties will support. A simple XML schema will not work.

  4. Developing your own EDI standards will require a great deal of effort from analysts, and if we are talking about cross-border cooperation, from politicians as well, on both sides. By comparison, the effort spent on technical implementation will be negligible relative to the coordination work.

3. Expert Opinion: How an EDI Integration Customer Evaluates This Technology

To learn the opinion of large business on EDI, we interviewed a representative of the international logistics company FM Logistic. Our interviewee is Jonathan Woloszczyk, Head of IS Build & Deploy, our long-time client and partner. - In our joint work, we used API to integrate with delivery services, and EDI as the means of integration with WMS.

We also know that FM Logistic has EDI exchange with some partners.

- Why do you think EDI is still of interest to the transport and logistics business and its counterparties? What are its advantages? -

That is how it developed historically

First, all major logistics systems and WMS were created 20 to 30 years ago, when only EDI existed.

These WMS systems are not just old now, but extremely old, and creating API for them is often impossible. Second, in logistics there is still a very high level of trust in file exchange via EDI.

Logistics professionals are pragmatic people; they are more used to thinking of a file as a physical object, an artifact. With EDI, a logistics specialist can say, "I sent you the file" and "I received your file."

Accountability is transparent: each participant in the exchange can always prove what they sent, when they sent it, and to whom. API and transactional exchange are much harder to understand.

It is hard to conceptualize a data transfer format via API and trust it. I think this is the main reason why EDI exchange is so popular.

But many logistics companies are already seeing changes: a younger generation is arriving with different views on EDI and API. Third, writing a script and connecting it to API is much more difficult than using EDI. Most IT solutions have a standard EDI specification on input or output, and it is fairly easy to use: when you want to connect one client's ERP system to a WMS or another information system, you only need to do mapping - there is no need to write scripts, methods, connect them to API, and so on. -

Now let's look at the example with Auchan. They have EDI Orders, and your WMS has Orders. Did you integrate via EDI?

- How do you receive order data from Auchan? -

When we were just starting out, we integrated via EDI.

Integration took 2 to 4 business days per flow, which is fast

- Do you have the same fields in Orders? - No, not only the fields, but the entire structure can be completely different, and the object called Orders on their side may differ from the object called Orders on our side.

You have to analyze the specifications and reformat their Orders so that they match ours. The good thing is that even someone far from programming can do such analysis - not a technical specialist, but any analyst who only needs to make a list in Excel and show which fields need to be aligned.

Then another person, a developer, implements it

- With API, things are somewhat more complicated: you need at least a basic understanding of what a method is and how an application can react to its call. -

Broadly speaking, you could simply expose the EDI interface to your e-commerce partners and integrate with them that way.

So why did you choose API for this?

- The e-commerce market is still fairly young, and our company is young and modern too. 50% of our clients have their own website that does not communicate via EDI, but through which they receive orders and send them to us as logistics providers.

The remaining 50% of clients still exchange XML files through EDI.

This is not UN/EDIFACT, ANSI X12, or anything similar, but it is EDI nonetheless.

They send you files, you transform them and integrate

E-commerce is highly transactional, and many small orders pass through us every day, often individual items.

Data exchange is fast and intensive, and there are many documents.

Whereas in B2B logistics, we deal with large batches of goods, and all the data for a day can be captured in a single document.

A major advantage of API is that after each data submission you get a response, either "OK" or "not OK." With EDI, you do not get feedback: you simply send a file and wait, not knowing what happened to it next. Some time ago, EDI tried to add flags inside files to indicate whether the sender needed a response, but that did not work.

To this day, EDI does not confirm that integration is correct, and although there are workarounds to obtain that confirmation, they are implemented very rarely.

Even if the client receives a file, it can get "stuck" in the business process immediately after receipt. EDI was invented in the 1970s to move away from paper document exchange: before, partners exchanged physical documents with orders printed in them, and now they exchange files in the same paradigm. API works on a different principle: we send a request and receive data.

HTTP methods such as GET, HEAD, POST, PUT, DELETE, and so on are also two-way, meaning I can send data to a partner so they can change something in it, and I will receive a response confirming that the changes were made.

Or I can send a request designed to return a reference directory. I call a method that returns part of the catalog to me and displays it in the UI and in the mobile app. - So EDI is so popular because there are still many companies that exchange paper documents, and converting those papers into electronic messages and exchanging them is currently relevant for them.

That is why EDI sells well, even though it is an outdated technology and an old format. - Yes, but for those people who require EDI and do not want API, this is the first step of digital transformation.

For them, it is psychologically important to go through this stage so that later they can appreciate the advantages of API.

Moving directly from paper to API is too radical a change in concept

"No, API has nothing to do with what I do. I'd rather take my paper and send it as a file through EDI."

It is easy to decide to replace paper with a file containing the same data as the paper document. It looks almost the same. But API? "No, I won't figure out this technology of yours, give me EDI instead, that's easier."

- Why don't WMS developers want to build API into the system itself, since data exchange speed matters to them and, for example, ERP systems, especially SAP, are already moving quite actively toward API? -

In fact, WMS solutions are also looking toward API, but it is very difficult for them to take concrete steps because all popular WMS systems are tied to EDI by a large number of algorithms.

To attach API to a WMS, a huge amount of work is required to conceptualize and remodel objects, functions, and so on.

At the moment, there are very few WMS products on the market that can be controlled via API, and those that do exist have a very limited set of actions. Mostly, they just translate a unified API, meaning that when you make a request, they run it through an EDI import script and return the response and result synchronously.

But creating a new method for them that would directly affect databases or exchange data into the core is an unrealistically labor-intensive task.

Thanks for the interview to our partner: we learned the opinion of a representative of a large international company about EDI and the prospects for using this technology in the logistics business.

Conclusions

  1. The main task facing EDI in the modern world is to replace paper document exchange with electronic exchange and automate data transfer. And EDI does this successfully.

  2. Let's take as an example a process involving a bank and the tax authority: payment of a payment order.

  3. The tax authority creates a WSDL file containing data about the recipient capable of receiving payment notifications, with a specific XML schema.

  4. After receiving this WSDL, the banking information system will not be able to automatically determine which specific service should receive the notification.

  5. The bank and the tax authority need to agree in advance on what the services will be called. This cannot happen automatically without coordination.

  6. Another problem will arise if a foreign bank, for example, tries to send a payment notification to our tax authority, and the CIS tax service makes the XML schema element "budget classification code for the payment" (KBK) mandatory.

  7. Or payer data will be described as three mandatory elements: last name, first name, and patronymic. And in the information systems of a foreign bank, there will be neither a KBK nor a patronymic anywhere.

  8. All mandatory elements need to be agreed upon and discussed, and only then can developers start building their WSDL, XSD, and so on.

  9. Resolving all differences and creating common requirements usually takes a lot of time and money. The syntax in which the solution will be implemented, whether EDI, JSON, XML, or something else, is a secondary issue.

  10. The value of EDI is precisely that counterparties, both businesses and the state, can agree once on how messages should be structured and what data they should carry, so that in the future such data can be generated, transmitted, and received correctly and automatically, without human involvement.

Discuss the article: EDI as a Basic System for Electronic...

Send via: