Stedi maintains this guide based on public documentation from 3M. Contact 3M for official EDI specifications. To report any errors in this guide, please contact us.
X12 850 Purchase Order
—
Delimiters
- ~ Segment
- } Element
- > Component
Powered by
Build EDI implementation guides at stedi.com
Overview
ISA
-
Interchange Control Header
Max use 1
Required
GS
-
Functional Group Header
Max use 1
Required
heading
ST
010
Transaction Set Header
Max use 1
Required
BEG
020
Beginning Segment for Purchase Order
Max use 1
Required
REF
050
Reference Identification
Max use 1
Optional
PER
060
Administrative Communications Contact
Max use 3
Optional
FOB
080
F.O.B. Related Instructions
Max use 1
Optional
DTM
150
Date/Time Reference
Max use 10
Optional
TD5
240
Carrier Details (Routing Sequence/Transit Time)
Max use 12
Optional
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
—
- 00
- No Authorization Information Present (No Meaningful Information in I02)
—
- 00
- No Security Information Present (No Meaningful Information in I04)
—
- U
- U.S. EDI Community of ASC X12, TDCC, and UCS
—
- 00401
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
—
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
—
- DS
- Dropship
- NE
- New Order
- PR
- Promotion
- RO
- Rush Order
- SA
- Stand-alone Order
PER
060
Heading > PER
Administrative Communications Contact
OptionalMax use 3
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
—
- BD
- Buyer Name or Department
- CW
- Confirmed With
- OC
- Order Contact
- RE
- Receiving Contact
FOB
080
Heading > FOB
F.O.B. Related Instructions
OptionalMax use >1
—
Example
If Description (FOB-03) is present, then Location Qualifier (FOB-02) is required
—
- CC
- Collect
- CF
- Collect, Freight Credited Back to Customer
- PC
- Prepaid but Charged to Customer
- PP
- Prepaid (by Seller)
- PU
- Pickup
—
- DE
- Destination (Shipping)
- OR
- Origin (Shipping Point)
SAC Loop
RequiredMax 25
SAC
120
Heading > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Example
If either Allowance/Charge Percent Qualifier (SAC-06) or Percent (SAC-07) is present, then the other is required
—
- C000
- Defective Allowance
- C310
- Discount
- D240
- Freight
- E740
- New Store Allowance
- E750
- New Store Discount
- F050
- Other (See related description)
- F800
- Promotional Allowance
- H000
- Special Allowance
- H850
- Tax
- ZZZZ
- Mutually Defined
—
- 3
- Discount/Gross
- 4
- Discount/Net
- 6
- Base Price Amount
SAC Loop end
—
- A
- Air
- AE
- Air Express
- D
- Parcel Post
- U
- Private Parcel Service
N1 Loop
OptionalMax 200
N1
310
Heading > N1 Loop > N1
Name
RequiredMax use 1
—
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
—
- 1
- D-U-N-S Number, Dun & Bradstreet
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
- 91
- Assigned by Seller or Seller's Agent
- 92
- Assigned by Buyer or Buyer's Agent
N1 Loop end
Heading end
Detail
PO1 Loop
RequiredMax 100000
PO1
010
Detail > PO1 Loop > PO1
Baseline Item Data
RequiredMax use 1
—
Example
If Basis of Unit Price Code (PO1-05) is present, then Unit Price (PO1-04) is required
If either Product/Service ID Qualifier (PO1-06) or Product/Service ID (PO1-07) is present, then the other is required
If either Product/Service ID Qualifier (PO1-08) or Product/Service ID (PO1-09) is present, then the other is required
If either Product/Service ID Qualifier (PO1-10) or Product/Service ID (PO1-11) is present, then the other is required
If either Product/Service ID Qualifier (PO1-12) or Product/Service ID (PO1-13) is present, then the other is required
—
- BB
- Base Box
- CA
- Case
- CT
- Carton
- EA
- Each
- FT
- Foot
- IB
- Inches Per Second (Vibration Velocity)
- PH
- Pack (PAK)
- PK
- Package
- RL
- Roll
—
- HP
- Price per Hundred
- PE
- Price per Each
- PP
- Price per Pound
- PT
- Price per Ton
- TP
- Price per Thousand
—
- IN
- Buyer's Item Number
- SK
- Stock Keeping Unit (SKU)
- UI
- U.P.C. Consumer Package Code (1-5-5)
- UK
- U.P.C./EAN Shipping Container Code (1-2-5-5-1)
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VN
- Vendor's (Seller's) Item Number
—
- IN
- Buyer's Item Number
- SK
- Stock Keeping Unit (SKU)
- UI
- U.P.C. Consumer Package Code (1-5-5)
- UK
- U.P.C./EAN Shipping Container Code (1-2-5-5-1)
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VN
- Vendor's (Seller's) Item Number
—
- IN
- Buyer's Item Number
- SK
- Stock Keeping Unit (SKU)
- UI
- U.P.C. Consumer Package Code (1-5-5)
- UK
- U.P.C./EAN Shipping Container Code (1-2-5-5-1)
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VN
- Vendor's (Seller's) Item Number
—
- IN
- Buyer's Item Number
- SK
- Stock Keeping Unit (SKU)
- UI
- U.P.C. Consumer Package Code (1-5-5)
- UK
- U.P.C./EAN Shipping Container Code (1-2-5-5-1)
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VN
- Vendor's (Seller's) Item Number
PID Loop
OptionalMax 1000
PID Loop end
SCH Loop
OptionalMax 200
SCH
295
Detail > PO1 Loop > SCH Loop > SCH
Line Item Schedule
RequiredMax use 1
—
Example
If Date (SCH-09) is present, then Date/Time Qualifier (SCH-08) is required
If Date/Time Qualifier (SCH-08) is present, then at least one of Date (SCH-09) or Time (SCH-10) is required
If Time (SCH-10) is present, then Date/Time Qualifier (SCH-08) is required
—
- 001
- Cancel After
- 002
- Delivery Requested
- 074
- Requested for Delivery (Prior to and Including)
—
- 001
- Cancel After
- 002
- Delivery Requested
- 074
- Requested for Delivery (Prior to and Including)
SCH Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
OptionalMax >1
CTT Loop end
Summary end
EDI Samples
Purchase Order Transaction sample from 3M
ISA}00} }00} }01}001317452TS }01}006173082T
}190108}0935}U}00400}000027415}0}P}{~
GS}PO}001317452TS}006173082T}20190108}0935}27415}X}004010~
ST}850}0008~
BEG}00}NE}4511798331}}20190108}81643974~
REF}CR}0000267807~
PER}BD}Amy Henderson }TE}419-248-6391~
FOB}CC}DE}12345~
SAC}A}H850}}}32}6}.25}}}}}}}}Tax~
DTM}002}20190120~
TD5}O}2}UPSN}D}UNITED PARCEL SERVICE~
N1}BT}Corner Sales}92}08923235 ~
N3}PO BOX 23507~
N4} HARTFORD}NC}11238~
N1}ST} Corner Sales Plant}92}08923233~
N3}4520 Freddy Rd. ~
N4}Atlanta}GA}39184}US~
PO1}001}12}EA}5.29}PE}IN}05113139040}VN}05113139040}UI}00051131390409~
PID}F}}}}39040 3M LEATHER - VINYL RESTORE 16~
REF}CT}2967231~
DTM}002}20190120~
CTT}1}12~
AMT}TT}63.57~
SE}21}0008~
GE}1}27415~
IEA}1}000027415~
}190108}0935}U}00400}000027415}0}P}{~
GS}PO}001317452TS}006173082T}20190108}0935}27415}X}004010~
ST}850}0008~
BEG}00}NE}4511798331}}20190108}81643974~
REF}CR}0000267807~
PER}BD}Amy Henderson }TE}419-248-6391~
FOB}CC}DE}12345~
SAC}A}H850}}}32}6}.25}}}}}}}}Tax~
DTM}002}20190120~
TD5}O}2}UPSN}D}UNITED PARCEL SERVICE~
N1}BT}Corner Sales}92}08923235 ~
N3}PO BOX 23507~
N4} HARTFORD}NC}11238~
N1}ST} Corner Sales Plant}92}08923233~
N3}4520 Freddy Rd. ~
N4}Atlanta}GA}39184}US~
PO1}001}12}EA}5.29}PE}IN}05113139040}VN}05113139040}UI}00051131390409~
PID}F}}}}39040 3M LEATHER - VINYL RESTORE 16~
REF}CT}2967231~
DTM}002}20190120~
CTT}1}12~
AMT}TT}63.57~
SE}21}0008~
GE}1}27415~
IEA}1}000027415~
Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on this page are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.