EDI sends structured messages between computer systems, in agreed formats such as the UN/EDIFACT and ANSI X12 families, instead of documents sent by email or fax. Common freight messages include bookings, shipping instructions, bills of lading, container status and invoices.

EDI needs agreement between trading partners on formats, codes and timing, which makes setup slower than an API for a single integration. Once in place, it removes re-keying and reduces errors.

Many carriers and customs systems still rely on EDI, so a forwarder typically needs both EDI and modern APIs to connect to them. Newer standards and APIs are gradually replacing some EDI flows.