Operational EDI reference
EDI 824 Example: Interpret OTI and TED Errors
Read an X12 824 Application Advice, connect it to the original document, and turn application rejection detail into an owned exception.
Direct answer
Direct answer
An 824 reports application-level acceptance or errors after a transaction has passed far enough to be interpreted. OTI01 communicates the application acknowledgement code: TA accepted, TE accepted with errors, and TR rejected. OTI03 can carry the original reference while later OTI elements can carry group and transaction controls. TED and related segments describe the application problem.
Why a parser is not enough
The useful unit is not a file that parses; it is a business document with a known decision, an owner, a source trail and a matched downstream response. This page connects the technical structure to that operating workflow.
What the control should check
- 01Parse OTI before treating free-text error descriptions as authoritative.
- 02Match reference and control values to the original outbound record.
- 03Keep 824 application status separate from 997 syntax status.
- 04Route TE and TR into the same exception workflow as pre-dispatch failures.
- 05Retain the acknowledgement hash and match evidence.
Working example
OTI*TE*TN*ASN-240718***20260718*1530*42*0001~TED*024*Invalid item identifier~The excerpt is intentionally compact. Use the working validator or authenticated gateway with the complete interchange to obtain a decision.
Failure modes worth catching
- A transport receipt is mistaken for business acceptance.
- Control identifiers are regenerated between validation and submission.
- A warning has no owner and becomes a recurring manual investigation.
- The document is checked alone even though the truth exists in a purchase order, label or acknowledgement.
Put it into the dispatch workflow
- 1Validate the source document before transport.
- 2Block deterministic failures and assign every review item.
- 3Release with a recorded owner and timestamp.
- 4Match functional and application acknowledgements.
- 5Reconcile confirmed outcomes back into fixtures and rules.
Questions
Implementation answers
Does Shipment Sentry replace my EDI provider?
No. It sits before the existing transport as a validation and evidence sidecar.
What does cleared mean?
The document has no blocking finding in the current rule pack. It is not a guarantee of trading-partner or receiving acceptance.
How are repeat requests kept safe?
The API requires an idempotency key, stores only a token hash, scopes every record to one workspace and rejects reuse with different content.
Sources and limits
- ASC X12 transaction sets ↗
- AWS B2B Data Interchange ↗
- Amazon Vendor Shipments API ↗
- Amazon shipment confirmation guidance ↗
Reviewed 2026-07-18. Public references cannot establish every partner-specific rule. Current implementation guides and agreements remain controlling.
Keep investigating