Stedi maintains this guide based on public documentation from Corcentric. Contact Corcentric 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
CUR
040
Currency
Max use 1
Required
REF
050
Reference Identification
Max use 1
Required
PER
060
Administrative Communications Contact
Max use 3
Optional
DTM
150
Date/Time Reference
Max use 10
Required
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
—
- 00
- Original
- 01
- Cancellation
- 04
- Change
- 17
- Cancel, to be reissued
- 18
- Reissue
—
- BK
- Blanket Order
- CN
- Consigned order
- CO
- Catalog Order
- CP
- Change to Purchase Order
- DR
- Direct Ship
- DS
- Drop Ship
- EO
- Emergency Order
- NE
- New Order
- OS
- Special 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
TD5
240
Heading > TD5
Carrier Details (Routing Sequence/Transit Time)
OptionalMax use 12
—
Example
If Identification Code Qualifier (TD5-02) is present, then Identification Code (TD5-03) is required
—
- A
- Air
- AE
- Air Express
- H
- Customer Pickup
- LT
- Less Than Trailer Load (LTL)
- M
- Motor (Common Carrier)
- SR
- Supplier Truck
- T
- Best Way (Shipper's Option)
- U
- Private Parcel Service
N1 Loop Bill-to-Party
RequiredMax 1
—
- 01
- DUNS Number
- 91
- Seller Assigned Number
- 92
- Buyer Assigned Number
- ZZ
- Mutually Defined Number
N1 Loop Bill-to-Party end
N1 Loop Ship To
RequiredMax 1
—
- 01
- DUNS Number
- 91
- Seller Assigned Number
- 92
- Buyer Assigned Number
- ZZ
- Mutually Defined Number
N1 Loop Ship To end
N1 Loop Vendor
RequiredMax 1
—
- 01
- DUNS Number
- 91
- Seller Assigned Number
- 92
- Buyer Assigned Number
- ZZ
- Mutually Defined Number
N1 Loop Vendor end
Heading end
Detail
PO1 Loop
RequiredMax >1
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-08) or Product/Service ID (PO1-09) is present, then the other is required
—
- 17
- 100 pound drum
- 18
- 55 gallon drum
- BG
- Bag
- BK
- Book
- BX
- Box
- CA
- Case
- CG
- Card
- CT
- Carton
- CX
- Coil
- DZ
- Dozen
- EA
- Each
- FT
- Foot
- GA
- Gallon
- GS
- Gross
- HU
- Hundred
- KG
- Kilogram
- KT
- Kit
- LB
- Pound
- MR
- Meter
- NT
- Trailer
- PC
- Piece
- PK
- Package
- PL
- pallet
- RD
- Rod (length=5.5 yards)
- RE
- Reel
- RL
- Roll
- SH
- Sheet
- SO
- Spool
- TH
- Thousand
- ZZ
- Mutually Defined
—
- VN
- Vendor's (Seller's) Item Number
- VP
- Vendor's (Seller's) Part Number
PID Loop
RequiredMax >1
PID Loop end
SAC Loop
OptionalMax >1
SAC
130
Detail > PO1 Loop > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Example
If either Unit or Basis for Measurement Code (SAC-09) or Quantity (SAC-10) is present, then the other is required
SAC Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
RequiredMax >1
CTT Loop end
Summary end
EDI Samples
Sample 1
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231209*0514*U*00401*000000001*0*T*>~
GS*PO*SENDERGS*RECEIVERGS*20231209*051435*000000001*X*004010~
ST*850*1111~
BEG*00*SA*BA-1234**20120316~
CUR*BY*USD~
REF*ZZ**SHIP OR CANCEL~
PER*ZZ*NAME*EM*PERSON@EMAIL.COM~
DTM*010*20120320~
TD5**2*FDEX*M*FED EX*BO*****11~
N1*BT*DISTRIBUTORNAME*92*12345678~
N3*123 MAIN STREET*SUITE 200~
N4*ANYTOWN*FL*12345*USA~
N1*ST*SHIPTONAME*92*1234~
N3*123 OAK STREET*DOCK 10~
N4*ANYTOWN*NY*12345*USA~
N1*VN*VENDORNAME*92*87654321~
N3*123 ELM STREET~
N4*ANYTOWN*MS*12345*USA~
PO1*1*23.0000*EA*4.9000*UM*BP*XX234563*VP*234563~
PID*F****IMPORT POWER STEERING PUMP~
CTT*1*1~
SE*20*1111~
GE*1*000000001~
IEA*1*000000001~
GS*PO*SENDERGS*RECEIVERGS*20231209*051435*000000001*X*004010~
ST*850*1111~
BEG*00*SA*BA-1234**20120316~
CUR*BY*USD~
REF*ZZ**SHIP OR CANCEL~
PER*ZZ*NAME*EM*PERSON@EMAIL.COM~
DTM*010*20120320~
TD5**2*FDEX*M*FED EX*BO*****11~
N1*BT*DISTRIBUTORNAME*92*12345678~
N3*123 MAIN STREET*SUITE 200~
N4*ANYTOWN*FL*12345*USA~
N1*ST*SHIPTONAME*92*1234~
N3*123 OAK STREET*DOCK 10~
N4*ANYTOWN*NY*12345*USA~
N1*VN*VENDORNAME*92*87654321~
N3*123 ELM STREET~
N4*ANYTOWN*MS*12345*USA~
PO1*1*23.0000*EA*4.9000*UM*BP*XX234563*VP*234563~
PID*F****IMPORT POWER STEERING PUMP~
CTT*1*1~
SE*20*1111~
GE*1*000000001~
IEA*1*000000001~
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.