Stedi maintains this guide based on public documentation from Motor State Distributing. Contact Motor State Distributing 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
Required
PER
060
Administrative Communications Contact
Max use 3
Optional
FOB
080
F.O.B. Related Instructions
Max use 1
Optional
CSH
110
Sales Requirements
Max use 5
Required
ITD
130
Terms of Sale/Deferred Terms of Sale
Max use 1
Optional
DTM
150
Date/Time Reference Delivery Requested
Max use 10
Required
DTM
150
Date/Time Reference Requested Ship
Max use 1
Required
TD5
240
Carrier Details (Routing Sequence/Transit Time)
Max use 12
Required
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
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
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 Delivery Requested
RequiredMax use 10
—
Example
Variants (all may be used)
DTMDate/Time Reference Requested ShipDTM
150
Heading > DTM
Date/Time Reference Requested Ship
RequiredMax use 1
—
Example
Variants (all may be used)
DTMDate/Time Reference Delivery RequestedTD5
240
Heading > TD5
Carrier Details (Routing Sequence/Transit Time)
RequiredMax use 12
—
Usage notes
—
Example
If Identification Code Qualifier (TD5-02) is present, then Identification Code (TD5-03) is required
—
Usage notes
—
- BESTWAY
- Bestway
- FEDEX 2ND DAY
- FedEx 2nd Day
- FEDEX GROUND
- FedEx Ground
- FEDEX NEXT DAY
- FedEx Next Day
- FEDEX SAT
- FedEx Sat
- PICKUP
- Pickup
- PREPAID
- Prepaid
- UPS 2ND DAY
- UPS 2nd Day
- UPS 3RD DAY
- UPS 3rd Day
- UPS GROUND
- UPS Ground
- UPS NEXT DAY AIR
- UPS Next Day Air
- UPS SATURDAY
- UPS Saturday
—
- ECHO LOGISTICS
- Echo Logistics—
- FEDEX 2 DAY
- FedEx 2 Day—
- FEDEX GROUND
- FedEx Ground—
- FEDEX Priority Saturday Delivery
- FedEx Priority
Saturday Delivery—
- FEDEX Standard Overnight
- FedEx Standard Overnight—
- PICKUP
- Pickup—
- PREPAID
- Prepaid—
- UPS BLUE LABEL SECOND DAY AIR
- UPS Blue Label Second Day Air—
- UPS GROUND
- UPS Ground—
- UPS ORANGE LABEL THIRD DAY AIR
- UPS Orange Label Third Day Air—
- UPS RED LABEL NEXT DAY AIR
- UPS Red Label Next Day Air—
- UPS RED NEXT AIR SATURDAY DELIVERY
- UPS Red Next Air Saturday Delivery—
N9 Loop
OptionalMax >1
N9 Loop end
N1 Loop
RequiredMax >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
N1 Loop end
Heading end
Detail
PO1 Loop
RequiredMax >1
PO1
010
Detail > PO1 Loop > PO1
Baseline Item Data
RequiredMax use 1
—
Example
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-10) or Product/Service ID (PO1-11) is present, then the other is required
—
- CS
- Case
- EA
- Each
- FT
- Foot
- GA
- Gallon
- HR
- Hour
- IN
- Inch
- PR
- Pair
- QT
- Quart
—
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
PID Loop
RequiredMax >1
PID Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
RequiredMax >1
CTT Loop end
Summary end
EDI Samples
Drop Ship Sample
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *240427*1914*U*00401*000000001*0*T*>~
GS*PO*SENDERGS*RECEIVERGS*20240427*191456*000000001*X*004010~
ST*850*30001~
BEG*00*DS*888888**20170616~
REF*VR*9999-DS Buyer~
PER*IC*DropShip Buyer*TE*111-111-111*FX*999-999-9999*EM*dbuyer@motorstate.com~
CSH*Y~
ITD************2%X15TH/25TH~
DTM*002*20170702~
DTM*010*20170616~
TD5*Z*ZZ*PREPAID**PREPAID~
N9*ZZ*NOTES~
MSG*PLEASE CONFIRM PO!!!!~
MSG*ATTENTION VENDOR! ORDER MEETS PREPAID FREIGHT ALLOWANCE!~
N1*VN*VENDORNAME*92*9999~
N1*ST*DIRECT BUYER NAME~
N3*2 PEARL DRIVE~
N4*ANYCITY*MI*49099~
N1*BT*MOTOR STATE DISTRIBUTING~
N3*8300 LANE DRIVE~
N4*WATERVLIET*MI*49098~
PO1*1*1*EA*65.91*PE*BP*ZZZ1168*VP*1168~
PID*F****CONVERSION KIT~
CTT*1*1~
SE*23*30001~
GE*1*000000001~
IEA*1*000000001~
GS*PO*SENDERGS*RECEIVERGS*20240427*191456*000000001*X*004010~
ST*850*30001~
BEG*00*DS*888888**20170616~
REF*VR*9999-DS Buyer~
PER*IC*DropShip Buyer*TE*111-111-111*FX*999-999-9999*EM*dbuyer@motorstate.com~
CSH*Y~
ITD************2%X15TH/25TH~
DTM*002*20170702~
DTM*010*20170616~
TD5*Z*ZZ*PREPAID**PREPAID~
N9*ZZ*NOTES~
MSG*PLEASE CONFIRM PO!!!!~
MSG*ATTENTION VENDOR! ORDER MEETS PREPAID FREIGHT ALLOWANCE!~
N1*VN*VENDORNAME*92*9999~
N1*ST*DIRECT BUYER NAME~
N3*2 PEARL DRIVE~
N4*ANYCITY*MI*49099~
N1*BT*MOTOR STATE DISTRIBUTING~
N3*8300 LANE DRIVE~
N4*WATERVLIET*MI*49098~
PO1*1*1*EA*65.91*PE*BP*ZZZ1168*VP*1168~
PID*F****CONVERSION KIT~
CTT*1*1~
SE*23*30001~
GE*1*000000001~
IEA*1*000000001~
Stock Order Sample
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *240427*1912*U*00401*000000001*0*T*>~
GS*PO*SENDERGS*RECEIVERGS*20240427*191205*000000001*X*004010~
ST*850*40001~
BEG*00*SA*953182**20170616~
REF*VR*9999-BUYER~
PER*IC*STOCK BUYER*TE*999-999-9999*FX*111-111-0111*EM*sbuyer@motorstate.com~
CSH*Y~
ITD************2%X15TH/25TH~
DTM*002*20170703~
DTM*010*20170616~
TD5*Z*ZZ*PREPAID**PREPAID~
N9*ZZ*NOTES~
MSG*PLEASE CONFIRM PO!!!!~
MSG*ATTENTION VENDOR! ORDER MEETS PREPAID FREIGHT ALLOWANCE!~
N1*VN*VENDOR NAME*92*9999~
N1*ST*MOTOR STATE DISTRIBUTING*92*MAIN~
N3*8300 LANE DRIVE~
N4*WATERVLIET*MI*49098~
N1*BT*MOTOR STATE DISTRIBUTING~
N3*8300 LANE DRIVE~
N4*WATERVLIET*MI*49098~
PO1*1*2*EA*65.91*PE*BP*ZZZ1168*VP*1168LS~
PID*F****CONVERSION KIT~
PO1*2*6*EA*27.48*PE*BP*ABC740111*VP*740111~
PID*F****FLAME-THROWER COIL~
PO1*3*10*EA*36.01*PE*BP*ZMZ80828*VP*80828~
PID*F****WIRE SET - BLACK~
CTT*3*18~
SE*27*40001~
GE*1*000000001~
IEA*1*000000001~
GS*PO*SENDERGS*RECEIVERGS*20240427*191205*000000001*X*004010~
ST*850*40001~
BEG*00*SA*953182**20170616~
REF*VR*9999-BUYER~
PER*IC*STOCK BUYER*TE*999-999-9999*FX*111-111-0111*EM*sbuyer@motorstate.com~
CSH*Y~
ITD************2%X15TH/25TH~
DTM*002*20170703~
DTM*010*20170616~
TD5*Z*ZZ*PREPAID**PREPAID~
N9*ZZ*NOTES~
MSG*PLEASE CONFIRM PO!!!!~
MSG*ATTENTION VENDOR! ORDER MEETS PREPAID FREIGHT ALLOWANCE!~
N1*VN*VENDOR NAME*92*9999~
N1*ST*MOTOR STATE DISTRIBUTING*92*MAIN~
N3*8300 LANE DRIVE~
N4*WATERVLIET*MI*49098~
N1*BT*MOTOR STATE DISTRIBUTING~
N3*8300 LANE DRIVE~
N4*WATERVLIET*MI*49098~
PO1*1*2*EA*65.91*PE*BP*ZZZ1168*VP*1168LS~
PID*F****CONVERSION KIT~
PO1*2*6*EA*27.48*PE*BP*ABC740111*VP*740111~
PID*F****FLAME-THROWER COIL~
PO1*3*10*EA*36.01*PE*BP*ZMZ80828*VP*80828~
PID*F****WIRE SET - BLACK~
CTT*3*18~
SE*27*40001~
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.