Message us on WhatsApp
    Back to glossary
    Protocols

    AS2: the EDI transport protocol

    AS2 (Applicability Statement 2) is the protocol through which two companies send EDI documents directly to each other over the internet, using HTTPS. The message is digitally signed and encrypted, and the recipient answers with an MDN, a signed receipt. AS2 carries the document but does not change its EDIFACT or EANCOM content.

    Full definition

    AS2 is the standard protocol for sending EDI documents peer-to-peer between partners over HTTPS, with digital signature, S/MIME encryption and MDN (Message Disposition Notification) as proof of delivery. Used by Walmart, Amazon, Carrefour, Auchan. EDIconnect operates a proprietary AS2 server certified by Drummond.

    How an AS2 exchange works

    An AS2 exchange has four steps, from sending to receipt:

    • The sender wraps the EDI document in an S/MIME message, signs it with its own certificate and encrypts it with the recipient's public certificate.
    • The message is sent through an HTTP or HTTPS request to the recipient's AS2 address.
    • The recipient decrypts the message, checks the signature and takes the document.
    • The recipient sends back an MDN (Message Disposition Notification), a signed receipt confirming the message arrived.

    What partners configure

    Typical parameters of an AS2 connection
    ParameterRole
    AS2 IDEach partner's identifier; it must be identical at both ends.
    AS2 URLThe address where each side receives messages.
    CertificatesEach side's public certificate, for signing and encryption; exchanged between partners.
    MDNSynchronous (in the same HTTP response) or asynchronous (to a separate address).
    AlgorithmsSigning and encryption of the message, agreed between the partners.

    AS2, SFTP and VAN: a short comparison

    Transport methods for EDI
    MethodHow it worksProof of receipt
    AS2Directly between partners, over HTTPS, with message-level signing and encryptionSigned MDN, as proof of delivery
    SFTPFile transfer to a server, over SSHAgreed separately, for example a reply file
    VANThrough an intermediary: mailboxes at a network operatorProvided by the network operator

    Common mistakes with AS2 connections

    • An expired certificate, or one replaced without sending it to the partner.
    • An AS2 ID written differently at the two ends.
    • A firewall or network rule that blocks the AS2 address.
    • A non-public asynchronous MDN address, so the receipt does not arrive.
    • Server clock differences or mismatched algorithm settings.

    How EDIconnect uses AS2

    EDIconnect operates its own AS2 server, through which it exchanges documents with retailers that require this protocol. The EDIconnect team handles mapping, onboarding, testing and go-live, and you work from the Web EDI portal or your ERP.

    AS2 in the EDIconnect platform

    Frequently asked questions about AS2

    What is AS2?
    AS2 (Applicability Statement 2) is a transport protocol for EDI documents, directly between partners, over HTTPS, with digital signature, S/MIME encryption and MDN receipts.
    What is an MDN in AS2?
    An MDN (Message Disposition Notification) is the signed receipt the recipient sends after receiving the message. It serves as proof of delivery.
    Is AS2 the same as EDI?
    No. EDI is the exchange of documents, and AS2 is one of the transport methods. The document itself stays in EDIFACT, EANCOM or another format.
    What do I need to connect through AS2?
    An AS2 ID, an address where you receive messages, a digital certificate and an exchange of certificates with the partner. The details are agreed with each partner.
    What is the difference between AS2 and SFTP?
    AS2 sends signed and encrypted messages, with MDN receipts. SFTP transfers files to a server over SSH, and proof of receipt is agreed separately.
    Reviewed by The EDIconnect Team : EDI & Business Operations experts · Last updated: June 13, 2026

    Need AS2 with a partner?

    EDIconnect operates the AS2 server and handles connection, testing and go-live together with you.

    Last updated: November 2026.