Electronic data interchange (EDI) allows companies to electronically exchange standardized business documents like orders and invoices instead of using paper. It originated in the 1960s when railroad companies wanted to automate document exchange. Standards for EDI formats were developed in the 1970s to facilitate electronic exchange between different companies and industries. EDI reduces costs and errors compared to paper by automating document exchange and processing.