Electronic Data Interchange (EDI) was a standard for exchanging business documents electronically between companies. While EDI is still used, it is being replaced by XML. EDI aimed to make document formats uniform and exchanges easier by taking care of mismatches between documents. It allowed the electronic exchange of documents like purchase orders and invoices, bringing benefits like speed, accuracy, and reduced paperwork compared to traditional methods. EDI started in the 1960s and was mainly used by large organizations but is now being supplemented by internet transactions.