Stedi maintains this guide based on public documentation from Lehigh Outfitters. Contact Lehigh Outfitters 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
TD4
260
Carrier Details (Special Handling, or Hazardous Materials, or Both)
Max use 5
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
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
- PA
- Advance Prepaid
- PB
- Customer Pick-up/Backhaul
- PC
- Prepaid but Charged to Customer
- PP
- Prepaid (by Seller)
- TP
- Third Party Pay
—
- CI
- City
- DE
- Destination (Shipping)
- FA
- Factory
- MI
- Mill
- OR
- Origin (Shipping Point)
- PL
- Plant
- RG
- Region Code—
- TL
- Terminal Cargo Location
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
At least one of Identification Code Qualifier (TD5-02), Transportation Method/Type Code (TD5-04), Routing (TD5-05) or Service Level Code (TD5-12) is required
If Service Level Code (TD5-13) is present, then Service Level Code (TD5-12) is required
—
Usage notes
—
- FE2
- FedEx 2 Day Air
- FEDG
- FedEx Ground
- FEH
- FedEx Home
- FSP
- FedEx Air
- PM
- Priority Mail
- SMPG
- FedEx SmartPost
—
- A
- Air
- AF
- Air Freight
- B
- Barge
- BP
- Book Postal
- C
- Consolidation
- D
- Parcel Post
- E
- Expedited Truck
- FL
- Motor (Flatbed)
- H
- Customer Pickup
- I
- Common Irregular Carrier
- L
- Contract Carrier
- LT
- Less Than Trailer Load (LTL)
- M
- Motor (Common Carrier)
- O
- Containerized Ocean
- P
- Private Carrier
- Q
- Conventional Ocean
- R
- Rail
- S
- Ocean
- SE
- Sea/Air
- T
- Best Way (Shippers Option)
- U
- Private Parcel Service
- X
- Intermodal (Piggyback)
- ZZ
- Mutually defined
TD4
260
Heading > TD4
Carrier Details (Special Handling, or Hazardous Materials, or Both)
OptionalMax use 5
—
Example
N9 Loop
OptionalMax >1
N9
295
Heading > N9 Loop > N9
Reference Identification
RequiredMax use 1
—
Example
At least one of Reference Identification (N9-02) or Free-form Description (N9-03) is required
N9 Loop end
N1 Loop Bill-to-Party
OptionalMax >1
Variants (all may be used)
N1 Loop Ship ToN1
310
Heading > N1 Loop Bill-to-Party > N1
Name
RequiredMax use 1
—
Example
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
N1 Loop Bill-to-Party end
N1 Loop Ship To
OptionalMax 1
Variants (all may be used)
N1 Loop Bill-to-PartyN1
310
Heading > N1 Loop Ship To > N1
Name
RequiredMax use 1
—
Example
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
N1 Loop Ship To end
Heading end
Detail
PO1 Loop
RequiredMax >1
PO1
010
Detail > PO1 Loop > PO1
Baseline Item Data
RequiredMax use 1
—
Example
If Unit or Basis for Measurement Code (PO1-03) is present, then Quantity Ordered (PO1-02) is required
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
—
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
PO1 Loop end
Detail end
Summary
CTT Loop
OptionalMax >1
CTT Loop end
Summary end
EDI Samples
Sample 1
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *240517*0154*U*00401*000000001*0*T*>~
GS*PO*SENDERGS*RECEIVERGS*20240517*015428*000000001*X*004010~
ST*850*000000001~
BEG*00*SA*I224356**20150725~
REF*PO*I224318~
REF*CO*Any Name~
REF*CR*I224356~
PER*SA*NICKOLE TOLLIVER~
PER*SA*740-753-9100 2065~
PER*SA*NICKOLE.TOLLIVER@ROCKYBRANDS.CCOM~
DTM*004*20150725~
DTM*010*20150811~
DTM*002*20150811~
TD5**2*SMPG*U*FEDEX SMARTPOST*******ZZ*Y~
N9*ZZ*PO MESSAGES AND TEXT*PO INSTRUCTIONS~
MSG*MARK CASES/Any Name~
MSG*PO NUMBER/Any Name~
MSG*Rocky Brands, Inc. is a federal contractor. This contractor and~
MSG*subcontractor shall abide by the requirements of 41 C.F.R. §§~
MSG*60-1.4(a), 60-300.5(a), and 41 C.F.R. § 60-741.5(a) and 29 CFR Section~
MSG*Part 471, Appendix A to Subpart A, if applicable. These regulations~
MSG*prohibit discrimination against qualified individuals based on their~
MSG*status as protected veterans or individuals with disabilities, and~
MSG*prohibit discrimination against all individuals based on their race, ~
MSG*color, religion, sex, sexual orientation, gender identity, or national~
MSG*origin. Moreover, these regulations require that covered prime~
MSG*contractors and subcontractors take affirmative action to employ and~
MSG*advance in employment individuals without regard to race, color, ~
MSG*religion, sex, sexual orientation, gender identity, national origin, ~
MSG*protected veteran status, or disability. This contractor and~
MSG*subcontractor incorporate by reference the requirements of 29 CFR Part~
MSG*471, Appendix A to Subpart A, where applicable. ~
N1*BT*Rocky Brands, Inc~
N3*39 East Canal Street~
N4*Nelsonville*OH*45764~
N1*ST*Any Name*ZZ*99999~
N3*90 HEIGHTS~
N4*MUNFORD*TN*38058~
PO1*1*1*EA*54.63**UP*883985370401*ST*14182201*SK*14182201 0 100~
CTT*1~
SE*39*000000001~
GE*1*000000001~
IEA*1*000000001~
GS*PO*SENDERGS*RECEIVERGS*20240517*015428*000000001*X*004010~
ST*850*000000001~
BEG*00*SA*I224356**20150725~
REF*PO*I224318~
REF*CO*Any Name~
REF*CR*I224356~
PER*SA*NICKOLE TOLLIVER~
PER*SA*740-753-9100 2065~
PER*SA*NICKOLE.TOLLIVER@ROCKYBRANDS.CCOM~
DTM*004*20150725~
DTM*010*20150811~
DTM*002*20150811~
TD5**2*SMPG*U*FEDEX SMARTPOST*******ZZ*Y~
N9*ZZ*PO MESSAGES AND TEXT*PO INSTRUCTIONS~
MSG*MARK CASES/Any Name~
MSG*PO NUMBER/Any Name~
MSG*Rocky Brands, Inc. is a federal contractor. This contractor and~
MSG*subcontractor shall abide by the requirements of 41 C.F.R. §§~
MSG*60-1.4(a), 60-300.5(a), and 41 C.F.R. § 60-741.5(a) and 29 CFR Section~
MSG*Part 471, Appendix A to Subpart A, if applicable. These regulations~
MSG*prohibit discrimination against qualified individuals based on their~
MSG*status as protected veterans or individuals with disabilities, and~
MSG*prohibit discrimination against all individuals based on their race, ~
MSG*color, religion, sex, sexual orientation, gender identity, or national~
MSG*origin. Moreover, these regulations require that covered prime~
MSG*contractors and subcontractors take affirmative action to employ and~
MSG*advance in employment individuals without regard to race, color, ~
MSG*religion, sex, sexual orientation, gender identity, national origin, ~
MSG*protected veteran status, or disability. This contractor and~
MSG*subcontractor incorporate by reference the requirements of 29 CFR Part~
MSG*471, Appendix A to Subpart A, where applicable. ~
N1*BT*Rocky Brands, Inc~
N3*39 East Canal Street~
N4*Nelsonville*OH*45764~
N1*ST*Any Name*ZZ*99999~
N3*90 HEIGHTS~
N4*MUNFORD*TN*38058~
PO1*1*1*EA*54.63**UP*883985370401*ST*14182201*SK*14182201 0 100~
CTT*1~
SE*39*000000001~
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.