AS2
AS2 (Applicability Statement 2) is the encrypted, signed HTTPS protocol for exchanging EDI messages directly between trading partners — Amazon and its vendors — with Message Disposition Notifications (MDNs) providing proof of delivery.
What AS2 is
AS2 is the transport layer of modern EDI: EDI documents (850 purchase orders, 856 ASNs, 810 invoices) travel inside AS2 envelopes — encrypted with TLS/PGP or S/MIME and digitally signed — directly from your system to Amazon’s gateway, no VAN (value-added network) middleman. Each transmission returns a signed MDN receipt proving receipt and integrity — your legal non-repudiation evidence.
Why Amazon mandates it for vendors
- Volume. Millions of POs/ASNs daily; AS2 scales without VAN tolls or licensing per document.
- Traceability. Every ASN/invoice traces to a signed, acknowledged message — the audit trail chargebacks live and die by.
- Speed. Near-real-time flows vs batch VAN windows; late ASNs cost money in fines.
- Cost. No per-document fees; infrastructure cost is yours once, reusable across partners.
The moving parts you must get right
- Certificates. Exchange X.509 certs with Amazon; expiry = broken ASNs = chargebacks.
- Message IDs. Unique, deterministic IDs prevent duplicate processing on retries.
- MDN handling. A missing or negative MDN means Amazon never accepted your document — resend, don’t assume.
- Testing. Amazon requires conformance testing before production keys are activated.
- Fallback. Coordinate alternate SFTP/EDI lanes for incidents; a dead gateway must not mute your shipments.
Common failure modes
Expired certs discovered at 2 a.m.; MDN not parsed so failures look like success; clock skew breaking signature validation; firewall changes silently dropping 443; and “our EDI consultant owns it” with no internal runbook — the dependency no one tests until launch day.
The security model that makes AS2 trustworthy
AS2 security is layered: TLS for transport confidentiality, S/MIME or OpenPGP for message-level encryption (so only the intended recipient decrypts), and X.509 signatures for authenticity and integrity — plus signed MDNs as receipts. Even if TLS were stripped, the message itself stays encrypted and tamper-evident. This is why AS2 survives internet transit without a managed VAN, and why certificate lifecycle management is the whole ballgame: expired cert = silent failure = chargebacks discovered at settlement.
MDN discipline — the unglamorous KPI
Instrument three MDN signals in your EDI monitoring: % delivered-and-accepted, % delivered-but-rejected (negative MDN), % no-MDN timeouts. Any week with >2% non-accepted breaks the SLA assumption baked into Amazon’s dock scheduling — and every ASN/856 you “sent” that didn’t land is inventory Amazon never saw coming.
What the protocol actually guarantees
AS2 wraps an EDI document in an encrypted envelope, signs it, and requires the receiver to return a signed receipt — the message disposition notification. That receipt is the proof of delivery that turns an exchange into an auditable record, which is why retailers and large vendors use it rather than email attachments.
The operational burden is certificate management. Each partner exchanges signing certificates, and those certificates expire. An expiry that nobody noticed is the classic cause of an EDI outage: documents queue, orders stop confirming, and the first symptom is a missed shipment rather than an error message.
The monitoring that prevents an outage
Track certificate expiry dates on the same calendar as your other compliance dates, and alert at ninety, thirty and seven days. An EDI connection that fails silently is discovered as a missed order confirmation, by which point the shipment is already late.
AS2 FAQ
Is AS2 the same as EDI?
No — EDI is the document standard (X12/EDIFACT); AS2 is one transport for delivering EDI messages securely over the internet.
What happens if an ASN/invoice is rejected?
Amazon responds with a negative MDN or rejection document; your EDI layer must alert and auto-retry or escalate — silence means your shipment exists only in your head.
Do sellers need AS2?
Only vendors on EDI lanes; most sellers use flat-file/API or manual uploads instead.
How long does AS2 onboarding take?
2–8 weeks including certificate exchange, sandbox testing and Amazon conformance sign-off.
Want these numbers watched for you, every week?
Book Free Consultation
