Electronic Data Interchange (EDI)

CYBER LAWLECTURE 02

Electronic Data Interchange (EDI)

When one computer does not merely send a business document, but creates a message that another computer can understand, validate and act upon.

  • Structured data
  • System-to-system exchange
  • Legal and evidentiary consequences
01

Begin with the distinction

Electronic does not always mean EDI

EDI is the direct interchange of structured business data between computer systems according to an agreed message standard, with little or no manual re-entry.

PDF Electronic, but human-readable

Invoice attached to an email

  1. A person opens the attachment.
  2. The person reads the invoice.
  3. Data is entered again into the receiving system.

Delivery is electronic; processing is still largely manual.

EDI Structured and machine-processable

Standard purchase-order message

  1. The buyer’s system generates the order data.
  2. The data is translated into an agreed standard.
  3. The supplier’s system validates and imports it.

Both delivery and routine processing can occur system to system.

Core idea

EDI does not merely remove paper. It removes repeated human handling by turning business information into a standardised message that software can interpret.

1Computer to computer

Exchange occurs between business applications, not only between users.

2Structured business data

Orders, invoices, shipment details and other transactional information.

3Agreed standard

Fields, segments, codes and syntax carry a shared meaning.

4Minimal re-entry

The receiving application can validate and process the message automatically.

02

The business problem

Why commerce moved beyond paper, fax and email

Business transactions repeatedly carry the same data: party names, product codes, quantities, prices, taxes, shipment details and payment references. Re-entering that data at every organisational boundary creates delay, cost and error.

Stage 1

Paper trade

Post, courier and physical files

Slow movement, storage burden and repeated data entry
Stage 2

Electronic document

Fax, email and PDF attachment

Faster delivery, but a person still reads and processes it
Stage 3

Integrated EDI

Structured messages between applications

Requires standards, mapping, secure integration and partner rules
01

Less re-keying

Data generated in one system is imported by another, reducing transcription mistakes.

02

Faster cycles

Orders, acknowledgements and invoices can move within minutes rather than days.

03

Process integration

Procurement, inventory, logistics, invoicing and payment can operate as one flow.

04

Traceability

Timestamps, acknowledgements and audit logs help establish what was sent, by whom and when.

03

System anatomy

EDI is an arrangement, not a single software program

An operational EDI environment combines business applications, message standards, translation tools, communication facilities, security controls and rules agreed between trading partners.

Trading Partner A Buyer / sender ERP · procurement · inventory
1MapperMatches internal fields with standard data elements
2TranslatorCreates, validates and interprets the EDI message
3Secure networkVAN · AS2 · SFTP · API · cloud gateway
Trading Partner B Supplier / receiver ERP · warehouse · billing
Security and control layerAuthenticationIntegrityEncryptionAccess controlLogsRetention
Mapper

Defines equivalence

It decides that the internal field supplier_code, for example, corresponds to a particular element in the selected EDI standard.

Translator

Applies the map

It converts mapped internal data into a complete standard message and converts incoming messages back into the receiver’s internal format.

Value Added Network

A VAN is a managed intermediary that can receive, store, route and track EDI messages. It may provide electronic mailboxes, delivery reports, security controls and audit facilities.

04

The message journey

How an EDI transaction moves from one system to another

01

Partner arrangement

Agree on document types, standard, protocol, identifiers, security, acknowledgements, error handling and retention.

02

Transaction created

A user or automated process creates an order, invoice or other business transaction.

03

Data extracted and mapped

Relevant fields are linked to their equivalent elements in the chosen EDI standard.

04

Translated and validated

The translator builds the message and checks mandatory fields, syntax, codes and format.

05

Transmitted securely

The message travels directly or through a VAN using an agreed protocol and security controls.

06

Received and checked

The receiving gateway checks the sender, envelope, communication status, syntax and duplication.

07

Translated inward

The standard message is converted into the format required by the receiving application.

08

Business process updated

The receiver creates or updates the order, shipment, inventory, invoice or payment record.

09

Acknowledgement returned

A technical or functional response reports whether the message was received and structurally accepted.

10

Records preserved

Messages, timestamps, validation results, acknowledgements and audit logs are retained.

05

A common electronic language

EDI standards make different systems interoperable

A standard specifies how messages are arranged into envelopes, headers, segments and data elements; which codes are permitted; and how each transaction type is identified. Trading partners still need an implementation guide for the exact version, fields, code lists and validation rules they will use.

StandardPrimary useTypical sectorsDistinctive point
ANSI X12Widely used in North AmericaRetail, transport, finance, healthcare, supply chainsNumeric transaction sets, such as 850 for purchase orders and 810 for invoices
UN/EDIFACTInternational trade frameworkCross-border trade, transport, customsMessage names such as ORDERS, INVOIC and DESADV
TRADACOMSHistorically prominent in UK retailRetail ordering and invoicingOlder sector-specific standard still present in legacy systems
GS1 EANCOMUN/EDIFACT subset for GS1 useRetail, logistics, consumer goodsUses GS1 identification and coding practices
XML / ebXMLInternet-oriented structured messagingWeb-integrated and service-oriented exchangeReadable tags and flexible integration with modern platforms
Standard ≠ complete agreement

Successful exchange also requires agreement on the standard’s version, mandatory and optional fields, code lists, character sets, validation rules, communication method and exception handling.

06

The commercial sequence

Each EDI message represents a stage of the transaction

EnquiryRFQPrice and availability
Order850 / ORDERSItems, quantity and terms
Response855 / ORDRSPConfirm, reject or vary
Dispatch856 / DESADVShipment and packaging
Invoice810 / INVOICAmount, tax and payment terms
Payment820 / REMADVPayment allocation
PO

Purchase order

May communicate a buyer’s offer or an order under an existing framework contract.

ASN

Advance shipping notice

Provides packaging, carrier and expected-delivery information before the goods arrive.

GR

Receiving advice

Confirms quantity and condition of goods and identifies discrepancies.

INV

Inventory report

Communicates stock position, availability or inventory movement.

BOL

Transport messages

Carry bookings, consignment details, bills of lading and transport status.

REG

Regulatory declarations

Submit structured customs, tax, import-export, health or compliance information.

07

Across sectors

EDI is used where structured transactions recur at scale

01

Retail and manufacturing

Orders, acknowledgements, invoices, inventory reports, production schedules and replenishment.

02

Transport and logistics

Bookings, manifests, shipment notices, delivery status, bills of lading and freight invoices.

03

Banking and finance

Payment instructions, remittance advice, account reports and trade-finance messages.

04

Healthcare and pharmaceuticals

Procurement, claims, product and batch data, traceability and regulatory reporting.

05

Government and customs

Tax filings, import-export declarations, licences, permits and public procurement.

A complete automated scenario

A retailer’s system detects low stock, sends an EDI order, receives an acknowledgement and shipping notice, updates expected inventory, records the goods receipt, and later matches the invoice against the order and receipt.

09

Trust must be designed

Security controls create evidentiary reliability

Reliable
EDI record
A

Authentication

Verify identity and authority through controlled accounts, certificates or electronic signatures.

I

Integrity

Use hashes, signatures, validation rules and tamper-evident logs.

C

Confidentiality

Encrypt sensitive information and restrict access by role.

V

Availability

Maintain backups, redundancy, disaster recovery and incident response.

D

Duplicate control

Use unique references, sequence checks and replay protection.

AU

Auditability

Preserve messages, timestamps, mapping versions, validation reports and access logs.

Electronic evidence

Preserve the record in the form in which reliability can be tested

Under the Bharatiya Sakshya Adhiniyam, 2023, electronic or digital records are subject to the statutory method of proof. Admissibility does not by itself establish persuasive weight.

  • Native EDI message
  • Readable rendering
  • Message envelope and metadata
  • Acknowledgements and timestamps
  • Validation and error reports
  • Mapping and standard version
  • Access and transmission logs
  • Chain-of-custody records
Admissibility and weight are not the same.

A record may be admitted yet remain weak if its origin, integrity, completeness or the reliability of the generating system is not established.

10

See the difference at a glance

Paper, email and EDI do not create the same process

PointPaper systemEmail / PDFEDI
FormPhysical documentHuman-readable electronic documentStructured electronic message
ProcessingManualHuman reads and often re-entersApplication processes automatically
ConsistencyDepends on forms and staffFormat may varyAgreed standard and implementation guide
SpeedHours or daysFast delivery, slower processingSeconds or minutes for both transfer and routine processing
Error patternTranscription and duplicate entryRe-entry error remainsLess manual error, but incorrect mapping can scale rapidly
EvidenceDocument, signature and delivery proofEmail headers and attachmentMessage, metadata, acknowledgements, validation and audit logs
Advantages
  • Shorter business cycles
  • Fewer transcription errors
  • Better supply-chain visibility
  • Automated validation and audit trails
  • High-volume and cross-border scalability
Limitations and risks
  • Implementation and integration cost
  • Different standards and partner requirements
  • Dependence on networks and providers
  • Cybersecurity and confidentiality risk
  • Unclear authority or liability unless agreed
EDI does not remove human responsibility. It moves responsibility from repetitive data entry to system design, security, exception handling and legal governance.
11

Place it within the larger subject

EDI is part of e-commerce, but it is not the whole of e-commerce

E-commerce

Online marketing · platforms · consumer ordering · payments · digital services

EDI

Structured, recurring exchanges between business or government systems

One transaction, two layers

A customer may place an order through a web interface. The seller may then use EDI at the back end for procurement, fulfilment, logistics and invoicing.

12

Retrieval practice

Check whether the central distinctions are clear

What is EDI?

The direct exchange of structured business data between computer systems using an agreed message standard, with minimal human re-entry.

Why is an emailed PDF usually not EDI?

Because the attachment is primarily designed for a human to read; the receiving application may not be able to interpret and process its contents automatically.

What is the difference between a mapper and a translator?

The mapper defines correspondence between internal fields and standard elements. The translator applies that map to generate or interpret the complete EDI message.

Does a functional acknowledgement prove acceptance of an offer?

Not necessarily. It commonly establishes technical receipt or structural processing. Contractual acceptance depends on the agreement, message type, law and circumstances.

What should be preserved if an EDI dispute reaches court?

The native message, readable rendering, metadata, acknowledgements, timestamps, mapping/version information, validation records, access logs and chain of custody.

What are the main legal issues?

Contract formation, attribution, authority, dispatch and receipt, integrity, confidentiality, retention, evidence and allocation of liability.

One-sentence recap

EDI is a standardised method of carrying legally significant business data directly from one application to another; its reliability depends on interoperable standards, secure systems, clear partner rules and preservation of trustworthy electronic records.

LECTURE 02 · CYBER LAW

Read the page. Keep the complete notes.

The downloadable PDF contains the full lecture discussion, comparison tables, standards, legal meaning of EDI events and quick revision material.

Download EDI notes (PDF)