Doxis Blog  P2P & O2C

Electronic data interchange (EDI): how it works and why enterprises still rely on it

| Bärbel Heuser-Roth

A smiling man in a yellow jacket participates in a discussion about Electronic Data Interchange.

 

A supplier confirms an order by email. Someone on your procurement team opens the PDF, checks it against the purchase order in SAP line by line, and keys in the differences by hand. Multiply that by a few hundred confirmations a week and the backlog writes itself.

Electronic data interchange solves exactly this, and it is still growing. According to Fortune Business Insights (2026), the global EDI software market is projected to grow from $2.57 billion in 2026 to $6.49 billion by 2034, with North America holding 51.4% of that market. It remains the backbone most large enterprises run their supply chains on, with AI now layered onto the extraction and anomaly-detection steps around it.

This guide covers how EDI actually works, the standards and protocols that matter for a US enterprise, and what happens to an EDI message after it lands, specifically how it gets from a trading partner's system into yours.

Key takeaways

  • EDI is the automated, standardized exchange of business documents like purchase orders and invoices directly between computer systems, with no manual re-entry
  • In North America, ANSI ASC X12 is the dominant standard; EDIFACT and XML matter mainly for international trading partners
  • Direct connections and value-added networks (VANs) are the two ways EDI documents move, using protocols such as AS2 and SFTP
  • HIPAA transaction sets (837, 835, 270/271) apply EDI specifically to healthcare claims and eligibility checks
  • Receiving an EDI file is only step one. What happens next, mapping, matching, and posting into your ERP, is where most of the manual work still hides

What is EDI?

Electronic data interchange (EDI) is the automated exchange of business documents, such as purchase orders, invoices, and shipping notices, between two organizations' computer systems in a standardized electronic format. It replaces paper, email, and manual data entry with a direct system-to-system transaction that requires no human intervention to send, receive, or process.

How EDI works

An EDI transaction moves through four stages, regardless of which standard or protocol carries it:

  1. Creation. An internal system, usually an ERP like SAP, generates the source document: a purchase order, an invoice, an advance ship notice. It exists in whatever format your ERP produces natively.
  2. Translation. An EDI translator converts the document into the agreed standard, most often X12 in the US. Fields such as part number, quantity, and price get mapped into the exact positions the receiving system expects.
  3. Transmission. The file moves to the trading partner, either over a direct connection or through a value-added network (VAN).
  4. Integration. The receiving system's own translator reads the file and posts the data into its ERP or accounting system automatically, with no manual entry on either side.

Get step 2 wrong and the transaction fails outright, which is exactly why EDI is trusted at high volumes.

EDI standards compared: X12, EDIFACT, and XML

Standard Developed by Where it dominates Message format Example message types
ANSI ASC X12 American National Standards Institute North America Numbered types 850 (purchase order), 856 (advance ship notice), 810 (invoice)
EDIFACT United Nations Europe, Asia, international trade Six-letter codes ORDERS (purchase order), DESADV (despatch advice), INVOIC (invoice)
XML-based Varies by industry E-commerce, high tech, financial services Custom, human-readable Varies by trading partner

For a US enterprise, the practical rule holds: default to X12 for domestic partners, expect EDIFACT from anyone trading internationally, and treat XML as the exception. Your trading partner agreements will almost always specify X12 first, since most US retailers, automotive OEMs, and healthcare payers run on it. XML trades consistency for flexibility, which is why industries with less rigid, more frequently changing document structures sometimes prefer it for custom message formats.

Transmission methods and protocols

Two connection types carry EDI documents:

Connection type How it works Best for
Direct connection Your system links straight to your trading partner's, computer to computer, with no intermediary High-volume partners with matching technical setups
Value-added network (VAN) A third party manages delivery, often via a cloud mailbox the recipient checks and retrieves from Partners without a direct connection, or where the VAN also handles conversion and validation

The protocol matters as much as the connection type:

Protocol Security Where it's used
AS2 Encrypts data in transit, confirms delivery with a digital receipt, HIPAA-compliant Required by most large US retailers, dominant in retail and healthcare EDI
SFTP Uses SSH encryption, simpler to set up Widely used, but lacks AS2's built-in delivery confirmation
FTP Minimal security Legacy systems only, being phased out

If a major retail or automotive trading partner hands you a technical requirements document before you even sign a purchase agreement, that document is almost certainly specifying AS2.

Automate Work. Accelerate Business.

Bring together AI, ECM, and workflow automation in one powerful enterprise platform.

EDI in practice: a purchase order example

Picture a mid-size manufacturer buying components from a supplier. Here's how the transaction chain plays out:

  1. 850 Purchase Order. The buyer's ERP generates the order and transmits it via AS2.
  2. 855 Purchase Order Acknowledgment. The supplier's EDI translator reads the 850, confirms stock, and sends this back.
  3. 856 Advance Ship Notice. Once goods ship, the supplier sends tracking details and expected delivery date, so the buyer's warehouse knows exactly what to expect before the truck arrives.
  4. 810 Invoice. After delivery, the supplier transmits the invoice. On the buyer's side, it needs to match the original 850 on price, quantity, and terms before anyone approves payment.

