
In ANSI X12 EDI, a 997 Functional Acknowledgment is used to confirm that an EDI document was received and checked at a structural level.
A 997 is not the same as business approval. It does not confirm that an order was accepted for fulfillment or that an invoice was approved for payment.
Instead, it confirms whether the EDI document itself was received and validated according to X12 structure rules.
This makes the 997 useful for:
A 997 is commonly sent after receiving ANSI X12 documents such as:
The receiving system evaluates the structure of the X12 transaction and then returns a 997 acknowledgment.
A 997 typically confirms:
This helps the sender understand whether the file can move forward in the integration process.
A 997 does not guarantee:
This is an important distinction. A document may pass structural validation and still fail later due to business rules, mapping issues, or application logic.
A simplified 997 may look like:
ST*997*0004
AK1*PO*1
AK2*850*0001
AK5*A
AK9*A*1*1*1
SE*5*0004
In this example:
AK1 identifies the functional groupAK2 identifies the transaction setAK5 indicates transaction-level statusAK9 indicates group-level statusSome common status indicators include:
A for acceptedR for rejectedE for accepted with errorsThese codes help the sender quickly understand whether the document structure was valid.
The 997 plays a key role in reliable EDI workflows because it improves visibility and control.
Benefits include:
Without acknowledgments like the 997, businesses may not know whether an X12 file was received correctly or failed silently.
A 997 is often confused with an AS2 MDN, but they are different.
In many integrations, both may exist in the same end-to-end EDI process.
Businesses should treat the 997 as an important operational signal.
Good practices include:
These controls help reduce delays and improve EDI reliability.
The 997 Functional Acknowledgment is a core part of ANSI X12 EDI. It confirms whether a document was structurally received and evaluated, making it essential for transaction visibility and troubleshooting.
At KIS Technology, we help businesses transform their ideas into secure and scalable digital solutions through software development, API integration, and quality engineering.
Build smarter. Build securely. Build for growth.
Connect with our Founder: