Skip to content

EDI 850 Sample File: Purchase Order

Retail store order, 3 lines with UPCs and prices. 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 850 is the X12 purchase order a buyer sends to a supplier. This sample is a complete 004010 interchange: ISA and GS envelopes, a BEG header with PO number 4500123456, ship-to and bill-to N1 loops, three PO1 lines with UPCs and prices, and CTT, SE, GE and IEA trailers with correct counts.

Standard
X12 850
Version
004010
Sent by
Buyer to supplier
Segments
23

sample-850-purchase-order.edi

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

Open in EDI Inspector
ISA*00*          *00*          *ZZ*WALMART        *ZZ*VENDOR123      *231120*1430*U*00401*000000001*0*P*:~GS*PO*WALMART*VENDOR123*20231120*1430*1*X*004010~ST*850*0001~BEG*00*SA*4500123456**20231120~REF*DP*001~REF*IA*STORE001~DTM*002*20231123~N1*ST*WALMART STORE 001*92*001~N3*123 MAIN STREET~N4*BENTONVILLE*AR*72712~N1*BT*WALMART INC*92*WALMART~N3*702 SW 8TH STREET~N4*BENTONVILLE*AR*72716~PO1*001*100*EA*15.99*PE*VN*PROD-12345*UP*012345678905~PID*F****Blue T-Shirt - Size L~PO1*002*50*EA*29.99*PE*VN*PROD-67890*UP*012345678912~PID*F****Denim Jeans - Size 32~PO1*003*200*EA*9.99*PE*VN*PROD-11111*UP*012345678929~PID*F****White Socks - 3 Pack~CTT*3~SE*19*0001~GE*1*1~IEA*1*000000001~

850 Sample, Segment by Segment

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

The Same File as a Document

What a person reads once the codes are translated. Download it as a PDF from the menu above.

Purchase Order

4500123456

Nov 20, 2023

Type
Stand-alone order
Delivery requested
Nov 23, 2023
Department
001
Internal vendor number
STORE001

Ship to

WALMART STORE 001

123 MAIN STREET

BENTONVILLE, AR 72712

Assigned by buyer: 001

Bill to

WALMART INC

702 SW 8TH STREET

BENTONVILLE, AR 72716

Assigned by buyer: WALMART

LineItem / UPCDescriptionQtyUnitUnit priceAmount
001PROD-12345012345678905Blue T-Shirt - Size L100Each$15.99$1,599.00
002PROD-67890012345678912Denim Jeans - Size 3250Each$29.99$1,499.50
003PROD-11111012345678929White Socks - 3 Pack200Each$9.99$1,998.00
Lines
3
Total quantity
350
Merchandise
$5,096.50
Total
$5,096.50

Draft the 855, 856 and 810 from this PO

The EDI response builder reads an 850 and drafts the acknowledgment, ship notice and invoice that answer it.

Open the free tool

About This 850 Sample

The 850 starts every retail EDI order cycle. Everything after it quotes the PO number in BEG03: the 855 acknowledgment, the 856 ship notice and the 810 invoice. If your system keys the order in by hand, this is the file that gets retyped.

This sample follows the shape big-box retailers send to suppliers: a store number on the ship-to, a department number, a requested delivery date and one PO1 line per item with your item number (VN) and the UPC (UP). The IDs and items are made up.

For every segment the standard allows and how retailers use them, read the EDI 850 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 850?

An EDI 850 is the X12 purchase order a buyer sends to a supplier. This sample is a complete 004010 interchange: ISA and GS envelopes, a BEG header with PO number 4500123456, ship-to and bill-to N1 loops, three PO1 lines with UPCs and prices, and CTT, SE, GE and IEA trailers with correct counts.

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

Yes. It is a complete, valid X12 file of 23 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 850 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.