Skip to content
EDI 850 — Purchase OrderPublished Jan 19, 2025 · Updated Nov 4, 2026

EDI 850 Purchase Order: Segments and Examples

EDI 850 purchase order explained: BEG, PO1, N1, DTM and ITD segments, Walmart, drop-ship and Amazon examples, and how it links to the 855, 856 and 810.

The EDI 850 is the X12 transaction set for electronic purchase orders. It is how retailers, distributors and manufacturers tell their suppliers what to ship, where, when and at what price. Almost every EDI order cycle in retail, grocery and distribution starts with an inbound 850, and every later document (the acknowledgment, the ship notice, the invoice) points back to its PO number.

This guide covers what the 850 carries, the segments you will map, four live examples (a Walmart-style replenishment order, a drop-ship order, an Amazon Vendor Central order, and an order with a ship window and terms), how the 850 connects to the documents that follow it, and the errors that cause rejections and short-pays.

What is an EDI 850?

An EDI 850 Purchase Order is the transaction set defined by the ASC X12 standards body that a buyer uses to order goods or services from a supplier. It carries everything a supplier needs to fulfill the order (PO number, ship-to, line items, prices, dates and terms) in a fixed format that the supplier's ERP can load without anyone retyping it. It travels in functional group PO (the GS01 value), and most retail partners still use release 004010.

Authoritative references for 850 work:

  • The X12 transaction set catalog defines the 850 and its segment order. The Stedi 004010 850 reference lists every segment and element in that release
  • GS1 US standards govern the UPC and GTIN identifiers carried in PO1 product ID pairs, and the Global Location Numbers some buyers use for ship-to locations
  • Each large buyer publishes its own 850 implementation guide, which sets the segments it sends, the qualifiers it uses, and the response it expects

Who sends it? The buyer: a retailer, distributor, manufacturer or marketplace.

Who receives it? The supplier, usually through a VAN, AS2 or SFTP connection into its EDI translator.

When is it sent? Whenever the buyer places a new order. Changes to an order already sent normally come as an 860 Purchase Order Change, not a second 850.

Why does it matter? The 850 is the source of truth for the rest of the cycle. The buyer checks your 855 acknowledgment, 856 ship notice and 810 invoice against it. An order loaded with the wrong ship-to, unit or price becomes a wrong shipment and a deduction weeks later.

What's in an 850

An 850 contains everything a supplier needs to fulfill an order:

FieldWhere it livesExample
Order numberBEG034500123456
Order dateBEG0520231120 (CCYYMMDD)
Order typeBEG02SA stand-alone, DS drop ship
Ship-to addressN1*ST + N3 + N4A store or distribution center
Bill-to addressN1*BT + N3 + N4The buyer's accounts payable address
Line itemsPO1 (plus PID for the description)Qty, unit, unit price, vendor item, UPC
Requested delivery dateDTM*00220231123
Ship windowDTM*037 / DTM*038Ship not before / ship no later
Payment termsITD2% 10, net 30
ReferencesREFDepartment (DP), customer order (CO)
Totals checkCTTNumber of PO1 lines and an optional hash total

Interactive example: Walmart 850

This is a Walmart-style replenishment order with fictional data: an original stand-alone PO (BEG*00*SA), a department reference, a requested delivery date, store ship-to and corporate bill-to, and three lines identified by vendor item number and UPC. Use the Plain English tab for a readable translation, the Split View to see raw and parsed side by side, or click any segment to break it down element by element.

Live exampleWalmartEDI 850

Walmart 850 Purchase Order (Basic)

A basic Walmart purchase order with multiple line items

Document
850 Purchase Order
From / to
WALMART → VENDOR123
Lines
3 items
Total
5,096.50
Ship To
WALMART STORE 001
123 MAIN STREET, BENTONVILLE, AR, 72712
Bill To
WALMART INC
702 SW 8TH STREET, BENTONVILLE, AR, 72716
Interchange date
Nov 20, 2023
Order date
Nov 20, 2023
Delivery date
Nov 23, 2023

