Stedi maintains this guide based on public documentation from Global Industrial. Contact Global Industrial 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 Billing Account or Mutually Defined
Max use 1
Optional
REF
050
Reference Identification Customer Order Number
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 Estimated Delivery
Max use 1
Optional
DTM
150
Date/Time Reference Requested Ship
Max use 10
Optional
DTM
150
Date/Time Reference Ship Not Before
Max use 1
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
REF
050
Heading > REF
Reference Identification Billing Account or Mutually Defined
OptionalMax use 1
—
Example
Variants (all may be used)
REFReference Identification Customer Order NumberAt least one of Reference Identification (REF-02) or Description (REF-03) is required
REF
050
Heading > REF
Reference Identification Customer Order Number
OptionalMax use >1
—
Example
Variants (all may be used)
REFReference Identification Billing Account or Mutually DefinedPER
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
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
If either Communication Number Qualifier (PER-07) or Communication Number (PER-08) is present, then the other is required
DTM
150
Heading > DTM
Date/Time Reference Estimated Delivery
OptionalMax use 1
—
Usage notes
—
Example
Variants (all may be used)
DTMDate/Time Reference Requested ShipDTMDate/Time Reference Ship Not BeforeDTM
150
Heading > DTM
Date/Time Reference Requested Ship
OptionalMax use 10
—
Usage notes
—
Example
Variants (all may be used)
DTMDate/Time Reference Estimated DeliveryDTMDate/Time Reference Ship Not BeforeDTM
150
Heading > DTM
Date/Time Reference Ship Not Before
OptionalMax use 1
—
Usage notes
—
Example
Variants (all may be used)
DTMDate/Time Reference Estimated DeliveryDTMDate/Time Reference Requested ShipTD5
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) or Routing (TD5-05) is required
N1 Loop
OptionalMax >1
N1
310
Heading > N1 Loop > 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
—
- BT
- Bill-to-Party
- CN
- Consignee—
- PF
- Party to Receive Freight Bill—
- ST
- Ship To
—
- 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 >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 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
PID Loop
OptionalMax >1
PID
050
Detail > PO1 Loop > PID Loop > PID
Product/Item Description
RequiredMax use 1
—
Example
If Product Description Code (PID-04) is present, then Agency Qualifier Code (PID-03) is required
PID Loop end
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 *240722*2120*U*00401*000000001*0*T*>~
GS*PO*SENDERGS*RECEIVERGS*20240722*212047*000000001*X*004010~
ST*850*0001~
BEG*00*DS*106121**20050926~
REF*CO*3645~
PER*IC*STEPHANIE RAAB*TE*6789696545*EM*stcook@globalindustrial.com~
FOB*PP~
DTM*010*20050930~
TD5**92*AB**ABF FREIGHT TRUCKING~
N1*BT*GLOBAL EQUIPMENT COMPANY*92*176893394GN~
N1*ST*MESSERSMITHMANUFACTURINGINC*92*283386~
N2*VALERIE MESSERSMITH~
N3*2612 F ROAD~
N4*BARK RIVER*MI*49807~
PO1*1*2*EA*106.85**VP*B-78*BP*185282SD~
PID*F*35*AB*214*BOOKCASE SQUARE EDGE~
CTT*1*2~
SE*16*0001~
GE*1*000000001~
IEA*1*000000001~
GS*PO*SENDERGS*RECEIVERGS*20240722*212047*000000001*X*004010~
ST*850*0001~
BEG*00*DS*106121**20050926~
REF*CO*3645~
PER*IC*STEPHANIE RAAB*TE*6789696545*EM*stcook@globalindustrial.com~
FOB*PP~
DTM*010*20050930~
TD5**92*AB**ABF FREIGHT TRUCKING~
N1*BT*GLOBAL EQUIPMENT COMPANY*92*176893394GN~
N1*ST*MESSERSMITHMANUFACTURINGINC*92*283386~
N2*VALERIE MESSERSMITH~
N3*2612 F ROAD~
N4*BARK RIVER*MI*49807~
PO1*1*2*EA*106.85**VP*B-78*BP*185282SD~
PID*F*35*AB*214*BOOKCASE SQUARE EDGE~
CTT*1*2~
SE*16*0001~
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.