Every step in that chain references the previous document by number, so the entire order-to-cash cycle stays traceable end to end, which matters as much for an audit as it does for day-to-day operations.

Common use cases and applications of EDI

EDI concentrates in three areas of enterprise operations.

Procurement and supply chain management

EDI carries purchase orders, inventory data, and delivery scheduling between buyers and suppliers, most often through procurement and supply chain workflows:

  • Large retailers built entire vendor compliance programs around it: Walmart, Target, and Amazon all require suppliers to transact via EDI
  • Vendor scorecards penalize late or malformed transmissions
  • Miss the AS2 requirement or send a malformed 856, and you risk a chargeback before the shipment even arrives

Invoicing and payment processing

EDI moves electronic invoices, payment remittances, and reminders, cutting the days-long float that paper invoices create.

Logistics and transport

EDI carries shipping orders, customs documentation, and transport status updates. The 856 Advance Ship Notice earns its place here as one of the most valuable single documents in the entire standard.

EDI in healthcare: HIPAA transaction sets

Healthcare EDI runs on a distinct set of X12 transactions, defined under HIPAA:

Code Name Purpose
837 Health care claim Provider sends a claim to a payer
835 Claim payment/advice Payer sends payment and remittance advice back
270 Eligibility inquiryProvider checks whether a patient's coverage is active Provider checks whether a patient's coverage is active
271 Eligibility response Payer responds to the 270 inquiry

The cost case for this is well documented. The Workgroup for Electronic Data Interchange estimates, as reported by Fortune Business Insights (2026), that EDI adoption saves health plans $1 per claim, hospitals $0.86 per claim, and physicians $1.49 per claim compared with manual processing. Multiply that across a payer processing millions of claims a year and the number stops looking small.

If your organization handles any of these transaction types, HIPAA's document management requirements apply on top of the standard EDI rules, covering how long records are retained and who can access them.

Key benefits of EDI

Four properties make EDI worth the setup effort at enterprise scale:

  • Speed: a transaction that takes days by mail or email completes in minutes, and a delayed shipment notice arrives before the truck does
  • Accuracy: standardized field structures catch formatting errors at the moment a transaction is validated, the exact point where a re-keyed value would otherwise let a typo slip into your ERP
  • Cost reduction: every manual re-key eliminated is a re-key that cannot introduce an error, freeing up hours for exceptions that actually need a human decision
  • Compliance: a standardized, auditable transaction trail gives you exactly what a SOX or HIPAA audit asks for, proof of who sent what, when, and how it was validated

Challenges of implementing EDI

None of this arrives automatically. Three things take real engineering effort before your first transaction goes live:

  • Trading partner agreements (TPAs): you and each trading partner need a TPA that defines the exact standard, version, protocol, and business rules both sides will follow. Skip this and you'll find out the hard way when a supplier's 850 uses a segment your system does not expect
  • Mapping: your internal document formats rarely line up field for field with X12 or EDIFACT, so a mapping layer has to translate between them, and that layer needs updating every time a trading partner changes their specification
  • Batch enveloping and de-enveloping: high-volume trading partners bundle multiple transactions into a single envelope for efficient transmission, then unpack and route each one to the right internal destination on arrival. Get the routing logic wrong and a valid transaction lands in the wrong queue, invisible until someone goes looking for it

Budget real implementation time for all three. None of them is a plug-and-play checkbox.

EDI vs. APIs: when to use each

EDI and APIs both move business data between systems, but they solve different problems.

  EDI APIs
Format Rigid, standardized (X12, EDIFACT) Flexible (JSON, XML), negotiated per integration
Best for High-volume, repetitive, scheduled batch transactions Real-time, custom, lower-volume exchanges
Setup cost High upfront, low per-transaction cost at scale Low upfront, higher maintenance over time
Typical use Purchase orders, invoices, ASNs with long-standing trading partners Inventory sync, real-time pricing, one-off integrations

If you exchange thousands of purchase orders a month with the same set of retail or automotive partners, EDI is still the right tool: the standard is fixed, the cost per transaction is close to zero, and every partner already speaks it. If you need to sync inventory levels with a marketplace in real time, an API fits better. Most large enterprises run both side by side: EDI for the high-volume trading partner backbone, APIs for the integrations that need to be fast and flexible.

From EDI transmission to ERP posting: what happens next

Getting an EDI file to arrive is the easy half of the problem. What happens after it lands in your inbox, or your mailbox on the VAN, decides whether that transaction actually saves anyone time.

Invoices

Doxis Invoice for SAP receives EDI invoices as a first-class document type alongside PDF, TIFF, and XML. Rather than relying on a fixed EDIFACT or X12 parser, it maps each trading partner's specific format to the right invoice fields, then transfers the converted data, along with a record of the original EDI format, straight into SAP.

  • The file is read and its fields mapped to the exact structure your accounts payable process expects
  • The result is handed to SAP for posting, without anyone re-typing a single line
  • If a mapping needs a second look, it can be triggered again manually from the Doxis Invoice for SAP Center, so a partner's format change never becomes a dead end

Order confirmations