Raw EDI (X12)

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

Human-Readable

Interchange

Sender ID(ZZ)WALMART
Receiver ID(ZZ)VENDOR123
Date231120
Time1430
Standards IDU
Version00401
Control Number000000001
Acknowledgment RequestedNo
UsageProduction
Included Groups (IEA01)1

Functional Group

Functional IDPOPurchase Order
SenderWALMART
ReceiverVENDOR123
Date20231120
Time1430
Control Number1
Agency CodeX
Version004010
Transactions1
Reported Transaction Count (GE01)1

Transaction 850

Purchase Order
Transaction Type850
Control Number0001
Segments, ST to SE19
Count in SE0119 (matches)

Order Information

Order Number4500123456
Order Date2023-11-20

References

DP001
IASTORE001

Parties

Ship ToWALMART STORE 001 (ID 001), 123 MAIN STREET, BENTONVILLE, AR, 72712
Bill ToWALMART INC (ID WALMART), 702 SW 8TH STREET, BENTONVILLE, AR, 72716

Dates

Requested Delivery2023-11-23

Line Items (3)

Line 001: Blue T-Shirt - Size L
Vendor Item: PROD-12345
UPC: 012345678905
Qty: 100 EA
@ $15.99
$1,599.00
Line 002: Denim Jeans - Size 32
Vendor Item: PROD-67890
UPC: 012345678912
Qty: 50 EA
@ $29.99
$1,499.50
Line 003: White Socks - 3 Pack
Vendor Item: PROD-11111
UPC: 012345678929
Qty: 200 EA
@ $9.99
$1,998.00
Total Line Items3
1 functional group1 transactionControl #000000001Valid

Walmart's own requirements are in its supplier implementation guides. Our Walmart EDI compliance page summarizes what suppliers usually need to set up.

850 Structure at a Glance

The 850 has a heading (order-level data), a detail area (one PO1 loop per line) and a short summary. The table lists the segments most suppliers see in release 004010. The standard defines many more optional segments; your partner's guide says which it sends.

AreaSegmentNameUsage in 004010Notes
HeadingSTTransaction Set HeaderMandatoryST01 = 850
HeadingBEGBeginning Segment for Purchase OrderMandatoryPurpose, PO type, PO number, date
HeadingCURCurrencyOptionalUsed on cross-border orders
HeadingREFReference IdentificationOptional, repeatsDepartment, customer order, promotion numbers
HeadingPERAdministrative Communications ContactOptionalBuyer contact
HeadingFOBF.O.B. Related InstructionsOptionalFreight payment method and title transfer
HeadingSACService, Promotion, Allowance, or ChargeOptional loopOrder-level allowances or charges
HeadingITDTerms of SaleOptionalPayment terms
HeadingDTMDate/Time ReferenceOptional, up to 10Delivery date, ship window, cancel date
HeadingTD5Carrier Details (Routing)OptionalRequested carrier or routing
HeadingN1 loopName, with N2, N3, N4, REF, PEROptional, repeatsBuyer, ship-to, bill-to, vendor
DetailPO1Baseline Item DataMandatory loopOne per line: quantity, unit, price, product IDs
DetailPIDProduct/Item DescriptionOptionalFree-text description
DetailPO4Item Physical DetailsOptionalPack and inner pack
DetailSAC, DTM, SDQ, N1Line-level allowances, dates, store distribution, ship-toOptionalUsed when a line differs from the header
SummaryCTTTransaction TotalsOptionalLine count, optional hash total
SummarySETransaction Set TrailerMandatorySegment count and control number

"Optional" in the standard often means "required" in a retailer's guide. Build your map from the partner's guide, not from the standard alone.

Key segments explained

BEG: Beginning segment

The header that opens every 850.

