Skip to content

EDI 850: A Purchase Order, Read Segment by Segment

What an EDI 850 is and how to read one: BEG, DTM, N1, PO1 and CTT in plain words, with a made-up order, the 855 and 856 that answer it, and a free sheet.

By Koa Sterling. Product specialist at TaroStack and small business owner. Yes, I am a real human, and I actually sit in front of a computer and write these articles. Reviewed November 25, 2026 · 7 min read

An EDI 850 is a purchase order sent computer to computer. It says what any purchase order says: who's buying, what, how many, at what price, delivered where and when. It just says it in a fixed code so the buyer's system and yours can read it without a person retyping it. Each line is a segment, each segment starts with a short name, and the pieces are separated by asterisks. Once you know five segments you can read one. Below is a made-up 850, segment by segment, and a sheet to keep beside your customer's guide.

The short version

  • 850 is the number of the purchase order document in the X12 standard used in North America.
  • BEG holds the PO number and date. DTM holds the dates. N1 says who and where.
  • PO1 is a line: quantity, unit, price and the item's code. There's one for each item.
  • CTT counts the lines, so nothing is lost on the way.
  • You answer with an 855, ship with an 856, and bill with an 810.
  • TaroStack doesn't send or receive EDI. It keeps the facts those documents carry. More below.

A whole order

Here is a small 850, with the outer envelope left off:

ST*850*0001
BEG*00*SA*4500012345**20261201
REF*DP*042
DTM*002*20261208
N1*ST*STORE 114*92*0114
PO1*1*24*CA*28.80**UP*012345678905
PID*F****SALSA MILD 16 OZ
CTT*1
SE*9*0001

In words: purchase order 4500012345, dated December 1, 2026, for department 042. Deliver on December 8 to store 114. One line: 24 cases of mild salsa at $28.80 a case.

Segment by segment

Segment Its name What it carries
ST Start The document type, 850, and a control number
BEG Beginning of the PO New or changed, the order type, the PO number, the PO date
REF Reference Other numbers the buyer wants quoted back: a department, a contract
DTM Date A date, with a code saying which date it is
N1 Name A party, with a code saying which party it is
PO1 Line item Line number, quantity, unit, price, item codes
PID Description The item in words
CTT Totals The number of lines
SE End A count of segments and the control number again

BEG. BEG*00*SA*4500012345**20261201. The 00 means an original order. SA means a stand-alone order, as opposed to a release against a blanket order. Then the PO number, an empty place, and the date written year, month, day. The PO number is the one to quote on everything you send back.

DTM. DTM*002*20261208. The first code says what kind of date follows. This is where people go wrong, because an order can carry several:

Code The date is
002 Delivery requested
010 Requested ship date
037 Ship not before
038 Ship no later than
001 Cancel after

A ship date and a delivery date are different promises. Read the code before the date.

N1. N1*ST*STORE 114*92*0114. ST here means ship to. BT is bill to, BY is the buying party, VN is the vendor, which is you. The number at the end is the buyer's own code for that location, and it's what their system matches on, not the name.

The PO1 segment

PO1*1*24*CA*28.80**UP*012345678905

Place Holds Here
1 Line number 1
2 Quantity 24
3 Unit CA, case
4 Unit price 28.80
5 Price basis Empty
6 What kind of item code follows UP, a UPC
7 The item code 012345678905

Two things to check on every line.

The unit. CA is case and EA is each. Twenty-four cases and twenty-four jars are a twelvefold difference. If the buyer orders in eaches and you sell in cases, settle it before the first order: case pack covers the levels.

The item code. UP is a 12-digit UPC. UK is a 14-digit case code, the GTIN-14. VN is your own item number and IN is the buyer's. A line can carry several pairs. If the code on the order isn't one you have on file, the order can't be matched to a product.

What you send back

Document What it is Who sends it
850 Purchase order Buyer
855 Purchase order acknowledgment: accepted, changed or refused, line by line You
860 Purchase order change Buyer
856 Advance ship notice: what's on the truck You
810 Invoice You
997 Functional acknowledgment: "your file arrived and could be read" Either

An 860 is the buyer changing an order it already sent: a new quantity, a new date, a cancelled line. An 850 is the first word, an 860 is a correction to it. Treat an 860 as a new instruction and check it against what you've already picked.

The ship notice is covered in advance ship notice, and what retailers ask of a small supplier in general is in EDI requirements for suppliers.

Every retailer publishes its own guide saying which segments and codes it uses, which are required, and how fast you must answer. This article is the common shape. Their guide is the rule.

Get the sheet

Download the 850 segment sheet. One sheet and a read-me: each segment of the order above, its name, what it carries, the example, and the example in plain words. Add your customer's own segments and codes beside them. It's an ordinary Excel file with no macros, and it works in Google Sheets, LibreOffice and Numbers.

Where this stops working

Reading the order is the easy half. The 855 that answers it has to say, line by line, whether you can ship 24 cases by the 8th. That's a stock question. The 856 after it has to say what actually went on the truck, and many customers want the lot and date of each case. A small supplier usually gets fined for the second and third documents, not the first, and for the same reason each time: what was said didn't match what arrived.

How TaroStack does it

TaroStack doesn't send or receive EDI documents. It keeps the facts those documents have to carry.

Sales orders show whether the stock is there while you're typing, so the answer to "can we ship 24 by the 8th" is on the screen before you acknowledge. An order shipped in part stays open, showing as partly shipped with what's still to send.

A customer can carry a days-of-shelf-life rule, the least life its stock must have left, and picking takes lots that meet it.

What ships is recorded by lot, against the customer and the order, as it's picked. There's one picking list for an order, so what's loaded is what's recorded.

The document asks Clipboard In TaroStack
Can you fill it by the date? Walk to the shelf Shown on the sales order
What's short? Remembered The order, partly shipped, with what's still to send
Which lots are on the truck? Copied from cases Recorded at picking
Enough shelf life for this buyer? Checked by eye The customer's rule, applied when picking

Stock, lots and sales orders are on every plan, from $9.99 a month. The first 14 days are free, with no credit card. If you'd like a hand setting up, ask, and we'll do it with you.

Questions people also ask

What is an EDI 850?

The electronic purchase order in the X12 standard. A buyer's system sends it to a supplier's system in place of a paper or emailed order.

What is in the PO1 segment of an 850?

One line of the order: the line number, quantity, unit of measure, unit price and one or more codes identifying the item, such as a UPC.

What is the difference between an 850 and an 860?

An 850 is the original purchase order. An 860 is the buyer's change to an order it has already sent.

What do I send after I receive an 850?

Usually a 997 to confirm the file arrived, an 855 to accept or change the order, an 856 when it ships, and an 810 to bill it. Your customer's guide says which it requires.

We use AI to help with the research for these articles. Every one is read, checked against its sources and edited by Koa before it's published. Spot a mistake? Tell us and we'll fix it and say so. How we write these.

Let’s get your stack in order.

Get TaroStack

Sign up now for your free 14 day trial. No credit card required.