Start with the conclusion: edi as2 mdn receipt verification is not paperwork that trails behind the real work. It is the only proof you will ever hold that your trading partner received your message, and received the exact message you sent. An 856 can show "sent successfully" on your dashboard and still be legally invisible to your partner. When a chargeback lands three months later, nobody will ask what your gateway displayed. They will ask for the receipt.

I have watched this exact failure three times, and the first one still annoys me. In the winter of 2023, at a 3PL warehouse outside Chicago, I was running a post-go-live review. The site sent 856 ASNs to a large retailer over AS2. Our side showed every message as sent. The retailer insisted the ASNs were incomplete, and a truck sat at their distribution center while the appointment window burned down. It took two days of digging through gateway logs line by line to find it: the partner had returned unsigned MDNs, our configuration demanded signed receipts, and the gateway had quietly discarded them as invalid, leaving one grey line of text nobody ever looked at. The load was booked as a late ASN and a chargeback followed, a few hundred dollars on that ticket as an order of magnitude; the exact figure lives in the partner's compliance manual, not in my memory.

One confusion I correct on almost every project: an MDN is not a 997. The 997 is a functional acknowledgment, meaning the partner's translator read your document. The MDN is a transport-level signed receipt, meaning the envelope arrived and was not altered on the way. You need both. Teams that watch only the 997 are flying with one instrument missing.

What edi as2 mdn receipt verification actually checks

Here is the mechanism in plain terms. When you send an AS2 message, your system computes a digest of the original message, called the MIC. The receiver computes the same digest on what arrived and returns it inside the MDN, together with a disposition: processed, error, or warning. Verification means matching those pieces one by one. My go-live checklist has exactly five steps, and I do not let a project skip any of them:

  1. Timing. Did the MDN come back inside the window agreed with the partner? Whether that window is minutes or hours depends on the partner agreement; treat a late receipt as an incident, not a curiosity.
  2. Signature. If the partner is configured for signed MDNs, the receipt must validate against their current certificate. Expired certificates and certificate renewals that were never shared are the top cause of validation failures.
  3. MIC match. Compare the digest in the MDN against the digest of your stored original, character for character. A mismatch means what they received is not what you sent, and you stop and find out why before anything else moves.
  4. Disposition. Anything other than processed is a problem to work, not a line to scroll past. Errors get a root cause before any resend; warnings get logged and reviewed.
  5. Paired archiving. Store the original message and its MDN together, indexed by message ID and send timestamp, so a dispute pulls up the whole evidence set in one search.

The second failure was worse because it was silent. In the summer of 2024, a home-goods importer near the Port of Los Angeles migrated EDI providers. The migration itself was clean; not one document was lost. But the new platform used a new signing certificate, the partner's certificate store was never updated, their system could not validate our signatures, and MDNs came back as errors for three straight days. Our monitoring watched send status only, so nobody noticed until more than four hundred order and shipment messages had piled up and customer service was fielding "where is my freight" calls. The fix was unglamorous: sync the certificate, reconcile ticket by ticket, confirm receipt status on every one of those four hundred-plus messages. Two people, two days. After that I made it a hard rule: you monitor receipt status, not send status. "Sent" means you threw it out the door. The MDN means somebody caught it.

The third time was different again. In the spring of 2025, at an apparel warehouse in Dallas, the MDNs came back marked processed, yet the MIC values would not match. Both teams swore the documents were identical, and on screen they were. The culprit sat in the middle of the chain: the message had been repackaged in transit, its line breaks and encoding altered, so the bytes changed while the visible content did not. Nobody had cheated; the middle of the link simply was not following the same rules as the two ends. The fix was to write the encoding and packaging rules into the partner agreement and re-baseline the digests with test messages. That case taught me the most useful troubleshooting instinct in this whole area: a MIC mismatch does not mean someone is lying. Check the chain before you check the people.

Signed versus unsigned: the edi as2 mdn receipt verification trade-off

Factor Signed MDN Unsigned MDN
Evidentiary weight Proves the receipt came from your partner; hard to repudiate Proves a receipt arrived; origin is weaker
Configuration cost Certificates to manage, renew, and sync on both sides Almost none
Troubleshooting Signature failures add one more layer to diagnose Simpler chain, fewer failure modes
Best fit Production retail partners, high-value documents Test environments, low-risk internal links

Here is the counter-intuitive part, and I will defend it: an unsigned MDN is not a sin. In a test environment or a low-risk internal link, skipping signatures saves real configuration and onboarding time, and that trade can be worth it. The real sin is the opposite setup, a signed MDN that nobody verifies. I have seen teams relax because "signed receipts are on," while no process ever compared a MIC or read a disposition. That false confidence is more dangerous than an honestly unsigned link, because everyone believes the chain was checked when nothing was checked at all.

When a receipt does not match, the most common mistake I see is an immediate resend. The original goes out again, a new MDN comes back, every message ID changes, and the crime scene is destroyed. Work it in order instead: locate the original in the gateway log by message ID and timestamp; establish whether the MDN never arrived or arrived as an error, because those are different diseases; compare the MIC to learn whether the content changed or only the signature failed; then check certificate expiry dates and signature algorithms on both sides, which account for most of these cases. Only then call the partner, and open with the message ID, the send time, and the MIC value. Their engineer will know in ten seconds that you did your homework.

Finally, the archive math. How long you keep message-and-receipt pairs is set by your contracts and your partners' compliance requirements, so check those rather than trusting any number in a blog post. But compare two costs from the Los Angeles case: two people spending two days reconciling four hundred messages by hand, versus an automated daily exception report that surfaces missing, errored, and MIC-mismatched receipts in minutes. edi as2 mdn receipt verification is not expensive to automate. It is only expensive to ignore. My go-live checklist keeps one permanent line: take one real production message and walk it through send, receipt, signature validation, MIC comparison, and archiving. All five steps green, or we do not go live. I have seen this pit three times. I am not interested in a fourth.

By Lin Xiao, WMS Implementation Consultant