BEG*00*SA*4500123456**20231120~
ElementNameExampleWhat it means
BEG01Transaction Set Purpose Code0000 original. Some buyers also send 01 cancellation, 05 replace or 07 duplicate; most send changes as an 860
BEG02Purchase Order Type CodeSASA stand-alone, DS dropship, NE new order, BK blanket order, RL release against a blanket
BEG03Purchase Order Number4500123456The buyer's PO number. You echo it on the 855, 856 and 810
BEG04Release NumberUsed for releases against a blanket order
BEG05Date20231120The PO date in CCYYMMDD

PO1: Line item baseline

One PO1 loop per ordered line.

PO1*001*100*EA*15.99*PE*VN*PROD-12345*UP*012345678905~
ElementNameExampleWhat it means
PO101Assigned Identification001The buyer's line number. Echo it on the 855 and, where asked, the 856 and 810
PO102Quantity Ordered100How many units of PO103
PO103Unit or Basis for Measurement CodeEAEA each, CA case, and other codes the buyer allows
PO104Unit Price15.99Price per unit. This element carries an explicit decimal point
PO105Basis of Unit Price CodePEPE price per each, PC price per case, and similar
PO106 / PO107Product/Service ID Qualifier and IDVN / PROD-12345VN is the vendor's item number
PO108 / PO109Second qualifier and IDUP / 012345678905UP is the 12-digit U.P.C. consumer package code

More pairs can follow (PO110 onward). Common qualifiers are VN vendor item, UP U.P.C., EN EAN, UK 14-digit GTIN shipping container code, BP buyer's part number and IN buyer's item number. A PID*F segment usually follows each PO1 with the free-text description.

The unit and the price have to agree with each other. A case price on an each line, or the reverse, multiplies the error by the pack size, and it carries straight through to your invoice. The UOM codes reference lists the X12 unit codes.

N1: Name segments

Each N1 loop identifies a party. The code in N101 says which one, and N103/N104 carry an ID.

N1*ST*WALMART STORE 001*92*001~
N3*123 MAIN STREET~
N4*BENTONVILLE*AR*72712~
Code in N101Party
STShip-to: the store, DC or consumer address
BTBill-to
BYBuying party
SESelling party
VNVendor
SFShip-from

N103 is the ID qualifier: 92 means assigned by the buyer (a store or DC number), 1 is a D-U-N-S number, and UL is a 13-digit Global Location Number. Load ship-to locations by that code, not by name. Names change; store numbers rarely do.

DTM: Date/time references

Code in DTM01Meaning in X12
002Delivery Requested
010Requested Ship
037Ship Not Before
038Ship No Later
063Do Not Deliver After
064Do Not Deliver Before
001Cancel After

A ship window is usually 037 plus 038, and a delivery window 064 plus 063. Read which pair your partner sends: shipping on the last day of a delivery window is late.

ITD: Terms of sale

ITD*01*3*2**10**30~

ITD01 is the terms type (01 basic), ITD02 the date the terms count from (3 invoice date), ITD03 the discount percent, ITD05 the discount days and ITD07 the net days. This one reads "2% 10, net 30". The 810 guide covers ITD element by element, because the invoice is where terms are applied.

CTT: Transaction totals

CTT01 is the number of PO1 lines. CTT02, when sent, is a hash total, usually the sum of the PO102 quantities. Check both when you load the order: a mismatch means lines were lost or duplicated in transit or in your translator.

Interactive example: ship window, terms and a DC ship-to

A home goods retailer orders three items for its Columbus distribution center. The order carries 2% 10, net 30 terms in ITD, a ship window from November 9 to 13 in DTM*037 and DTM*038, and a CTT with three lines and a hash total of 46 units. All parties and IDs are fictional.

Live exampleEDI 850

850 Purchase Order: Ship Window, Terms and Three Lines

Harbor Home PO 4500091150 to Cedarline Home: stand-alone order (BEG02 SA), 2% 10 net 30 terms in ITD, a ship window in DTM 037 (ship not before) and 038 (ship no later), a DC ship-to, and three lines identified by UPC and vendor item number. Fictional parties

