Your files are read in your browser. Orders and pricing never leave your computer.
EDIParse

EDI 997 Functional Acknowledgment Inspector & AK5/AK9 Rejection Lookup

Understand why your outbound EDI transmission returned AK5*R or AK9*R—and fix SE01 segment count, ISA/GS control number, and mandatory element errors in one click.

Drop your file below, check the order, then download for Excel (.XLSX) & CSV.

  1. 1Load your order file
  2. 2Check it and match your SKUs

Drop your EDI order file here

.edi, .x12 or .txt. The file is read on your computer and is not uploaded.

Now showing
walmart-997-receipt-ack.edi
No file handy? Open a sample:

No chargeback risks found. This order passes every check.

Checked against the Walmart supplier guide for EDI 997.

Retailer Receipt Confirmation (EDI 997)

✓
✓ Accepted by Retailer — Your documents were received with zero errors

This official EDI 997 Functional Acknowledgment confirms the retailer's system received and validated your 856 Shipping Notice batch (Group #20856). Keep this receipt for chargeback protection.

Receipt Status
Accepted
Confirmed Document Type
856 Shipping Notice
Batch Control #
#20856 (SH)
Documents Accepted
2 of 2 Accepted
Document TypeDocument Reference #Retailer StatusNotes
856 Advance Ship Notice (ASN)Control #0001✓ AcceptedReceived & verified with zero syntax errors
856 Advance Ship Notice (ASN)Control #0002✓ AcceptedReceived & verified with zero syntax errors

Download for your software

Pick where the order is going, then download. Files are ready for Excel, QuickBooks, Shopify or a thermal printer.

Clean Excel spreadsheet with all order lines, store breakdown, quantities, and prices ready to open in Microsoft Excel or Google Sheets.
Field mapping table: which EDI segment fills which column (for IT & bookkeepers)

EDI 997 Functional Acknowledgment Segments & Error Codes

Deterministic segment-to-column mapping rules enforced by our client-side X12 engine

Source X12 Segment / ElementSample Raw ValueTarget ERP / CSV ColumnTransformation & Validation Logic
AK1*SH*20856~
Group SH (856) #20856
Acknowledged Functional GroupReferences GS01 (PO/SH/IN) and GS06 control number of your original transmission.
AK2*856*0001~
ST*856*0001
Acknowledged Transaction SetIdentifies the specific ST01 document type and ST02 control number.
AK3*SE*27**4~ / AK4*1*96*4*29~
Segment SE Error Code 4
Exact Segment & Element ErrorAK3 points to the failing segment tag & position; AK4 points to the exact element index and bad value.
AK5*R*5~ / AK9*R*1*1*0~
Rejected (Error Code 5)
Final Transaction & Group VerdictA = Accepted; E = Accepted with Errors; R = Rejected (AK502=4 means SE01 segment count mismatch).

Critical Chargeback & Import Pitfalls We Prevent

Common EDI mistakes that trigger $250+ retailer fines or accounting balance errors

AK5*R*4 (Number of Included Segments Does Not Match Actual Count)

Risk: #1 Cause of 997 Rejections

Happens whenever SE01 does not equal the exact number of segments between ST and SE inclusive.

Drop your outbound X12 file into our workbench and click Auto-Fix to repair SE01.

AK403="7" (Invalid Code Value / Explicit Decimal in N2)

Risk: Rejected 810 Invoice

Putting a decimal point in TDS01 or SAC05 triggers an AK4 data element syntax error.

Our linter detects illegal explicit decimals in N2 fields and converts them to integer cents.

Ignoring AK9*P (Partially Accepted Functional Group)

Risk: Silent Dropped Orders

If you send 10 invoices in one GS group and 1 fails, AK901="P" means 9 were accepted and 1 was rejected.

Always inspect every AK2/AK5 loop inside a 997 to see which specific ST02 control number failed.

How to Fix Outbound EDI Files That Failed a 997 Check

Zero middleware setup — complete in under 60 seconds

1. Drop the Rejected Outbound 850 / 856 / 810 File Above

Load the file that triggered the 997 rejection into our inspector.

2. Review the Highlighted SE01, CTT, or N2 Errors

Click any red error card in the Compliance Audit Banner to jump to the exact offending segment.

3. Click "Auto-Fix All Issues & Re-Serialize X12"

Download the clean, syntax-verified X12 file and retransmit.

Frequently Asked Technical Questions

ANSI X12 specification details, retail companion rules, and ERP import answers

What does AK5*A vs AK5*R mean in an EDI 997?

AK5*A means the transaction set was Accepted without syntax errors. AK5*R means the transaction set was Rejected and discarded by the receiver’s EDI translator.

What do AK502 error codes 1, 2, 3, 4, and 5 mean?

1 = Transaction Set Not Supported; 2 = Transaction Set Trailer (SE) Missing; 3 = Control Number in ST and SE Do Not Match; 4 = Number of Included Segments (SE01) Does Not Match Actual Count; 5 = One or More Segments in Error.

Related EDI Converters, Retailer Guides & X12 Segment References