Chapter 18 — Electronic Data Interchange (EDI): Exercise Solutions Guide
How to Use This Page
1. Attempt every exercise question on your own first — write your answer before looking here. 2. Compare your answer with the solution provided; focus on the reasoning, not just the final choice. 3. Re-read the Key Concepts section for a quick recap before exams. 4. Check the Common Mistakes section to avoid frequent errors that cost marks.
Key Concepts (Quick Recap)
- EDI (Electronic Data Interchange) — the computer-to-computer exchange of business documents (purchase orders, invoices, shipping notices) in a standardised electronic format between trading partners.
- Purpose of EDI — eliminates manual data entry, reduces paperwork, speeds up transactions, and minimises errors.
- ANSI X12 — EDI standard developed by the American National Standards Institute; primarily used in North America. Defines transaction sets for various business documents.
- EDIFACT (UN/EDIFACT) — United Nations Electronic Data Interchange for Administration, Commerce and Transport; the international EDI standard used worldwide, especially in Europe and Asia.
- EDI process — (1) Sender prepares document → (2) EDI software converts to standard format → (3) Transmitted via VAN/internet → (4) Receiver's EDI software converts to internal format → (5) Document processed in receiver's system.
- VAN (Value Added Network) — a third-party network service provider that acts as an intermediary, receiving, storing, and forwarding EDI messages between trading partners. Provides security, audit trails, and protocol conversion.
- Direct EDI (Point-to-Point) — trading partners connect directly without a VAN; suitable for high-volume partners.
- EDI document types — purchase orders (850/ORDERS), invoices (810/INVOIC), advance shipping notices (856/DESADV), functional acknowledgements (997/CONTRL).
- Advantages of EDI — faster processing, reduced errors, lower costs, improved accuracy, better inventory management, stronger trading partner relationships.
- Disadvantages of EDI — high initial setup cost, requires specialised software, dependence on trading partner compliance, training requirements.
- EDI vs e-commerce — EDI is structured, standardised B2B document exchange; e-commerce is broader, includes B2C, uses web interfaces, and encompasses online shopping and payments.
- Business applications — supply chain management, order processing, invoice management, shipping and logistics, healthcare claims, banking transactions.
I. Choose the Best Answer (MCQs)
1. EDI stands for: (a) Electronic Data Interface (b) Electronic Data Interchange (c) Electronic Document Interchange (d) Electronic Digital Interchange
Answer(b) Electronic Data Interchange Explanation: EDI (Electronic Data Interchange) is the computer-to-computer exchange of business documents in a standardised electronic format between trading partners.
2. The international EDI standard is: (a) ANSI X12 (b) EDIFACT (c) XML (d) HTML
Answer(b) EDIFACT Explanation: EDIFACT (United Nations Electronic Data Interchange for Administration, Commerce and Transport) is the international EDI standard used worldwide, especially in Europe and Asia.
3. A VAN in EDI stands for: (a) Value Added Network (b) Virtual Area Network (c) Value Area Network (d) Virtual Added Network
Answer(a) Value Added Network Explanation: A VAN (Value Added Network) is a third-party network service that receives, stores, and forwards EDI messages between trading partners, providing security and protocol conversion.
4. Which EDI standard is primarily used in North America? (a) EDIFACT (b) ANSI X12 (c) TRADACOMS (d) XML
Answer(b) ANSI X12 Explanation: ANSI X12 is the EDI standard developed by the American National Standards Institute and is primarily used in North America.
5. The main purpose of EDI is to: (a) Browse websites (b) Exchange business documents electronically in a standard format (c) Send emails (d) Create websites
Answer(b) Exchange business documents electronically in a standard format Explanation: EDI enables the computer-to-computer exchange of business documents (purchase orders, invoices, etc.) in a standardised electronic format, eliminating manual data entry and paperwork.
6. Which of the following is an EDI document type? (a) Purchase order (b) Email (c) Social media post (d) Blog article
Answer(a) Purchase order Explanation: Purchase orders, invoices, advance shipping notices, and functional acknowledgements are common EDI document types exchanged between trading partners.
7. Direct EDI (Point-to-Point) means: (a) Using a VAN for communication (b) Trading partners connect directly without an intermediary (c) Using email for document exchange (d) Using the postal service
Answer(b) Trading partners connect directly without an intermediary Explanation: In Direct EDI (Point-to-Point), trading partners connect directly to each other without using a VAN, suitable for partners with high transaction volumes.
8. EDI reduces which of the following? (a) Speed (b) Accuracy (c) Manual errors (d) Trading partners
Answer(c) Manual errors Explanation: EDI eliminates manual data entry, which significantly reduces human errors such as typos, missing information, and transcription mistakes.
9. The ANSI X12 standard for a purchase order is: (a) 810 (b) 850 (c) 856 (d) 997
Answer(b) 850 Explanation: In the ANSI X12 standard, transaction set 850 is used for purchase orders. 810 is for invoices, 856 for advance shipping notices, and 997 for functional acknowledgements.
10. Which of the following is NOT an advantage of EDI? (a) Faster processing (b) Reduced errors (c) High initial setup cost (d) Improved accuracy
Answer(c) High initial setup cost Explanation: High initial setup cost is a disadvantage of EDI, not an advantage. EDI requires investment in software, hardware, and training.
II. Fill in the Blanks
1. EDI stands for Electronic Data Interchange — the computer-to-computer exchange of business documents in a standard format. 2. EDIFACT is the international EDI standard developed by the United Nations. 3. ANSI X12 is the EDI standard primarily used in North America. 4. A VAN (Value Added Network) is a third-party service that receives, stores, and forwards EDI messages between trading partners. 5. In Direct EDI (Point-to-Point), trading partners connect directly without using a VAN. 6. The ANSI X12 transaction set 850 is used for purchase orders. 7. The ANSI X12 transaction set 810 is used for invoices. 8. The ANSI X12 transaction set 997 is used for functional acknowledgements. 9. EDI eliminates manual data entry and reduces paperwork in business transactions. 10. EDI translator software converts internal data formats into standard EDI formats and vice versa.
III. True or False
1. EDI is the same as sending business documents via email.
AnswerFalse EDI uses standardised formats for computer-to-computer exchange; email is unstructured and requires manual processing. 2. EDIFACT is the international EDI standard. — True. EDIFACT (UN/EDIFACT) is the international standard for EDI, widely used in Europe, Asia, and globally. 3. A VAN provides protocol conversion services. — True. A VAN converts between different communication protocols, allowing trading partners with different systems to exchange EDI documents. 4. EDI requires manual data entry at the receiving end. — False. EDI eliminates manual data entry; the EDI translator converts the standard format into the receiver's internal format automatically. 5. ANSI X12 is used primarily in North America. — True. ANSI X12 is the dominant EDI standard in the United States and Canada. 6. EDI can only be used for purchase orders. — False. EDI is used for many document types: purchase orders, invoices, shipping notices, order acknowledgements, and more. 7. Direct EDI uses a VAN as an intermediary. — False. Direct EDI (Point-to-Point) connects trading partners directly without a VAN. Indirect EDI uses a VAN. 8. EDI reduces transaction processing time. — True. EDI enables instant electronic exchange of documents, significantly reducing processing time compared to paper-based methods. 9. EDI and e-commerce are the same. — False. EDI is a specific technology for structured B2B document exchange; e-commerce is broader, covering all online buying and selling including B2C, C2C, and web-based transactions. 10. A functional acknowledgement (997) confirms receipt of an EDI document. — True. The 997 functional acknowledgement is sent by the receiver to confirm that an EDI document was received and is syntactically correct.
IV. Match the Following
Set A:
| Column A | Column B |
|---|
| 1. EDI | (c) Computer-to-computer document exchange |
| 2. ANSI X12 | (a) North American EDI standard |
| 3. EDIFACT | (e) International EDI standard |
| 4. VAN | (b) Third-party intermediary network |
| 5. 850 | (d) Purchase order transaction set |
Set B:
| Column A | Column B |
|---|
| 1. 810 | (d) Invoice transaction set |
| 2. 856 | (a) Advance shipping notice |
| 3. 997 | (e) Functional acknowledgement |
| 4. Direct EDI | (b) Point-to-point connection |
| 5. Indirect EDI | (c) Uses a VAN as intermediary |
V. Short Answer Questions
1. Define EDI and state its purpose.
Answer
EDI (Electronic Data Interchange) is the computer-to-computer exchange of business documents in a standardised electronic format between trading partners, without human intervention.
Purpose:
- Eliminate manual data entry and paper documents
- Reduce errors and processing time
- Enable faster and more accurate business transactions
- Improve efficiency in supply chain management
- Strengthen trading partner relationships through streamlined communication
2. Differentiate between ANSI X12 and EDIFACT.
Answer
| Feature | ANSI X12 | EDIFACT |
|---|
| Full form | ANSI X12 (ASC X12) | UN/EDIFACT |
| Developed by | American National Standards Institute | United Nations |
| Primary use | North America (USA, Canada) | International (Europe, Asia, global) |
| Document naming | Transaction sets (e.g., 850, 810) | Message types (e.g., ORDERS, INVOIC) |
| Structure | Segments, elements, composites | Segments, data elements, composites |
| Popularity | Dominant in US | Dominant globally |
3. What is a VAN? List its functions.
Answer
A VAN (Value Added Network) is a third-party network service provider that acts as an intermediary between trading partners for exchanging EDI documents.
Functions:
- Receives, stores, and forwards EDI messages between trading partners
- Provides protocol conversion between different communication systems
- Offers security features (encryption, authentication)
- Maintains audit trails of all transactions
- Provides error checking and notification
- Offers mailbox services for storing documents until the recipient retrieves them
4. What are the different types of EDI documents? Give examples.
Answer
| EDI Document | ANSI X12 Code | EDIFACT Message | Purpose |
|---|
| Purchase Order | 850 | ORDERS | Buyer sends order to seller |
| Invoice | 810 | INVOIC | Seller bills buyer for goods/services |
| Advance Shipping Notice | 856 | DESADV | Seller notifies buyer of shipment |
| Purchase Order Acknowledgement | 855 | ORDRSP | Seller confirms receipt of order |
| Functional Acknowledgement | 997 | CONTRL | Confirms receipt of EDI document |
5. List any four advantages of EDI. 1. Faster processing — documents are exchanged instantly, reducing order-to-delivery cycle time 2. Reduced errors — eliminates manual data entry, minimising typos and transcription mistakes 3. Cost savings — reduces paper, printing, postage, and labour costs 4. Improved accuracy — standardised formats ensure data consistency 5. Better inventory management — faster order processing enables just-in-time inventory
6. What are the disadvantages of EDI? 1. High initial setup cost — requires EDI software, hardware, and training investment 2. Dependence on trading partner compliance — all partners must use compatible EDI standards 3. Complex implementation — requires technical expertise for setup and maintenance 4. Limited flexibility — standardised formats may not accommodate all business needs 5. Training requirements — staff need training on EDI systems and processes
VI. Detailed Answer Questions
1. Explain the EDI process step by step.
Answer
The EDI process involves converting business documents from internal formats to standardised EDI formats, transmitting them, and converting them back at the receiver's end.
Step-by-step process:
1. Document preparation — The sender creates a business document (e.g., purchase order) in their internal system (ERP, accounting software).
2. EDI translation — The sender's EDI translator software converts the internal document format into the standard EDI format (ANSI X12 or EDIFACT). This conversion ensures the document can be understood by the trading partner's system.
3. Transmission — The standardised EDI document is transmitted to the trading partner through one of these methods:
- VAN (Value Added Network): The document is sent to a VAN, which stores and forwards it to the recipient
- Direct connection (Point-to-Point): The document is sent directly to the trading partner over a dedicated connection
- AS2 (Applicability Statement 2): The document is sent over the internet using secure HTTP protocol
- Web EDI: The document is exchanged through a web-based portal
4. Reception — The trading partner receives the EDI document.
5. EDI translation at receiver — The receiver's EDI translator converts the standard EDI format back into the receiver's internal system format.
6. Processing — The converted document is automatically processed in the receiver's internal system (e.g., creating a sales order from a purchase order).
7. Functional acknowledgement — The receiver sends a functional acknowledgement (997/CONTRL) confirming the document was received and is syntactically correct.
2. Explain the two major EDI standards: ANSI X12 and EDIFACT.
Answer
ANSI X12:
- Developed by the Accredited Standards Committee (ASC) X12, under the American National Standards Institute (ANSI)
- Primarily used in North America (USA and Canada)
- Defines transaction sets for various business documents
- Key transaction sets:
- 850 — Purchase Order
- 855 — Purchase Order Acknowledgement
- 810 — Invoice
- 856 — Advance Shipping Notice (ASN)
- 997 — Functional Acknowledgement
- Structure: Interchange → Functional Group → Transaction Set → Segment → Element
EDIFACT (UN/EDIFACT):
- Developed by the United Nations Economic Commission for Europe (UNECE)
- Stands for United Nations Electronic Data Interchange for Administration, Commerce and Transport
- International standard used worldwide, especially in Europe and Asia
- Defines message types (equivalent to X12 transaction sets):
- ORDERS — Purchase Order
- ORDRSP — Order Response
- INVOIC — Invoice
- DESADV — Despatch Advice
- CONTRL — Control/Acknowledgement
- Structure: Interchange → Message Group → Message → Segment → Data Element
Key differences:
| Feature | ANSI X12 | EDIFACT |
|---|
| Region | North America | International |
| Developer | ANSI | United Nations |
| Document name | Transaction set | Message |
| Delimiters | Separators defined in ISA segment | Fixed separators (segment: ', element: +, component: :) |
| Popularity | USA, Canada | Europe, Asia, Australia |
3. Compare EDI and e-commerce.
Answer
| Feature | EDI | E-Commerce |
|---|
| Definition | Computer-to-computer exchange of business documents in standard format | Buying and selling goods/services over the internet |
| Scope | Specific — structured document exchange | Broad — all online commercial activities |
| Participants | Primarily B2B (business-to-business) | B2B, B2C, C2C, C2B |
| Format | Standardised (ANSI X12, EDIFACT) | Varies (web pages, forms, apps) |
| Human involvement | Minimal — automated computer-to-computer | Significant — human browsing, selecting, ordering |
| Interface | System-to-system (no user interface) | Web-based (browser, mobile app) |
| Transaction type | Structured business documents (orders, invoices) | Online shopping, payments, banking |
| Technology | EDI translator, VAN, AS2 | Web servers, browsers, payment gateways |
| Cost | High initial setup cost | Lower entry cost |
| Speed | Very fast (automated) | Depends on user interaction |
| Examples | Purchase order 850, Invoice 810 | Amazon, Flipkart, online banking |
Summary: EDI is a specific technology for automated B2B document exchange, while e-commerce is a broader concept encompassing all online commercial activities. EDI can be considered a subset of e-commerce.
4. Describe the role of VAN in EDI. What value-added services does it provide?
Answer
A VAN (Value Added Network) is a third-party network service provider that acts as an intermediary for exchanging EDI documents between trading partners.
Role of VAN:
1. Mailbox service — The VAN provides each trading partner with a mailbox. The sender transmits the EDI document to the recipient's mailbox, and the recipient retrieves it at their convenience.
2. Store and forward — The VAN stores the EDI document and forwards it to the recipient when they connect. This allows partners with different operating schedules to exchange documents asynchronously.
3. Protocol conversion — Trading partners may use different communication protocols. The VAN converts between protocols (e.g., FTP, AS2, HTTP), enabling seamless exchange.
4. Security — The VAN provides encryption, authentication, and secure transmission of EDI documents, protecting sensitive business data.
5. Audit trail — The VAN maintains logs of all transactions, providing proof of delivery and receipt, which is important for dispute resolution.
6. Error handling — The VAN checks for errors in EDI documents and notifies senders of any issues.
7. Trading partner management — The VAN manages connections between multiple trading partners, simplifying the process of adding new partners.
Value-added services:
- Data validation — checks EDI documents for compliance with standards
- Format conversion — converts between ANSI X12 and EDIFACT formats
- Reporting — provides transaction reports and analytics
- Disaster recovery — backup and recovery services
- Notification services — alerts for incoming documents or errors
- Multi-protocol support — supports various communication methods (VAN, AS2, FTP, HTTP)
5. Explain the advantages and disadvantages of EDI in business.
Answer
Advantages:
1. Faster processing — EDI documents are exchanged instantly, reducing order-to-delivery cycle time from days to minutes. 2. Reduced errors — Eliminates manual data entry, minimising typos, missing data, and transcription mistakes. Error rates drop from 10-15% (manual) to less than 1% (EDI). 3. Cost savings — Reduces costs associated with paper, printing, postage, filing, and manual labour. Estimated savings: 35-50% per transaction. 4. Improved accuracy — Standardised formats ensure data consistency and completeness. 5. Better inventory management — Faster order processing enables just-in-time (JIT) inventory, reducing storage costs. 6. Stronger trading partner relationships — Streamlined communication builds trust and reliability between partners. 7. Competitive advantage — Many large organisations require EDI capability from suppliers; having EDI opens business opportunities. 8. Environmental benefit — Reduces paper usage, contributing to sustainability.
Disadvantages:
1. High initial setup cost — EDI requires investment in software, hardware, VAN subscriptions, and staff training. 2. Dependence on trading partner compliance — All trading partners must adopt compatible EDI standards, which can be challenging for smaller partners. 3. Complex implementation — Setting up EDI requires technical expertise for configuration, mapping, and testing. 4. Limited flexibility — Standardised formats may not accommodate all business-specific needs or custom data requirements. 5. Training requirements — Staff need training on EDI systems, error handling, and troubleshooting. 6. Maintenance costs — Ongoing costs for software updates, VAN subscriptions, and technical support. 7. System dependency — EDI systems can be a single point of failure; downtime affects all trading partners.
Business applications of EDI:
- Supply chain management — automating orders, shipments, and inventory updates
- Retail — exchanging purchase orders, invoices, and advance shipping notices with suppliers
- Healthcare — processing insurance claims and patient records between hospitals and insurers
- Banking — electronic funds transfer and financial messaging
- Manufacturing — just-in-time ordering and production scheduling
- Logistics — shipping instructions, customs declarations, and tracking
Common Mistakes
1. Confusing EDI with email — EDI is structured, standardised, computer-to-computer document exchange; email is unstructured and requires manual processing. 2. Mixing up ANSI X12 and EDIFACT — ANSI X12 is the North American standard; EDIFACT is the international (UN) standard. 3. Thinking VAN is the only way to transmit EDI — EDI can also be transmitted via direct connection (Point-to-Point), AS2 over the internet, or Web EDI. 4. Equating EDI with e-commerce — EDI is a specific B2B technology for standardised document exchange; e-commerce is broader and includes B2C, C2C, and web-based transactions. 5. Forgetting functional acknowledgement (997/CONTRL) — Always mention this when describing the EDI process; it confirms receipt and validity of the document. 6. Confusing transaction set numbers — 850 is purchase order, 810 is invoice, 856 is advance shipping notice, 997 is functional acknowledgement — these are frequently tested. 7. Saying EDI eliminates all costs — EDI reduces operational costs but has high initial setup costs and ongoing VAN subscription fees.
Exam Checklist
- [ ] Can define EDI and explain its purpose
- [ ] Know the EDI process step by step (preparation → translation → transmission → reception → translation → processing → acknowledgement)
- [ ] Can differentiate ANSI X12 and EDIFACT standards
- [ ] Understand VAN and its value-added services
- [ ] Can compare Direct EDI (Point-to-Point) and Indirect EDI (via VAN)
- [ ] Know common EDI document types and their ANSI X12 codes (850, 810, 856, 997)
- [ ] Can list advantages and disadvantages of EDI
- [ ] Can differentiate EDI from e-commerce
- [ ] Understand business applications of EDI (retail, healthcare, banking, supply chain)
- [ ] Can explain the role of EDI translator software