Systems and records
How long do EDI providers keep your 850, 856 and 810 history?
By SourceX Editorial · Updated
Short answer
EDI providers keep 850 purchase orders, 856 ship notices and 810 invoices only as long as their service plan and contract allow, and access usually ends when you switch providers. Do not treat a VAN mailbox or web EDI portal as your archive. Keep your own copy of the raw X12 files, the acknowledgments and the translated ERP records.
Key takeaways
- Provider retention is set by your plan and contract, so get it in writing rather than assuming.
- Keep both the raw X12 interchange and the translated records; disputes turn on what was actually transmitted.
- Store 997 or 999 acknowledgments and AS2 receipts with each document, since they prove delivery and acceptance.
- Pull a full history export before you change providers, downgrade a plan or let a trading partner relationship lapse.
- The purchase order number links the 850, the 856 and the 810, so index your archive on it.
Where your EDI history actually lives#
Your 850, 856 and 810 history usually lives in several places at once, and each copy has a different owner of the retention rules. Knowing which copy you control is the first step to knowing how long you can rely on it.
For many mid-size distributors, the only copies fully under their control are the ERP records and whatever their own translator or integration platform archives. Everything else can change or disappear when a contract, plan or trading relationship changes.
| Location | What it holds | Who sets retention |
|---|---|---|
| VAN mailbox | Raw interchanges passing between you and trading partners | The VAN, under its service terms |
| Full-service or web EDI provider, such as SPS Commerce or TrueCommerce | Raw files, translated documents and portal views | The provider's plan and contract |
| Your own translator or integration platform | Raw files, maps, logs and error queues | You, if archiving is configured |
| ERP such as NetSuite, Epicor or SAP Business One | Sales orders, fulfillments and invoices created from EDI | You, through your ERP retention |
| Retailer or customer vendor portals | Chargebacks, scorecards and their copy of your documents | The trading partner |
| AS2 server or managed file transfer service | Transmission logs and MDN receipts | Whoever runs the server |
Why provider retention is not your archive#
EDI provider retention exists to support day-to-day operations, not your audit, dispute or analysis needs. Plans differ in how far back portal search reaches, and the history kept for raw files and for portal views may not be the same. The only reliable answer is the one written in your contract or confirmed by the provider in writing.
Switching providers is a common point of loss. When the contract ends, portal access usually ends with it, and the new provider starts with an empty archive. Retail compliance disputes, such as a chargeback for a late or inaccurate 856, can arrive long after the shipment, by which time the evidence may sit with a provider you no longer pay.
- 01Your work records
- 02Personal details removed
- 03You approve the release
- 04Licensed to AI developers
The rule: keep raw X12 plus the translated records#
Keep both the raw X12 files and the records your systems created from them, because each answers a different question. The raw interchange shows exactly what was sent or received, with its envelopes and control numbers. The translated record shows what your business did with it: the sales order, the pick, the shipment and the invoice.
Name and index files so a person can find them without the original system: trading partner, transaction set, control number, document number and date. An archive that only the old translator can read is not much better than no archive at all.
- Raw interchanges with ISA and GS envelopes intact, stored exactly as sent or received.
- Functional acknowledgments, 997 or 999, matched to the documents they acknowledge.
- AS2 MDN receipts or VAN delivery logs that prove transmission.
- Translated documents in a readable form such as CSV or JSON, with the map version used.
- The ERP records created from each document, linked by PO number, shipment ID and invoice number.
- Trading partner implementation guides, in the versions in force at the time.
- Chargeback notices, deduction backup and the resolution of each dispute.
How 850, 856 and 810 records connect#
The purchase order number ties the order, the shipment and the invoice together across transaction sets. In the 850 it sits in the BEG segment, the 856 references it at order level, typically in a PRF segment, and the 810 carries it in the BIG segment alongside the invoice number.
| Transaction set | What it says | Key identifiers | Disputes it settles |
|---|---|---|---|
| 850 purchase order | What the customer ordered, at what price, for which ship-to | PO number and date in BEG | Price, quantity and item mismatches |
| 855 PO acknowledgment | What you accepted, changed or rejected | PO number and acknowledgment type in BAK | Whether a change was agreed |
| 856 advance ship notice | What shipped, how it was packed and when | Shipment ID in BSN, PO in PRF, carton labels | Late or inaccurate ASN chargebacks |
| 810 invoice | What you billed and on what terms | Invoice and PO numbers in BIG | Short payments and deductions |
| 997 or 999 acknowledgment | Whether the partner's system accepted the file | Group and transaction set control numbers | Whether a document was received |
| 820 remittance advice | What the customer paid and what it deducted | Payment reference and invoice references | Unexplained deductions |
| 812 credit or debit adjustment | Credits or deductions the trading partner applied | Adjustment number and related invoice and PO references | Disputed deductions and short payments |
How to pull history before you switch or cancel#
Pull your full EDI history from the provider while you still have a paid account and a cooperative provider. Ask early, because bulk exports of raw files can require a support request rather than a button in the portal.
Then write the export obligation into the next contract. A clause requiring the provider to deliver all raw and translated history in a standard format at termination is far easier to agree at signing than to argue about at exit.
- Step 1: ask the provider in writing what it retains, for how long, in which formats, and what happens after termination.
- Step 2: request a bulk export of raw interchanges and acknowledgments for every trading partner and the full date range.
- Step 3: export translated documents and portal reports wherever the bulk export does not cover them.
- Step 4: reconcile counts by partner, transaction set and month against ERP orders, fulfillments and invoices.
- Step 5: store the archive in two locations you control, with an index and a hash of each file.
- Step 6: keep the maps and partner specifications so the files can be read later.
Illustrative: an industrial distributor changes EDI providers#
Illustrative: a fictional distributor of fluid power components sells to national retailers and to maintenance buyers at manufacturing plants. It runs NetSuite and a web EDI provider for its 850, 856 and 810 traffic, and decides to move to an integration platform it can manage itself.
Before cancelling, the VP of operations asks what the old provider keeps. Portal search reaches back only part of the relationship, and raw files need a support request. The team requests a full export, matches each 856 to its NetSuite item fulfillment and each 810 to its invoice, and stores the archive indexed by PO number.
Later, a retailer issues chargebacks for ASNs it says arrived after the shipments. The distributor produces the raw 856 files with their transmission records and the matching 997 acknowledgments, and the disputes are settled on evidence rather than argument.
Why EDI history matters beyond disputes#
A clean EDI archive records how orders, shipments and invoices actually flowed between companies, including the exceptions: short shipments, substitutions, late ASNs and deductions. Linked to ERP records and the notes that explain each resolution, that history supports operations analysis and, after rights review, can be considered for licensing to AI developers building supply chain and logistics tools.
Trading partner documents carry the partner's pricing and terms, so customer contracts and confidentiality obligations decide what can be used. The first conversation with SourceX covers only systems, trading partner counts and years of history, and any package that follows moves through the SourceX five-step transaction of Supply, Rights, Preparation, Approval and Delivery. Partner pricing and identities are reviewed in the Rights and Preparation steps, the distributor approves the final scope, and a SourceX Evidence Packet lists which trading partners' documents were included and on what basis.
Frequently asked questions
Are we required to keep EDI records for a set period?
Invoices and related records may fall under tax and accounting record-keeping rules, and some customer contracts set their own retention terms. The periods depend on your situation, so confirm them with your accountant and counsel, then set archive retention to the longest period that applies.
Can we get history from a provider after we cancel?
Sometimes, but do not count on it. Access usually ends with the contract, and any post-termination export depends on the agreement and the provider's goodwill. Request and verify the full export while the account is still active and paid.
Is the copy in our ERP enough?
Not for disputes. The ERP record reflects what your map translated and what your team later edited, not exactly what was transmitted. Chargeback and deduction disputes often turn on the raw file, its transmission record and the partner's acknowledgment.
What format should the archive use?
Keep the raw X12 files unchanged, add a readable translation such as CSV or JSON, and maintain an index with trading partner, transaction set, control numbers, document numbers and dates. Store maps and implementation guides alongside so the files can be interpreted later.
Do trading partners keep our documents for us?
Large retailers and customers often show your documents and chargebacks in their vendor portals, but they set the retention and can change it. Treat a partner's portal as a convenience for daily work, not as evidence you control.
Related resources
- DataSales call transcripts
- InsightCan roofing contractors sell their data to AI companies?
- InsightEDI trading partner agreements: do they restrict how you use transaction data?
- InsightChange of control clauses: what happens if the data buyer is acquired
- IndustryBPO & contact centers data
- IndustryLegal data
See if your company qualifies
A short company assessment. No data uploads are needed.