Document
850 Purchase Order
From / to
HARBORHOME → CEDARLINE
Lines
3 items
Total
1,765.00
Buyer
HARBOR HOME INC
Ship To
HARBOR HOME DC 02
4400 RIVERGATE PKWY, COLUMBUS, OH, 43217
Interchange date
Nov 2, 2026
Order date
Nov 2, 2026

Raw EDI (X12)

1
ISA*00* *00* *ZZ*HARBORHOME *ZZ*CEDARLINE *261102*0815*U*00401*000008501*0*P*:~
2
GS*PO*HARBORHOME*CEDARLINE*20261102*0815*8501*X*004010~
3
ST*850*0001~
4
BEG*00*SA*4500091150**20261102~
5
REF*DP*042~
6
ITD*01*3*2**10**30~
7
DTM*037*20261109~
8
DTM*038*20261113~
9
N1*BY*HARBOR HOME INC*92*HH01~
10
N1*ST*HARBOR HOME DC 02*92*DC02~
11
N3*4400 RIVERGATE PKWY~
12
N4*COLUMBUS*OH*43217~
13
PO1*1*24*EA*42.00*PE*UP*085519001205*VN*CL-LAMP-BRS~
14
PID*F****BRASS TABLE LAMP~
15
PO1*2*10*EA*64.00*PE*UP*085519001229*VN*CL-RUG-0508~
16
PID*F****AREA RUG 5X8 SLATE~
17
PO1*3*12*EA*9.75*PE*UP*085519001212*VN*CL-SHADE-LIN~
18
PID*F****LINEN LAMP SHADE~
19
CTT*3*46~
20
SE*18*0001~
21
GE*1*8501~
22
IEA*1*000008501~

Human-Readable

Interchange

Sender ID(ZZ)HARBORHOME
Receiver ID(ZZ)CEDARLINE
Date261102
Time0815
Standards IDU
Version00401
Control Number000008501
Acknowledgment RequestedNo
UsageProduction
Included Groups (IEA01)1

Functional Group

Functional IDPOPurchase Order
SenderHARBORHOME
ReceiverCEDARLINE
Date20261102
Time0815
Control Number8501
Agency CodeX
Version004010
Transactions1
Reported Transaction Count (GE01)1

Transaction 850

Purchase Order
Transaction Type850
Control Number0001
Segments, ST to SE18
Count in SE0118 (matches)

Order Information

Order Number4500091150
Order Date2026-11-02

References

DP042

Parties

BuyerHARBOR HOME INC (ID HH01)
Ship ToHARBOR HOME DC 02 (ID DC02), 4400 RIVERGATE PKWY, COLUMBUS, OH, 43217

Dates

Date (037)2026-11-09
Date (038)2026-11-13

Line Items (3)

Line 1: BRASS TABLE LAMP
UPC: 085519001205
Vendor Item: CL-LAMP-BRS
Qty: 24 EA
@ $42.00
$1,008.00
Line 2: AREA RUG 5X8 SLATE
UPC: 085519001229
Vendor Item: CL-RUG-0508
Qty: 10 EA
@ $64.00
$640.00
Line 3: LINEN LAMP SHADE
UPC: 085519001212
Vendor Item: CL-SHADE-LIN
Qty: 12 EA
@ $9.75
$117.00
Total Line Items3

Additional Segments (1)

ITDTerms of Sale/Deferred Terms of Sale
ITD01Terms Type01
ITD02Terms Basis3
ITD03Discount Percent2
ITD05Discount Days10
ITD07Net Days30
1 functional group1 transactionControl #000008501Valid

Three real-world variants

The 850 is a flexible spec, and every buyer uses it a little differently. These are the three patterns that cover most of the volume in B2B retail.

1. Retail replenishment (Walmart, Target, Kroger)

Store or DC replenishment orders in case-pack quantities, to a requested date or window. The Walmart-style example above is the typical shape.

What to expect:

  • Ship-to locations identified by a buyer-assigned store or DC number (N103 = 92)
  • A department number in REF*DP
  • Product IDs by U.P.C. or GTIN plus your vendor item number
  • A routing guide that sits outside the 850 and governs how you ship. On collect freight, routing often runs through a 753 request and 754 routing instructions