Order confirmations work differently: they get checked against an existing SAP purchase order before anything posts.

Doxis Order Confirmation for SAP accepts confirmations through several channels, including EDI, and automatically compares each one against the original purchase order on price, quantity, and delivery date.

Confirmations within tolerance post automatically; anything outside tolerance gets flagged for a person to review before it writes back to the SAP purchase order.

Bizerba, a manufacturing company running purchase-to-pay through Doxis, now processes 58,000 order confirmations a year this way, combining EDI and webEDI with OCR for the confirmations that arrive in other formats, all matched and posted in SAP automatically.

That matching step runs on fixed, auditable rules that a finance or procurement team can inspect and explain to an auditor. Across the industry, AI shows up earlier in the process: extracting data from documents that were never EDI to begin with, and flagging volume anomalies a fixed threshold would miss. When you evaluate vendors, ask exactly which step their AI touches.

After posting: governance doesn't stop at SAP

An EDI invoice, once posted, still needs to be:

  • Retained for its statutory period
  • Retrievable for an audit years later
  • Linked back to the purchase order and goods receipt that justified it

Running EDI, archiving, and records management as separate systems is exactly how that traceability breaks down later. Keeping them on one platform is what keeps an audit trail intact from the moment the EDI file arrives to the year it is legally allowed to be deleted.

See how Doxis handles your EDI data end to end

If your team is still manually reconciling EDI invoices or order confirmations against SAP, the bottleneck is not EDI itself. It is the missing layer between the EDI transmission and the posting screen. Doxis Invoice for SAP and Doxis Order Confirmation for SAP close that gap, receiving EDI alongside every other inbound format, mapping it automatically, and posting it directly into SAP ERP or S/4HANA with a full audit trail.

Both modules run on Doxis's broader Intelligent Content Automation platform, which handles the rest of the document lifecycle around your EDI transactions too: compliant archiving, contract management for the trading partner agreements that govern your EDI relationships, and records retention that keeps every posted transaction audit-ready long after it clears SAP.

  • Receives EDI as a first-class format alongside PDF, XML, and scanned documents, with no separate system to maintain
  • Maps customer-specific EDI formats automatically, with manual remapping available when a partner's specification changes
  • Matches order confirmations against SAP purchase orders on price, quantity, and delivery date, flagging discrepancies before they cause a problem
  • Posts approved invoices and confirmations directly into SAP ERP or S/4HANA, no manual re-entry
  • Extends beyond EDI to your full document lifecycle: archiving, contract management, and retention on one platform
  • Fully GDPR and ISO 27001 compliant, built for enterprise-scale trading partner volumes

Doxis is recognized as a Leader in the Gartner® Magic Quadrant™ for Document Management 2026. Request a free demo to see how your own EDI transactions would flow through it.

Automate Work. Accelerate Business.

Bring together AI, ECM, and workflow automation in one powerful enterprise platform.

FAQs for electronic data interchange (EDI)

What is EDI?

EDI, or electronic data interchange, is the automated exchange of business documents such as purchase orders and invoices between two organizations' computer systems, in a standardized electronic format that requires no manual re-entry.

How does EDI work?

An EDI transaction is created in a sender's system, translated into a standard format like X12, transmitted via a direct connection or VAN, then translated back and posted automatically into the receiver's system.

What is an example of EDI?

A retailer sends an 850 Purchase Order to a supplier, who responds with an 856 Advance Ship Notice once goods ship, followed by an 810 Invoice after delivery, all transmitted automatically between the two companies' systems.

What are the main EDI standards?

ANSI ASC X12 is the dominant standard in North America. EDIFACT is the international standard used mainly outside the US. XML-based formats offer more flexibility but less enforced consistency across trading partners.

What is EDI used for?

EDI is used mainly for procurement and supply chain transactions, invoicing and payment processing, and logistics documents such as shipping orders and advance ship notices.

Is EDI used in healthcare?

Yes. HIPAA defines specific EDI transaction sets for healthcare, including the 837 for claims, the 835 for claim payment and remittance advice, and the 270/271 pair for eligibility checks.

What is the difference between EDI and an API?

EDI uses rigid, standardized formats best suited to high-volume, repetitive batch transactions with long-standing trading partners. APIs use flexible formats better suited to real-time, custom, or lower-volume exchanges. Most enterprises use both.

Is EDI still relevant for enterprises today?

Yes. The global EDI software market is projected to grow from $2.57 billion in 2026 to $6.49 billion by 2034, and large retailers, healthcare payers, and manufacturers continue to require it of their trading partners as a condition of doing business.

Bärbel Heuser-Roth

Bärbel Heuser-Roth has specialized in a wide range of Enterprise Content Management (ECM) disciplines, including information logistics, process management, compliance, and AI-based intelligent content automation. Her professional work has been complemented by in-depth research and extensive publications on the planning, implementation, and optimization of ECM initiatives across enterprises and organizations.

You might also be interested in

How can we help you?

+49 (0) 30 498582-0
What is the sum of 4 and 7?

Your message has reached us!

We appreciate your interest and will get back to you shortly.

Contact us

Table of contents