← Blog  /  EDI Intelligence

Your trading partner isn't the problem. Your setup is.

When document rejects pile up, the first call goes to the trading partner. It usually shouldn't.

Something breaks in EDI and the first call goes to the trading partner. That is the pattern across dozens of environments. And in most cases, it is the wrong call.

The partner is external. They are easy to point to. And when a 997 functional acknowledgment comes back with an error, it feels like proof. But the partner is responding correctly — to a document that was wrong before it left your system.

Five ERP-side misconfigurations account for the majority of EDI failures we see. None of them are the trading partner's fault.


Why the instinct gets it wrong

Trading partner blame is a reflex. It is reinforced by the fact that EDI errors surface at the interchange level — in the partner's acknowledgment, in their rejection notice, in their chargeback. The error message references their requirements. So they must be the problem.

They are not. They are telling you what they expected and what they received. Those two things did not match. The mismatch almost always originates on your side: in your ERP configuration, your translation layer, or your partner setup record.

Before you pick up the phone, read the error code. Then trace it back to your own configuration. In most cases, you will find the answer before the call connects.


The five misconfigurations behind most failures

These are not edge cases. They appear repeatedly across industries, ERP platforms, and trading partner networks.

1. Wrong ISA/GS qualifiers

Your interchange envelope carries two identifiers: yours and your partner's. If either one does not match what the partner has on file in their VAN or EDI platform, the document is rejected at the envelope level — before the content is ever read.

This happens most often after an ERP migration or a trading partner onboarding where qualifiers were copied from a test document instead of confirmed directly. Check the ISA06 and ISA08 values in your outbound files against the partner's production setup record. They must match exactly — including leading zeros, qualifier codes, and spacing.

2. Test mode never flipped to production

ISA15 is a single character. T for test. P for production. If your environment went live with ISA15 set to T, every document you have sent is being treated as a test by your trading partners. Some partners reject them outright. Others silently discard them.

This flag is often set during integration testing and never verified at go-live. Check it now. It is not uncommon to find production environments sending test-flagged documents months after launch — with no visible error in the ERP, and no one on the operations side aware it is happening.

3. Stale segment maps

EDI maps are point-in-time documents. They describe the structure of a transaction set as it was when the map was built. Trading partners update their specifications. Retailers release new requirements guides. 850 formats change. If your map was not updated to match, the documents you are sending are structurally incorrect — even if every data field is populated correctly.

The most common version mismatches involve mandatory segment requirements added by the partner, deprecated loop structures they no longer accept, and new qualifiers for existing data elements. Pull the current trading partner specification and compare it against your active map. Version drift of more than 12 months is a red flag.

4. Code table mismatches

Unit of measure codes. Payment term codes. Ship method codes. Allowance and charge codes. Each one is a lookup — a value in your ERP that gets translated into an EDI code before transmission. If the translation table is wrong, the partner receives a code they do not recognize.

This breaks quietly. The document structure is valid. The map passes. But the receiving system rejects the line item because EA is not in their accepted UOM list, or the payment term code does not map to anything in their system. These rejections often come back as vague compliance errors. The fix is a code table audit against each partner's accepted value list.

5. Functional acknowledgment (997/999) handling not configured

A 997 or 999 is the partner's receipt. It tells you whether they accepted or rejected the transaction set you sent. If your system is not processing these acknowledgments — if they arrive and sit unread — you have no visibility into failure. Documents you believe were delivered may have been rejected hours ago.

In JDE and several other ERP environments, acknowledgment processing requires explicit configuration: a receive-capable trading partner record, an inbound map for the 997, and an alert or workflow to surface rejections. Many implementations skip this step. The result is a blind spot at exactly the point where visibility matters most.

Five failure modes. One pattern. ISA/GS qualifier mismatch. Test flag in production. Stale segment maps. Code table gaps. Unprocessed acknowledgments. Each one is a configuration decision — made once and never revisited.


How to actually diagnose a reject

Start with the reject notice, not the phone. Read the error segment — usually an AK2, AK3, or AK4 loop in the 997. The AK4-03 data element error code tells you exactly what the partner's system rejected and why.

Map that code back to the outbound document. Find the segment and data element it references. Then trace that element back to your translation layer: what value was sent, where it came from in the ERP, and whether the code table entry is current.

In most cases, the fix is in the ERP configuration or the map — not in a conversation with the trading partner. The partner gave you everything you need in the acknowledgment. You just have to read it.


What a clean environment looks like

A well-configured EDI environment has documented partner profiles with confirmed production qualifiers. Maps are versioned and reviewed against current specifications at least annually. The ISA15 flag is verified at every go-live and every partner activation. Code tables are audited when partner requirements change. And 997/999 acknowledgments are processed automatically, with alerts surfaced to the operations team when rejections occur.

None of this is complex. It is configuration discipline. Most environments that accumulate EDI failures are not poorly designed — they are under-maintained. The five misconfigurations above are not bugs. They are the natural result of configurations set once and never revisited.

If your team is spending time on trading partner calls that resolve with "we didn't change anything on our end," the problem is in your environment. It always has been.

We find every configuration failure in your environment.

Clarity AI's EDI Intelligence Assessment covers your full trading partner network. Three weeks. A prioritized roadmap. A complete picture of what is broken and exactly what to fix. Assessment fees credit toward EDI Managed Services if you move forward.

See the EDI Assessment →
Keep Reading
AI Strategy

The real reason your AI initiative will fail.

Most AI projects don't fail because of the technology. They fail because the problem was never defined. Here's what that costs — and what to do instead.

April 2026 Clarity AI
Read →
AP Automation

Why 85% of AP exceptions never need a human.

Most AP exceptions follow detectable patterns. Humans shouldn't be the first line of review.

January 2026 Clarity AI
Coming Soon →
ERP & VARs

How scope creep starts — and where VARs lose the most margin.

It rarely starts with a big change order. It starts with one undocumented assumption in week one.

December 2025 Clarity AI
Coming Soon →