2. Drop-ship orders (Target, Amazon, Wayfair)

The retailer takes the consumer's order, then sends you an 850 to ship directly to the consumer. The N1*ST becomes a residential address.

Live exampleTargetEDI 850

Target 850 Purchase Order (Drop Ship)

Target drop ship order with ship-to consumer address

Document
850 Purchase Order
From / to
TARGET → SUPPLIER456
Lines
2 items
Total
99.98
Ship To
JOHN DOE
456 ELM AVENUE APT 2B, MINNEAPOLIS, MN, 55401
Interchange date
Nov 20, 2023
Order date
Nov 20, 2023
Delivery date
Nov 25, 2023

Raw EDI (X12)

1
ISA*00* *00* *ZZ*TARGET *ZZ*SUPPLIER456 *231120*1445*U*00401*000000002*0*P*:~
2
GS*PO*TARGET*SUPPLIER456*20231120*1445*2*X*004010~
3
ST*850*0002~
4
BEG*00*DS*TGT987654**20231120~
5
REF*DP*DROPSHIP~
6
REF*CO*WEB-ORDER-12345~
7
DTM*002*20231125~
8
N1*ST*JOHN DOE~
9
N3*456 ELM AVENUE APT 2B~
10
N4*MINNEAPOLIS*MN*55401~
11
PO1*001*1*EA*79.99*PE*VN*KITCHEN-001*UP*098765432105~
12
PID*F****Stainless Steel Blender~
13
PO1*002*1*EA*19.99*PE*VN*KITCHEN-002*UP*098765432112~
14
PID*F****Glass Mixing Bowl Set~
15
CTT*2~
16
SE*14*0002~
17
GE*1*2~
18
IEA*1*000000002~

Human-Readable

Interchange

Sender ID(ZZ)TARGET
Receiver ID(ZZ)SUPPLIER456
Date231120
Time1445
Standards IDU
Version00401
Control Number000000002
Acknowledgment RequestedNo
UsageProduction
Included Groups (IEA01)1

Functional Group

Functional IDPOPurchase Order
SenderTARGET
ReceiverSUPPLIER456
Date20231120
Time1445
Control Number2
Agency CodeX
Version004010
Transactions1
Reported Transaction Count (GE01)1

Transaction 850

Purchase Order
Transaction Type850
Control Number0002
Segments, ST to SE14
Count in SE0114 (matches)

Order Information

Order NumberTGT987654
Order Date2023-11-20

References

DPDROPSHIP
COWEB-ORDER-12345

Parties

Ship ToJOHN DOE, 456 ELM AVENUE APT 2B, MINNEAPOLIS, MN, 55401

Dates

Requested Delivery2023-11-25

Line Items (2)

Line 001: Stainless Steel Blender
Vendor Item: KITCHEN-001
UPC: 098765432105
Qty: 1 EA
@ $79.99
$79.99
Line 002: Glass Mixing Bowl Set
Vendor Item: KITCHEN-002
UPC: 098765432112
Qty: 1 EA
@ $19.99
$19.99
Total Line Items2
1 functional group1 transactionControl #000000002Valid

What changes from a replenishment 850:

  • BEG02 is DS (dropship)
  • N1*ST carries the consumer's name and address instead of a location code
  • A REF*CO (customer order number) usually carries the consumer-facing order ID, which you echo on the ship notice and invoice
  • Quantities are usually small, often one per line

Our EDI for ecommerce guide covers drop-ship flows in more depth.

3. Amazon Vendor Central

Amazon's 850 follows the same X12 structure with its own conventions, which are set out in its Vendor Central EDI guides.

Live exampleAmazonEDI 850

Amazon 850 Purchase Order (Vendor Central)

Amazon Vendor Central purchase order for FC replenishment

