Skip to content

EDI 997 Sample File: Functional Acknowledgment

Accepts one 850 in one group. Valid X12 004010, explained segment by segment, free to download.

A synthetic file: made-up companies, IDs and amounts, safe to load into a test system.

An EDI 997 tells the sender their file arrived and passed syntax checks. This sample accepts one 850: AK1 names the purchase order group by its GS06 control number, AK2 the transaction set by its ST02, AK5 A accepts it and AK9 counts one set included, received and accepted.

Standard
X12 997
Version
004010
Sent by
Receiver to sender
Segments
10

sample-997-functional-acknowledgment.edi

From BUYER456 to VENDOR123. Click a line to jump to its explanation.

Open in EDI Inspector
ISA*00*          *00*          *ZZ*BUYER456       *ZZ*VENDOR123      *231120*1431*U*00401*000000006*0*P*:~GS*FA*BUYER456*VENDOR123*20231120*1431*6*X*004010~ST*997*0006~AK1*PO*1~AK2*850*0001~AK5*A~AK9*A*1*1*1~SE*6*0006~GE*1*6~IEA*1*000000006~

997 Sample, Segment by Segment

Every segment and element, with what each code means. The 4 segments with a note are open; open any other to see its elements.

Decode a rejected 997

The EDI rejection explainer reads AK3, AK4 and AK5 codes and says what to fix.

Open the free tool

About This 997 Sample

A 997 is about structure, not business content. An accepted 997 means the file parsed; it does not mean the buyer agrees with your prices. Business rejections come back as an 824 or a phone call.

Most partners expect a 997 within hours, and many will resend or escalate a file that never got one.

For every segment the standard allows and how retailers use them, read the EDI 997 guide. To check a file of your own, paste it into the EDI Inspector, or browse all 22 EDI sample files.

Related Sample Files

Frequently Asked Questions

What is an EDI 997?

An EDI 997 tells the sender their file arrived and passed syntax checks. This sample accepts one 850: AK1 names the purchase order group by its GS06 control number, AK2 the transaction set by its ST02, AK5 A accepts it and AK9 counts one set included, received and accepted.

Can I use this EDI 997 sample to test my system?

Yes. It is a complete, valid X12 file of 10 segments with made-up companies, IDs and amounts. Download it as .edi or .txt, load it into your translator or ERP test environment, and change the sender and receiver IDs to your test IDs if your system routes by them.

How do I check my own EDI 997 file?

Paste it into the free OrderSync EDI Inspector. It names every segment and element, checks the envelope counts and control numbers, tests GS1 check digits, and points at the exact segment a trading partner would reject. Nothing is uploaded: the file is read in your browser.