100% Offline Reference X12 850 Purchase Order

ASC X12 850 Retail & Manufacturing Purchase Order Reference

The backbone of North American retail, grocery, and manufacturing procurement, 850 initiates the 850 → 855 → 856 → 810 order-to-cash lifecycle.

Key 850 Segments & Product ID Qualifiers

SegmentSectionCritical Elements & Retail Rules
BEGHeaderBEG-01 Purpose (00=Original), BEG-02 Type (SA=Stand-Alone, DS=Drop-Ship, BK=Blanket), BEG-03 PO Number, BEG-05 PO Date.
FOB / ITD / DTMHeaderFreight payment terms, net discount days, and requested ship/cancel dates (DTM*010, DTM*001).
N1 + N3 + N4Party LoopsN1*ST Ship-To DC/Store (often with 92 assigned store # or UL GLN), N1*BT Bill-To, N1*VN Supplier.
PO1Line Item LoopPO1-01 Line #, PO1-02 Qty, PO1-03 UOM (EA, CA), PO1-04 Unit Price, followed by paired qualifiers: UP (UPC-12), EN (EAN-13), UK (GTIN-14), VN (Vendor SKU), IN (Buyer Item #).
CTTSummaryCTT-01 = Exact count of PO1 segments in transaction; optional CTT-02 = hash sum of PO1-02 quantities.
ST*850*0001~
BEG*00*SA*PO-884920**20261112~
REF*DP*042~
DTM*010*20261118~
DTM*001*20261125~
N1*ST*MIDWEST DISTRIBUTION CTR #14*92*0014~
N3*900 LOGISTICS PKWY~
N4*JOLIET*IL*60431~
PO1*1*24*CA*48.50*PE*UP*012345678905*VN*SKU-4410~
PID*F****ORGANIC COLD BREW 12PK~
PO1*2*12*CA*52.00*PE*UP*012345678912*VN*SKU-4412~
PID*F****VANILLA OAT LATTE 12PK~
CTT*2*36~                                    <-- 2 PO1 lines, 24 + 12 = 36 total cases
SE*14*0001~

Frequently Asked Engineering Questions

What happens if CTT-01 does not match the number of PO1 lines?

Retailers and VAN translators flag a functional/application error or reject the PO because CTT-01 is a mandatory control count of PO1 baseline item loops.

Inspect, Diff, Validate & Scrub This Payload Offline in Your JetBrains IDE

Never paste regulated healthcare PHI (837/835/271) or supply-chain payloads (850/ORDERS) into browser parsers. EdiPrism X12 EDIFACT runs 100% air-gapped inside IntelliJ IDEA, PyCharm, DataGrip, Rider, GoLand, and WebStorm with a free core tier and a 14-day [Pro] trial.

Install Free from JetBrains Marketplace → Read Air-Gap Security Architecture