Switch To Transalis
EDI Explained · Section 02

EDI communication protocols: AS2, AS4, SFTP and VAN explained

How EDI documents travel between companies: AS2, AS4, SFTP, VANs and APIs compared, with the 30 protocols and connection methods Transalis supports.

Short answer

An EDI communication protocol is the route a document takes from one company's system to another's. The main ones are AS2, AS4, SFTP, a value added network (VAN) and APIs, and your trading partner usually decides which one you use.

What is the difference between an EDI standard and an EDI protocol?

The standard is the document's language; the protocol is the delivery route. A purchase order written in EDIFACT can travel over AS2 to one retailer and over SFTP to another, and its content stays the same.

Your trading partner's EDI specification names both: the standard and version it wants, and the protocol it will send and receive on.

Which EDI protocols are used most?

The main EDI communication protocols compared
ProtocolHow it worksProof of deliveryTypically used by
AS2Sends each file over HTTPS, encrypted and digitally signed with certificates.A signed receipt (MDN) for every file.Large retailers and their suppliers
AS4Web-services messaging, built on the ebMS 3.0 standard.A signed receipt for every message.The Peppol network and public-sector eInvoicing
SFTPFiles are placed in, and collected from, secure folders over SSH.None built in; checked by the receiving system.3PLs, smaller partners and internal systems
VANA third-party network holds a mailbox for each company and forwards documents.Mailbox tracking from the VAN provider.Long-standing EDI relationships
APISystems exchange data in real time over HTTPS, often as JSON or XML.An immediate response from the receiving system.Marketplaces and newer platforms

What is AS2?

AS2 (Applicability Statement 2) sends EDI files directly between two companies over the internet. Each file is encrypted, digitally signed and answered with a signed receipt, so both sides can prove what was sent and received.

Because AS2 is a direct, point-to-point connection, each new partner needs certificates exchanged and a connection tested.

What is AS4, and how does it relate to Peppol?

AS4 is a newer messaging protocol built on web-services standards. It is the protocol the Peppol network uses to move eInvoices and other documents between Access Points.

Transalis is an authorised Peppol Access Point using AS4, so the same connection that carries your EDI can send and receive Peppol compliant eInvoices.

What is a value added network (VAN), and is it still needed?

A VAN is a third-party network that holds an electronic mailbox for each company and forwards documents between them. VANs made EDI possible before the internet, and many charge for each message or by data volume.

Today most partners connect over AS2, AS4, SFTP or APIs instead, but many long-standing relationships still run through a VAN.

Transalis reaches those partners through VAN interconnect agreements (VAN-to-VAN interconnectivity). Your documents reach a partner on a third-party VAN without that partner changing its EDI set-up, so you can move from a legacy VAN to Transalis and keep every existing connection.

How do you choose the right protocol?

  • Start with your partner's specification. Most retailers name the protocol they require.
  • Use AS2 or AS4 where you need proof. Signed receipts settle any question about a missing order or invoice.
  • Use SFTP for simple, high-volume file exchange. It suits logistics partners and internal systems.
  • Use an API for marketplaces and real-time stock. Many platforms offer an API instead of classic EDI.
  • Let a managed provider run them all. You connect once, and the provider handles every partner's route.

Which protocols does Transalis support?

Transalis supports 30 EDI protocols and connectivity methods through one managed connection, so each trading partner receives documents over the route it asks for.

Applicability Statement (AS) protocols

AS protocols Transalis supports
ProtocolWhat it does
AS1Secure, digitally signed and encrypted document exchange over email, using SMTP and S/MIME, with message receipt confirmations.
AS2Secure point-to-point document exchange over HTTP or HTTPS, with encryption, digital signatures and message receipt confirmations.
AS3Secure, digitally signed and encrypted document exchange over FTP-based transport, with message receipt confirmations.
AS4Secure, reliable web-services document exchange using the ebMS 3.0 messaging standard, including connectivity across the Peppol network.

File transfer and web protocols

File transfer and web protocols Transalis supports
ProtocolWhat it does
FTP (File Transfer Protocol)Traditional electronic file transfer between computer systems, without native encryption.
FTPS (File Transfer Protocol Secure)Extends FTP with TLS encryption to protect file transfers.
SFTP (SSH File Transfer Protocol)Secure file transfer using SSH encryption and authentication.
HTTP (Hypertext Transfer Protocol)Exchange of documents and data between web-based systems, without native transport encryption.
HTTPS (Hypertext Transfer Protocol Secure)Secure web-based document and data exchange using TLS encryption.
SMTP (Simple Mail Transfer Protocol)Exchange of business documents through email-based connectivity.
WebDAV (Web Distributed Authoring and Versioning)Extends HTTP for remote file access, management and exchange between connected systems.

API and enterprise messaging

API and enterprise messaging methods Transalis supports
Protocol or methodWhat it does
REST APIsAutomated system-to-system data exchange, typically JSON or XML over HTTPS.
SOAP APIsStructured XML data exchange between applications and enterprise business systems.
IBM MQ (Message Queuing)Reliable asynchronous message exchange between enterprise applications through managed message queues.
AMQP (Advanced Message Queuing Protocol)A standard messaging protocol for reliable asynchronous data exchange between applications.
MQTT (Message Queuing Telemetry Transport)Lightweight publish-and-subscribe messaging for connected devices, applications and automated processes.
ebMS (ebXML Messaging Service)Reliable, secure business message exchange using standard web services.
WebhooksAutomated, event-driven data exchange between applications through HTTP notifications.

Industry and specialist connectivity

Industry and specialist protocols Transalis supports
Protocol or methodWhat it does
OFTP (Odette File Transfer Protocol)Business document exchange, particularly in the automotive industry and its supply chains.
OFTP2 (Odette File Transfer Protocol 2)Extends OFTP with internet connectivity, encryption, digital certificates, compression and signed receipts.
X.400Standard electronic messaging and document exchange, mainly in established European and legacy enterprise environments.
IBM Connect:Direct (NDM)Reliable, automated point-to-point file transfer between enterprise systems, common in banking and finance.
RosettaNet RNIF (RosettaNet Implementation Framework)Standard business process and document exchange in technology, electronics and semiconductor supply chains.
S/MIME (Secure/Multipurpose Internet Mail Extensions)Encryption and digital signatures for secure email-based document exchange.

Trading network connectivity

Trading network connectivity Transalis supports
Connectivity methodWhat it does
VAN (value added network)Document exchange through third-party networks with managed electronic mailboxes and document routing.
VAN interconnectsDocument exchange between different VANs, without trading partners moving from their existing providers.
Peppol networkStandard, interoperable document exchange between organisations through accredited Peppol Access Points.
Direct point-to-point connectivityDocument exchange directly between trading partners over agreed protocols and security requirements.
Web EDIExchange and management of EDI documents in a web browser, with no EDI software or system integration.
Managed EDI connectivityDocument exchange with many trading partners through one managed provider connection.
FAQs

Frequently asked questions

What is the most common EDI protocol?

AS2 is the most common protocol for direct EDI between UK retailers and suppliers. SFTP is common with logistics partners, and AS4 is the protocol behind the Peppol network.

Is AS2 the same as EDI?

No. EDI is the exchange of standard business documents. AS2 is one of the routes those documents travel on, alongside AS4, SFTP, VANs and APIs.

Do I still need a VAN for EDI?

Usually not. Most trading partners now connect directly over AS2, AS4, SFTP or APIs. A managed EDI provider can still reach partners that use a VAN through the same connection.

What is the difference between AS2 and AS4?

Both send documents securely with signed receipts. AS2 sends files over HTTPS; AS4 uses web-services messaging and is the protocol the Peppol network uses.

Is SFTP secure enough for EDI?

Yes. SFTP encrypts the connection and the files. It does not return a signed receipt for each file, so the receiving system confirms what arrived.

Can I keep trading with partners on another VAN if I move to Transalis?

Yes. Transalis uses VAN interconnect agreements to exchange documents with partners on third-party VANs, so those partners do not need to change their EDI set-up when you move.

Which protocol do automotive partners use?

Most European automotive partners use OFTP2, the secure internet version of the Odette File Transfer Protocol. Transalis supports both OFTP and OFTP2.

How many EDI protocols does Transalis support?

Transalis supports 30 EDI protocols and connectivity methods, from AS2, AS4 and SFTP to OFTP2, X.400, APIs, VAN interconnects and the Peppol network.

Want this working in your business?

We will look at how you trade today and show you what moving to Transalis involves, while your business keeps trading.