Document
850 Purchase Order
From / to
AMAZON → VENDOR789
Lines
3 items
Total
19,737.00
Ship To
AMAZON.COM DEDC LLC
24208 SAN MICHELE ROAD, MORENO VALLEY, CA, 92551
Buyer
AMAZON.COM LLC
Interchange date
Nov 20, 2023
Order date
Nov 20, 2023

Raw EDI (X12)

1
ISA*00* *00* *12*AMAZON *ZZ*VENDOR789 *231120*1500*U*00401*000000003*0*P*:~
2
GS*PO*AMAZON*VENDOR789*20231120*1500*3*X*004010~
3
ST*850*0003~
4
BEG*00*NE*AMZ-PO-123456**20231120~
5
REF*DP*ONT8~
6
REF*MR*MERCHANDISE-TYPE-A~
7
DTM*064*20231127~
8
DTM*063*20231201~
9
N1*ST*AMAZON.COM DEDC LLC*92*ONT8~
10
N3*24208 SAN MICHELE ROAD~
11
N4*MORENO VALLEY*CA*92551~
12
N1*BY*AMAZON.COM LLC*92*AMAZON~
13
PO1*001*500*EA*12.50*PE*VN*ASIN-B001*BP*B001ABC123~
14
PID*F****Wireless Mouse - Black~
15
PO1*002*300*EA*24.99*PE*VN*ASIN-B002*BP*B002DEF456~
16
PID*F****USB-C Cable 6ft - White~
17
PO1*003*1000*EA*5.99*PE*VN*ASIN-B003*BP*B003GHI789~
18
PID*F****Phone Case - Clear~
19
CTT*3~
20
SE*18*0003~
21
GE*1*3~
22
IEA*1*000000003~

Human-Readable

Interchange

Sender ID(12)AMAZON
Receiver ID(ZZ)VENDOR789
Date231120
Time1500
Standards IDU
Version00401
Control Number000000003
Acknowledgment RequestedNo
UsageProduction
Included Groups (IEA01)1

Functional Group

Functional IDPOPurchase Order
SenderAMAZON
ReceiverVENDOR789
Date20231120
Time1500
Control Number3
Agency CodeX
Version004010
Transactions1
Reported Transaction Count (GE01)1

Transaction 850

Purchase Order
Transaction Type850
Control Number0003
Segments, ST to SE18
Count in SE0118 (matches)

Order Information

Order NumberAMZ-PO-123456
Order Date2023-11-20

References

DPONT8
MRMERCHANDISE-TYPE-A

Parties

Ship ToAMAZON.COM DEDC LLC (ID ONT8), 24208 SAN MICHELE ROAD, MORENO VALLEY, CA, 92551
BuyerAMAZON.COM LLC (ID AMAZON)

Dates

Do Not Deliver Before2023-11-27
Do Not Deliver After2023-12-01

Line Items (3)

Line 001: Wireless Mouse - Black
Vendor Item: ASIN-B001
Buyer Part: B001ABC123
Qty: 500 EA
@ $12.50
$6,250.00
Line 002: USB-C Cable 6ft - White
Vendor Item: ASIN-B002
Buyer Part: B002DEF456
Qty: 300 EA
@ $24.99
$7,497.00
Line 003: Phone Case - Clear
Vendor Item: ASIN-B003
Buyer Part: B003GHI789
Qty: 1000 EA
@ $5.99
$5,990.00
Total Line Items3
1 functional group1 transactionControl #000000003Valid

What this example shows:

  • The ship-to is a fulfillment center, identified by its FC code (ONT8 here)
  • Items carry the ASIN as a buyer's part number (BP) next to your vendor item number (VN). An ASIN is Amazon's catalog ID, not a GTIN
  • BEG02 is NE (new order)
  • Requested dates are in DTM. Check which date codes Amazon's current guide uses for the delivery window before you map them

Our Amazon EDI compliance page and Target page summarize each retailer's setup.

How the 850 Relates to Other EDI Documents

The 850 is the first document in the order cycle, and the documents that follow all reference it.

DocumentWhat it communicatesDirectionTiming
850 Purchase OrderWhat the buyer wants to buyBuyer to supplierOrder placed
997 / 999The 850 arrived and passed syntax checksSupplier to buyerShortly after receipt
855 PO AcknowledgmentWhether the supplier accepts, changes or rejects each lineSupplier to buyerWithin the partner's window
860 PO ChangeA buyer change to an existing 850Buyer to supplierBefore fulfillment
869 / 870Status inquiry and report on open ordersBuyer asks, supplier answersWhile the order is open
856 Ship Notice (ASN)What physically shipped and how it is packedSupplier to buyerAt shipment
810 InvoiceThe amount owed for what shippedSupplier to buyerAfter shipment
820 RemittanceWhat was paid and deductedBuyer to supplierAfter the invoice is approved

Every one of these carries the original PO number from BEG03, which is how buyer and supplier systems tie the cycle together. The EDI order lifecycle guide walks through the whole sequence.

850 vs 875 vs 860

850 Purchase Order875 Grocery Products PO860 PO Change
PurposePlace a new orderPlace a new order (grocery UCS format)Change an order already sent
Header segmentBEGG50BCH
Line segmentPO1G68POC
Functional groupPOOGPC
Who uses itRetail, distribution, manufacturingSome grocery retailers, wholesalers and foodservice distributorsAny buyer that sends 850s

Implementation best practices

Validate before you acknowledge

Don't send an 855 accepting the order until you've checked the 850 against your own data:

  • UPC/GTIN check: Confirm each U.P.C. is 12 digits with a valid check digit and maps to a live item. The check digit calculator verifies one by hand.
  • Vendor item resolves: Verify the VN item maps to an active SKU in your item master, not a discontinued or unmapped record.
  • Unit and price agree: Compare PO103 and PO104 with your price list for that customer. A price difference is cheaper to raise on the 855 than to argue after the invoice.
  • Quantity sanity: Flag zero quantities, or fractional quantities on an each unit, as likely mapping errors.
  • Achievable dates: Compare the requested delivery date or ship window with your lead time and cutoffs.
  • Complete ship-to: Flag an order whose N1*ST has no location code and no full N3/N4 address.

Respond on time

After an 850 arrives, the buyer usually expects:

ResponsePurpose
997 Functional Acknowledgment"The 850 arrived and parsed"
855 PO Acknowledgment"Here is what we will ship, line by line"
856 ASN"Here is what is on the truck and how it is packed"
810 Invoice"Here is what you owe for what shipped"

The deadline for each one is in the partner's guide or vendor agreement. Some buyers do not use the 855 at all; others treat a late or missing one as a compliance failure.

Common 850 errors and how to prevent them

ErrorWhat happensPrevention
Ship window codes misreadGoods ship outside the window and arrive late or earlyMap 037/038 (ship) and 064/063 (deliver) separately; never treat 010 or 002 as a window
Unit of measure mismatchCases shipped against an each order, or the reverseMap PO103 to your selling unit explicitly for each partner
Unknown ship-to codeOrder loads with no address, or the wrong DCKeep a location table from the partner's store and DC list; fail the order if the code is missing
Item not foundLine skipped or loaded as a placeholderMatch on both the buyer's ID and your vendor item; route misses to a person, not a default SKU
Price not on your listInvoice price differs, buyer short-paysCheck PO104 on receipt and raise it on the 855
Duplicate PO loadedGoods shipped twiceReject a second 850 with the same BEG03 unless BEG01 says it is a replacement
Change sent as a new 850Old and new versions both liveAgree with the buyer whether changes come as 860s, and handle BEG01 codes they send
Lines lost in translationShort shipment, then a fill-rate complaintCheck CTT01 against the number of PO1 loops you loaded
Date format errorsTranslator rejects the segmentX12 dates are CCYYMMDD, with no separators

Most of these surface later as EDI chargebacks or deductions on an 812 or 820, far from the order that caused them.

850 implementation checklist

