All guides

EDI trading partner testing: a checklist before you go live

EDI trading partner testing is how you prove that your system and a customer’s system can swap orders, ship notices and invoices without errors. The usual path is to test each document one at a time, in the order an order moves, using the partner’s own specification. This guide walks through that order, what to check at each step and what teams often miss.

What is EDI trading partner testing?

When you onboard a new partner, you will likely need to pass that partner’s compliance tests for each EDI document, according to TrueCommerce’s guide to EDI transaction testing. TrueCommerce says “Most Trading Partners expect a specific order of Compliance Testing” and tells readers to follow the testing requirements in the partner’s EDI specification documents.

So there is no single universal test. Your partner’s specification comes first. A general checklist like this one only helps you get ready for it.

What should you gather before testing starts? Stedi’s guide to gathering requirements starts with:

  • Make a list of every EDI transaction type you plan to send or receive.
  • Ask the partner for the most up-to-date requirements for each type. They may arrive as PDF, Excel or Word files.
  • Collect production EDI files, or ask the partner for sample files, to test with.

SPS Commerce’s readiness checklist for new retail partners adds that a team should review the current routing guide and EDI specifications, and set up a process to watch for requirement changes. It also lists assigning internal owners to the major requirements.

In what order do you test the documents?

TrueCommerce lists this default order for the core documents, “unless otherwise stated” by the partner:

A typical test order for the core documents
  1. 1850 purchase order
  2. 2855 acknowledgment
  3. 3856 ship notice
  4. 4810 invoice

Default order from TrueCommerce. Your partner's specification overrides it.

Two points from the same page matter. First, partner-specific rules override the default order. Second, custom integrations for less common documents, such as the 846, 832, 870, 204, 990, 210 and 214, “could result in additional testing.”

If you use a 3PL, TrueCommerce says you will typically need the 940 warehouse shipping order and 945 warehouse shipping advice as well. We cover those in our 940 guide.

What do you check in each document?

The sources do not give a per-field script, so treat the list below as a general suggestion to adapt to your partner’s guide.

Document A sensible thing to check
850 purchase order Your system reads every line, and the customer, item numbers and ship-to match your master data
855 acknowledgment The accept, change or reject status reflects what your team decided, and it goes out inside any time limit the partner sets
856 ship notice Quantities, carrier and pallet or carton IDs match what is actually shipping
810 invoice Price, terms and quantities match the order

SPS Commerce’s checklist makes a similar list for retail: “850 PO tested,” “855 PO acknowledgment tested, if required,” “860 PO change tested, if required,” “856 ASN tested” and “810 invoice tested.” It also lists “ERP and WMS mappings checked” and “Error-handling and backup processes established.” Not every partner needs an 855 or an 860, so the spec decides.

Why does a 997 not mean the test passed?

A functional acknowledgment only says a file arrived. TrueCommerce puts it this way: a 997 “confirms whether or not the EDI Transaction simply was received,” while the 855 “confirms whether or not you’re accepting the terms of the Purchase Order.”

SPS Commerce lists “997 and 824 acknowledgments monitored where applicable” as its own step. In practice, that means someone reads them. A missing or rejected acknowledgment is a failed test, even if your own system showed “sent.” See our guides to the 997 and the 824 application advice for how to read them.

Why test with real data, and with real goods?

Stedi warns that “Trading partners often send files that do not fully conform to their official EDI requirements.” It calls it “critical to test your pipeline with real-world data before your go-live date.”

Sample files tell you the happy path works. Real files show you the odd cases: a missing optional field, an unexpected code, a very long order. If you can, test a few real orders from the partner, not only the sample set.

An electronic record has to match the goods. SPS Commerce’s checklist includes “SSCC on the label matches the ASN” and “Warehouse scanners can read the labels.” Our SSCC-18 guide explains how the label and notice link. A mismatch here can lead to chargebacks, which we cover in our guide to EDI chargebacks.

SPS Commerce also lists finance steps, such as confirming payment terms, knowing where remittance data will arrive and setting up who owns deductions. These are easy to forget because they sit outside the EDI file itself.

A short go-live checklist

This checklist is a general suggestion built from the sources above, not a standard.

  1. You have the partner’s current specification and sample files.
  2. Each required document has passed the partner’s test, in the partner’s order.
  3. You have tested with at least some real-world data.
  4. Someone is named to read acknowledgments and errors every day at first.
  5. The ERP and warehouse mappings have been checked against the files.
  6. Labels match the ship notice, and scanners can read them.
  7. Finance knows how invoices, remittances and deductions will arrive.

Where Dockmend fits

Dockmend is being built to help operations teams read incoming orders, prepare them for entry and flag exceptions for a person to review. It is still being built, and we have not announced support for any specific partner, EDI network or ERP. Start your free trial

This guide is general information, not legal or professional advice. Each trading partner sets its own EDI requirements, so follow their specification and check with your own EDI provider before you go live.