EDI X12 ORDER CHECKER · RUNS IN YOUR BROWSER · NOTHING UPLOADED

Will the retailer accept this EDI file?

Paste or drop an X12 EDI file (850 purchase order, 810 invoice, 856 ship notice or a 997 you were sent back) and get every structural error with its segment number: wrong SE, GE and IEA counts, control numbers that do not match, UPC and SSCC check digits, an invoice total that is not its lines and a ship-notice hierarchy that does not hang together. Then read the documents as tables, download the lines as CSV, or rebuild the segment counts after a hand edit.

The file is read in this browser tab and never leaves your device. Independent of every retailer, EDI network and standards body. The layouts are read from memory of the public X12 004010 format; no retailer's implementation guide or validator was available when this was built, so a partner's own rules are not checked.

1. Your EDI file

Usually a .edi, .x12 or .txt file from your EDI provider, ERP or the retailer's portal: it starts with ISA* and the segments end with ~.

Choose a file or paste the text, then click Validate.

The model, and what it leaves out

Common questions

How do I check an EDI 850, 810 or 856 file before I send it to a retailer?

Paste the file or drop it onto this page. It checks the ISA, GS and ST envelope (control numbers and segment counts), then reads each purchase order, invoice and ship notice: line counts, UPC check digits, invoice total against the lines, ship-notice hierarchy and SSCC carton numbers, and lists each problem with its segment number.

Why did my trading partner reject the EDI file with a 997?

A rejected 997 names the segment and element that failed, but only as codes. Paste the 997 here and the AK3, AK4 and AK5 codes are translated into plain words, for example “mandatory data element missing” or “segment count in trailer does not match”.

What does SE01 mean and why must it match?

SE01 is the number of segments in the transaction set, counted from the ST segment to the SE segment inclusive. Deleting or adding a line without updating it is the most common reason a file is rejected at the envelope. The same applies to GE01 (sets in the group) and IEA01 (groups in the interchange).

How is a UPC or SSCC check digit calculated?

Working from the right, starting with the digit next to the check digit, digits are multiplied by 3, 1, 3, 1 and so on; the check digit brings the sum up to a multiple of ten. A UPC-A has 12 digits, an EAN-13 has 13, and an SSCC carton number has 18. A spreadsheet that drops a leading zero is the usual way a good number turns bad.

Why does my invoice total not match the lines?

TDS01 is the invoice total in cents with no decimal point. It should equal the sum of quantity times unit price on every IT1 line, plus charges, less allowances, plus tax. This tool shows each part so you can see which one moved. It never edits a price, a quantity or a total.

Is it safe to paste a purchase order or invoice into a web page?

The page runs in your browser, the file is read locally and nothing is uploaded; a test in the code asserts there are no network calls. Whether you may open order data in a browser tool is a question for your own policies and your trading-partner agreement.