EDI fundamentals

EDI VAN vs AS2: how EDI documents travel between partners

How VANs, AS2 and other channels move EDI documents, and how to choose the right one for each partner.

2 min read · Updated October 19, 2026

The short answer

A value-added network (VAN) is a third-party mailbox service that receives and delivers EDI documents between partners, usually charging by volume. AS2 is a protocol for sending documents directly and securely over the internet, with encryption, signatures and receipts, and no per-document network fees. Many companies use both, choosing per partner.

VAN vs AS2 at a glance

CriteriaVANAS2
How it worksDocuments go to a provider's mailbox, which delivers them to the partner's mailboxDocuments go directly from your system to the partner's system over HTTPS
Cost modelTypically mailbox fees plus charges by document or volumeSoftware and certificate management; no per-document network fees
Setup per partnerExchange mailbox IDs; the VAN handles connectivityExchange AS2 IDs, URLs and certificates with each partner
Delivery proofProvider tracking and reportsSigned message disposition notifications (MDNs)
Best fitPartners that require a VAN, or many low-volume partnersHigh-volume partners that support direct connections
Through a VAN: a secure post officeSequence diagram of a value-added network: your company sends a document to its VAN mailbox, the VAN routes it to the trading partner’s mailbox, connecting to other VANs when needed, and the partner retrieves it.Through a VAN: a secure post officeEach company has a mailbox; the network routes documents between themYour companyVAN mailboxesTrading partnerSend document to your mailboxRoute to the partner’s mailboxConnecting to other VANs when neededPartner retrieves it
Through a VAN: a secure post officeSequence diagram of a value-added network: your company sends a document to its VAN mailbox, the VAN routes it to the trading partner’s mailbox, connecting to other VANs when needed, and the partner retrieves it.Through a VAN: a secure postofficeEach company has a mailbox; the networkroutes documents between themYourcompanyVANmailboxesTradingpartnerSend document to yourmailboxRoute to the partner’smailboxConnecting to other VANswhen neededPartner retrieves it

A VAN sits between the partners: one connection reaches many partners, and the provider handles routing. Pricing is often based on documents or characters sent.

Expand diagram Download SVG

Over AS2: direct, signed and receiptedSequence diagram of AS2: your company encrypts and signs a document and sends it over HTTPS to the trading partner, which decrypts it, verifies the signature and returns a signed MDN receipt that proves delivery.Over AS2: direct, signed and receiptedDocuments go straight from one company’s system to the other’s over HTTPSYour companyTrading partnerEncrypt and sign the documentAS2 message over HTTPSDecrypt and verify the signatureSigned MDN receiptProves delivery
Over AS2: direct, signed and receiptedSequence diagram of AS2: your company encrypts and signs a document and sends it over HTTPS to the trading partner, which decrypts it, verifies the signature and returns a signed MDN receipt that proves delivery.Over AS2: direct, signed andreceiptedDocuments go straight from one company’ssystem to the other’s over HTTPSYour companyTrading partnerEncrypt and sign the documentAS2 message over HTTPSDecrypt and verify the signatureSigned MDN receiptProves delivery

AS2 has no network in the middle and no per-document network fees. Each connection needs exchanged AS2 identifiers, endpoints and certificates, and certificates must be renewed before they expire.

Expand diagram Download SVG

The communication layer

Translating documents into EDI is only half the job. They also have to reach the trading partner reliably and securely. The main options are value-added networks, direct protocols such as AS2 and SFTP, and APIs.

How a VAN works

A value-added network acts like a secure post office. Each company has a mailbox with its VAN. You send documents to your mailbox, the VAN routes them to your partner’s mailbox (connecting to other VANs when needed), and your partner retrieves them.

Advantages:

  • One connection reaches many partners.
  • The provider handles connectivity, routing and often tracking.
  • Some trading partners require a VAN.

Considerations:

  • Pricing is often based on documents or characters sent, so costs grow with volume.
  • Interconnection between VANs can add delay and troubleshooting steps.

How AS2 works

AS2 (Applicability Statement 2) sends documents directly between two companies’ systems over HTTPS. Each message is encrypted and digitally signed, and the receiver returns a signed receipt called a message disposition notification (MDN) that proves delivery.

Advantages:

  • No per-document network fees.
  • Near-real-time delivery.
  • Strong security and proof of receipt.

Considerations:

  • Each partner connection requires exchanging AS2 identifiers, endpoints and certificates.
  • Certificates expire and must be renewed and coordinated with partners.

Other options: SFTP and APIs

  • SFTP is widely supported and simple, but lacks AS2’s signed receipts. See AS2 vs SFTP.
  • APIs suit real-time exchanges and partners with modern platforms, such as marketplaces and carriers.

Choosing per partner

Most organizations do not pick one method for everything. A typical approach:

  1. Use AS2 for high-volume partners that support it, to remove per-document costs.
  2. Keep a VAN for partners that require it or for many low-volume partners.
  3. Use SFTP or APIs where partners prefer them.

An integration platform that supports all of these lets you choose per partner without changing your internal processes, and monitors every channel in one place.

Frequently asked questions

Is AS2 secure?

Yes. AS2 encrypts messages, signs them with certificates and returns signed receipts (MDNs), providing confidentiality, integrity and non-repudiation.

Can we use SFTP instead of AS2?

Many partners accept SFTP. It is simpler to set up but does not provide AS2's signed receipts, so delivery confirmation relies on other checks.

Do APIs replace VANs and AS2?

For some partners and use cases, yes. APIs suit real-time exchanges, while VANs and AS2 remain common for traditional EDI documents.

Have an EDI question we did not answer?

ECOM's integration specialists can review your partners, documents and systems and recommend next steps.