Electronic Data Interchange- EDI
Chapter 18 · Tamil Nadu State Board
- 9 min read
- 6-question quiz
Every key point below shows the sentence from your textbook it comes from. How we check content
In short
This lesson explains how EDI exchanges business documents electronically between trading partners in an agreed format. It describes EDI’s history, communication types, layers, standards and advantages. EDI can reduce manual rekeying, save time and help minimize errors in business transactions. The lesson also introduces UN/EDIFACT as an international standard for exchanging structured data.
Written by AI from this lesson. How we check it
Key points
- EDI sends business documents electronically between trade partners using a predefined format.
From your textbook
“The Electronic Data Interchange (EDI) is the exchange of business documents between one trade partner and another electronically.”
- EDI can transfer documents such as invoices and purchase orders directly between companies’ computers.
From your textbook
“These documents are transferred directly from the computer of the issuing company to that of the receiving company”
- Different message formats caused transfer problems, leading transport companies to form the TDCC to develop standard formats.
From your textbook
“formed the Transportation Data Coordinating Committee (TDCC) to develop EDI standard formats.”
- EDI communication types include direct connections, VAN, Internet protocols, browsers and handheld devices.
From your textbook
“● Direct EDI ● EDI via VAN ● EDI via FTP/VPN, SFTP, FTPS ● Web EDI ● Mobile EDI”
- EDI offers benefits such as fewer errors, faster responses, automation and lower costs.
From your textbook
“● Minimizing errors ● Slashing response times ● Automation of operations ● Cutting costs”
- The four EDI layers describe how data moves from one computer to another.
From your textbook
“These EDI layers describes how data flows from one computer to another.”
- UN/EDIFACT provides internationally agreed standards and guidelines for exchanging structured data between independent computer systems.
From your textbook
“EDIFACT includes a set of internationally agreed standards, catalogs and guidelines for electronic exchange of structured data between independent computer systems.”
Electronic Data Interchange (EDI)
Definition
- Electronic Data Interchange (EDI)
- EDI is the electronic exchange of business documents between trade partners in a predefined format, with little human intervention.
Different organizations may use different computer systems and data formats. EDI uses agreed standard formats so businesses do not need to rekey information for each other. Documents can travel directly between the issuing and receiving companies through a dedicated channel or the Internet.
Documents commonly transferred through EDI
- Delivery notes
- Invoices
- Purchase orders
- Advance ship notice
- Functional acknowledgements
Paperless business
| Term | Meaning |
|---|---|
| EDI | Paperless Trade |
| EFT (Electronic Transfer) | Paperless Payment |
EDI supports data exchange between buyers and sellers, trade partners, and departments within a company. Accepted standards include EDIFACT, XML, and ANSI ASC X12. Earlier, EDI documents were sent using Radio teletype, telex messages, or telephone.
History of EDI
Key developments
- In late 1960s, shipping, railroad, airline, and truck companies in the USA exchanged electronic business messages in different formats.
- In 1968, these companies formed the Transportation Data Coordinating Committee (TDCC) to develop standard EDI formats.
- In 1975, TDCC released the first EDI standards. Ed Guilbert was a major contributor.
- In 1977, supermarket companies and their business partners began drafting and using an EDI project.
- In 1978, TDCC was renamed the Electronic Data Interchange Association (EDIA). Later that year, it became the ANSIX12 committee under the American National Standards Institute.
- In 1985, UN created EDIFACT to support the global reach of technology in E-Commerce.
Ed Guilbert is called the father of EDI. He and his team developed a standard system for business documents. It helped track what a shipment contained and who was delivering it, while reducing delays caused by language barriers and confusing formats.
The first EDI messages were sent in 1965 from the Holland-American steamship line to a Trans-Atlantic shipping company using telex messages. A computer sent a full page of information in roughly 2 minutes. The messages were written onto magnetic tapes that could be loaded onto another computer.
Remember: EDIFACT was created by UN in 1985 and is the most widely used EDI.
Types of EDI
EDI types depend on how communication connections are made and how document conversion is organized. The type can also depend on the medium used to transmit EDI documents.
Main EDI types
| Type | How it works or who it suits |
|---|---|
| Direct EDI/Point-to-Point | Creates a direct connection between business stakeholders and partners. It suits larger businesses with many day to day transactions. |
| EDI via VAN | Uses a third party network service provider as an intermediary between trading partners. |
| EDI via FTP/VPN, SFTP, FTPS | Uses these protocols to exchange EDI documents through the Internet or Intranet. |
| Web EDI | Uses a web browser over the Internet; it is easy and convenient for small and medium organizations. |
| Mobile EDI | Uses smartphones or other handheld devices to transfer EDI documents. |
Definition
- Value-added network
- A value-added network is a company that uses its own network to offer EDI services to other businesses and acts as an intermediary between trading partners.
A VAN provides access rights and high data security. Businesses may choose it to avoid the ongoing complexities of updating network technologies. Mobile EDI applications can considerably increase the speed of EDI transactions.
Advantages of EDI
EDI was developed to address problems with paper-based transactions and other forms of electronic communication. It gives a company greater control over its supply chain and helps it trade more effectively. It also improves productivity and operational efficiency.
Benefits of EDI
- Improving service to end users
- Increasing productivity
- Minimizing errors
- Slashing response times
- Automation of operations
- Cutting costs
- Integrating all business and trading partners
- Providing information on process status
- Optimizing financial ratios
Remember: EDI makes business document exchange faster and more organized while reducing errors and costs.
EDI Layers
EDI architecture has four layers. Together, they describe how data moves from one computer to another.
The four EDI layers
- Semantic layer: application-level services and business form standards such as EDIFACT and ANSI X12.
- Standard translation layer: translates data using standards such as EDIFACT and ANSI X12.
- Transport layer: carries data using methods such as electronic mail, FTP, TELNET, point to point, HTTP and the World Wide Web.
- Physical layer: the connection used to carry data, such as a dial-up line, internet or I-way.
EDI Standards
EDI exchanges data using an agreed message format. A unified standard is important because it helps computers exchange information consistently. EDI standards include basic, code, message, document, management, application, communication and security standards.
Important EDI standards
- TDCC was the first industry-specific EDI standard. It was published by the Transportation Data coordinating Committee in 1975.
- WINS is an example of a standard developed for the warehousing industry.
- The most widely used EDI message standards are United Nations EDIFACT and ANSI X12.
UN/EDIFACT Message Standard
Definition
- UN/EDIFACT
- United Nations / Electronic Data Interchange for Administration, Commerce and Transport is an international EDI standard developed under the supervision of the United Nations.
EDIFACT provides internationally agreed standards, catalogs and guidelines for exchanging structured data between independent computer systems. It is a cross-industry data format for commercial transactions. Its maintenance and further development go through UN/CEFACT, which is affiliated to UNECE.
In 1987, the UN/EDIFACT syntax rules were approved as ISO: ISO9735 standard by the International Organization for Standardization. The chapter also states that the UN created EDIFACT in 1985 to assist the global reach of technology in E-Commerce.
UN/EDIFACT message structure, from highest to lowest level
- Interchange segments: UNB/UNZ.
- Functional Groups segments: UNG/UNE.
- Messages segments: UNH/UNT.
- Segment Groups: blocks of related data.
- Segments: a mixture of simple and composite elements.
- Composite Elements: groups of related simple elements.
- Simple data Elements: pieces of single data.
Remember: EDIFACT is a widely used, internationally agreed EDI message standard for structured data exchange.
Key EDI Facts
Definition
- EDI
- According to the National Institute of Standards and Technology, EDI is the computer-to-computer interchange of strictly formatted messages that represent documents other than monetary instruments.
Paperless trade and payment
| Term | Meaning |
|---|---|
| EDI | Paperless Trade |
| EFT (Electronic Transfer) | Paperless Payment |
Other facts
- Ed Guilbert is called the father of EDI.
- Direct EDI is also called Point-to- Point EDI.
- The chapter states that every EDI message consist of six uppercase English Alphabets.
PHP if…elseif…else Statement
An if…elseif…else statement checks a value against several conditions. PHP runs the message for the first condition that is true. If neither comparison is true, the else part handles the remaining case.
Worked example
Check whether $num = 10 is less than, greater than, or equal to 5.
Try it first, then show the solutionSolution
- Test whether $num < 5. This is false.
- Test whether $num > 5. This is true, so PHP displays the greater-than message.
Answer: The number is greater than 5.
Remember: Use elseif to check another condition, and else for the case left over.
PHP switch Statement
A switch statement compares a value with a set of cases. The matching case runs its output, and break ends that case. The default case runs when none of the listed cases matches.
Worked example
Use a switch statement with $num = 3 to display its matching text.
Try it first, then show the solutionSolution
- Compare 3 with the case values.
- The matching case is case 3, which displays Three.
Answer: Three
Remember: Use default to provide an output when no case matches.
while and for Loops in PHP
Choosing a loop
| while loop | for loop |
|---|---|
| Repeats while its condition is true. | Uses a starting value, a condition, and an update in the loop statement. |
| The example prints numbers from 1 to 10 on separate lines. | The example calculates the sum and product of numbers from 1 to 10. |
In the while example, $number starts at 1. The loop prints it, then $number++ increases it for the next repetition. The condition $number <= 10 controls when the loop stops.
Worked example
Find the sum and product of the numbers from 1 to 10 using a for loop.
Try it first, then show the solutionSolution
- Start $sum at 0 and $product at 1.
- Let $i run from 1 to 10.
- Add each $i to $sum and multiply each $i into $product.
Answer: The sum of the numbers from 1 to 10 is: 55. The product of the numbers from 1 to 10 is: 362880.
Remember: A loop repeats its instructions; its condition and update control how the repetitions proceed.
foreach Loop and Arrays in PHP
Definition
- foreach loop
- A foreach loop goes through the elements of an array one at a time.
The example uses a foreach loop to visit each name in the $names array. It displays the name and its length using strlen($name). The count($names) function gives the total number of names.
Output for the names array
- Ram — Length: 3
- Ravi — Length: 4
- Kumar — Length: 5
- Barath — Length: 6
- Lavanya — Length: 7
- Total number of names: 5
Remember: Use foreach to process each array element, and count($names) to get the number of names.
Questions students ask
Short, direct answers to what students search for in this chapter.
What is Electronic Data Interchange?
Electronic Data Interchange (EDI) is the electronic exchange of business documents between trade partners in a predefined format, with little human intervention. It can transfer documents such as invoices, purchase orders, delivery notes, advance ship notices, and functional acknowledgements.
What are the main types of EDI?
The main types are Direct EDI or Point-to-Point, EDI via VAN, EDI via FTP/VPN, SFTP, FTPS, Web EDI, and Mobile EDI. They differ in how partners connect and which medium or method they use to transfer documents.
What is EDI via VAN?
EDI via VAN transfers documents through a third party network service provider. The value-added network acts as an intermediary between trading partners. It provides access rights and high data security, and can help businesses avoid the ongoing complexities of updating network technologies.
What are the advantages of EDI?
EDI can improve service to end users, increase productivity, minimize errors, reduce response times, automate operations, and cut costs. It can also integrate business and trading partners, provide information on process status, optimize financial ratios, and give a company greater control over its supply chain.
When was EDIFACT created and what is it used for?
UN created EDIFACT in 1985 to assist with the global reach of technology in E-Commerce. EDIFACT is an EDI standard and is the most widely used EDI.
What are the four layers of EDI?
The four EDI layers are the Semantic layer, Standard translation layer, Transport layer and Physical layer. They describe how data flows from one computer to another. The transport layer includes methods such as FTP, TELNET, point to point, HTTP and electronic mail.
Show 8 more questions
What is UN/EDIFACT in EDI?
UN/EDIFACT means United Nations / Electronic Data Interchange for Administration, Commerce and Transport. It is an international EDI standard for exchanging structured data between independent computer systems. It provides agreed standards, catalogs and guidelines and is used for commercial transactions.
Which was the first industry-specific EDI standard?
TDCC was the first industry-specific EDI standard. It was published by the Transportation Data coordinating Committee in 1975. Other industries later developed standards based on their individual needs, including WINS in the warehousing industry.
What does EDI mean by paperless trade?
EDI is described as Paperless Trade because it exchanges strictly formatted messages between computers instead of using paper documents. EFT (Electronic Transfer) is described as Paperless Payment. EDI standards help computers exchange information using agreed message formats.
Who is called the father of EDI?
Ed Guilbert is called the father of EDI.
How does if elseif else work in PHP?
An if…elseif…else statement checks conditions in order. PHP runs the code for the first condition that is true. If none of the conditions is true, it runs the code in the else part.
What is the purpose of default in a PHP switch statement?
The default case provides an output when the switch value does not match any listed case. For example, it can display a message that the number is not between 1 to 5.
How do you print numbers from 1 to 10 using a while loop in PHP?
Start $number at 1. While $number <= 10, print $number and increase it with $number++. The condition is checked for each repetition, so the loop stops when the value no longer satisfies it.
How does foreach work with an array in PHP?
A foreach loop visits each element in an array one at a time. In the names example, it displays each name and its length. The count($names) function then gives the total number of elements in the array.
Practice
Why did companies agree on a standard format for EDI?
Exam questions
Practice questions with model answers. These are not from an official paper.
Define EDI and name two documents that can be transferred using it.2 marks
EDI is the electronic exchange of business documents between trade partners in a predefined format. Examples include invoices and purchase orders.
Name the four EDI layers.2 marks
The four layers are the semantic layer, standard translation layer, transport layer and physical layer.
Explain EDI via VAN.5 marks
EDI via VAN (Value Added Network) is a method of transferring EDI documents through a third-party network service provider.
- Meaning: A VAN is a company operating its own network and offering EDI services to businesses.
- Intermediary: The VAN acts as an intermediary between trading partners, supporting the exchange of their EDI documents.
- Network services: Businesses transfer EDI documents with the support of these third-party network service providers.
- Protection from complexity: Many businesses prefer this model because it protects them from the ongoing complexities of updating network technologies.
- Access rights: One of the principal operations of a VAN is allocating access rights.
- Data security: A VAN also provides high data security for the EDI exchange.
Thus, a VAN serves as a secure intermediary that supports EDI document exchange between trading partners.
Give four advantages of EDI.5 marks
EDI helps businesses process transactions more effectively by replacing paper-based processing and other forms of electronic communication.
- Improves service: EDI helps improve the service provided to end users.
- Slashes response times: EDI makes business responses faster.
- Automates operations: EDI supports the automation of business operations.
- Integrates business partners: EDI connects the business and its trading partners.
Thus, EDI improves the speed, efficiency and effectiveness of business transactions.
Watch out
- Do not confuse EDI, described as “Paperless Trade”, with EFT, described as “Paperless Payment”.
- Direct EDI and EDI via VAN are different: one creates a direct connection, while the other uses a third-party network intermediary.
Still stuck on this lesson?
Get an AI answer grounded in your actual textbook — with the exact page reference.
Ask AI about this topic →