Before your first live 850 with a new partner:

  • Get the partner's 850 implementation guide and its GS08 version
  • List the BEG02 order types it sends and how each one is fulfilled
  • Load its store and DC location codes for N1*ST
  • Confirm which product ID qualifiers it sends, and map each to your item master
  • Confirm units, pack sizes and price basis for every item
  • Confirm which date codes it uses for delivery dates and windows
  • Confirm whether it sends changes as 860s or replacement 850s
  • Confirm which responses it expects (997, 855, 856, 810) and their deadlines
  • Test an original, a drop-ship (if used), a multi-line order and a change
  • Watch your 997s and rejections closely for the first weeks of production

If you are new to retail EDI, our EDI compliance guide and EDI document types reference show how the 850 fits with the other documents your partners may require.

Test your own 850s

Paste an 850 into our free EDI inspector to see every segment parsed and labelled, with a plain-English summary of the order. The inspector also explains structural rejections. To see what an 855 or 856 response would look like for the same order, the EDI response builder drafts one from the 850.

Turning 850s Into Orders With OrderSync

The 850 is one of several ways orders arrive. The same customers may also send PDFs, emails and spreadsheets, and grocery buyers may send 875s.

OrderSync reads inbound orders in all of those formats, matches customers, ship-to locations, items and units to your catalog, and outputs clean data to your ERP or valid X12. Read more about purchase order automation and multi-format order processing, or book a 15-minute walkthrough to see your own orders processed.

Related transaction sets

Frequently Asked Questions

What is the difference between an EDI 850 and an EDI 875?

The 850 is the general-purpose X12 purchase order used across retail, distribution and manufacturing. The 875 is the grocery purchase order from the UCS family, with G-prefixed segments: G50 for the header and G68 for each line. Which one you receive depends on the buyer, so check its implementation guide.

Does an 850 have to be acknowledged?

Almost always with a 997 Functional Acknowledgment, which confirms the 850 arrived and passed syntax checks. Many buyers also require an 855 Purchase Order Acknowledgment, which says line by line what you will ship. The deadlines for both are set in the buyer's guide or vendor agreement.

What's the difference between BEG02 = "SA" and BEG02 = "DS"?

BEG02 is the purchase order type. SA is a stand-alone order, the normal stocking order to a store or DC. DS is a dropship order, shipped directly to the buyer's customer. NE (new order) and BK (blanket order) are also common. The type changes how you fulfill the order and what the ship-to looks like.

How do I match line items between an 850 and an 856 ASN?

Carry the same product IDs through. The qualifier and ID pairs from PO106 onward on the 850 reappear on the 856 LIN segment (LIN02 and LIN03, then LIN04 and LIN05), and many buyers also want the original PO1 line number in LIN01. If your item numbers or UPCs drift between the 850 and 856, receiving cannot match them.

Why does an 850 sometimes have more than one ship-to?

Because one PO can supply several locations. In 004010 the buyer can put an N1 loop inside each PO1 loop to give that line its own ship-to, or use SDQ segments to split a line's quantity across store numbers. If your import keeps only the header ship-to, goods go to the wrong place.

What is the difference between EDI 810 and 850?

The 850 is the purchase order and the 810 is the invoice. The buyer sends the 850 to start the order, stating what it wants and the price it expects. The supplier sends the 810 after shipment to bill for what shipped, with the original PO number in BIG04 so the buyer can match the bill to the order.

What is the difference between EDI 850 and 860?

The 850 creates a new purchase order; the 860 changes one that already exists. To adjust quantities, add or remove lines, move a date or cancel an order already sent as an 850, the buyer sends an 860 Purchase Order Change that references the original PO number, so the supplier updates the order instead of creating a duplicate.

Does the 850 exist outside X12?

Yes, under different names. European partners send an EDIFACT ORDERS message, and buyers on the Peppol network send a UBL Order. It is the same business document in a different syntax. Our UBL vs X12 vs EDIFACT mapping lines the three up field by field.

James Darby
Last updated: 11/4/2026

Related Resources