Stedi maintains this guide based on public documentation from Newegg. Contact Newegg 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
Optional
REF
050
Reference Identification
Max use 1
Optional
FOB
080
F.O.B. Related Instructions
Max use 1
Optional
ITD
130
Terms of Sale/Deferred Terms of Sale
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
—
- BN
- Bill of Materials Order
- DS
- Dropship
- SA
- Stand-alone Order
—
- 11
- Account Number
- 12
- Billing Account—
- 80
- Charge Number—
- BU
- Buyer's Approval Mark—
- CN
- Carrier's Reference Number (PRO/Invoice)
- CO
- Customer Order Number
- EU
- End User's Purchase Order Number
- GK
- Third Party Reference Number—
- IT
- Internal Customer Number—
- SU
- Special Processing Code
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
If Transportation Terms Qualifier Code (FOB-04) is present, then Transportation Terms Code (FOB-05) is required
If Description (FOB-07) is present, then Location Qualifier (FOB-06) is required
If Risk of Loss Code (FOB-08) is present, then Description (FOB-09) is required
—
- BP
- Paid by Buyer
- CC
- Collect
- DF
- Defined by Buyer and Seller
- PC
- Prepaid but Charged to Customer
- PP
- Prepaid (by Seller)
- PU
- Pickup
- TP
- Third Party Pay
—
- DE
- Destination (Shipping)
- OR
- Origin (Shipping Point)
—
- BY
- Risk of Loss in Transit to Destination is Buyer's
- SE
- Risk of Loss in Transit to Destination is Seller's
ITD
130
Heading > ITD
Terms of Sale/Deferred Terms of Sale
OptionalMax use >1
—
Example
If Terms Discount Percent (ITD-03) is present, then at least one of Terms Discount Due Date (ITD-04) or Terms Discount Days Due (ITD-05) is required
—
- 01
- Basic
- 03
- Fixed Date
- 05
- Discount Not Applicable
- 07
- Extended
- 08
- Basic Discount Offered
- 14
- Previously agreed upon
- ZZ
- Mutually Defined
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
—
- 2
- Standard Carrier Alpha Code (SCAC)
- ZZ
- Mutually Defined
—
Usage notes
—
- AIT Front Door Delivery
- AIT Front Door Delivery
- AIT In Home Delivery
- AIT In Home Delivery
- AIT White Glove Service
- AIT White Glove Delivery
- FEDEX EXPRESS SAVER
- FedEx Express Saver
- FEDX 2 DAYS
- FedEx 2 Day
- FEDX STD OVR
- FedEx Standard Overnight
- UPS 2nd Day
- UPS 2nd Day Air
- UPS 3 DAYS
- UPS 3 Day Select
- UPS Ground
- UPS Ground
- UPS Red Next Resi
- UPS Next Day Air Saver
- UPSMI
- UPS Mail Innovations
N9 Loop Letters or Notes
OptionalMax >1
Variants (all may be used)
N9 Loop Mutually DefinedN9 Loop Letters or Notes end
N9 Loop Mutually Defined
OptionalMax 1
Variants (all may be used)
N9 Loop Letters or NotesN9 Loop Mutually Defined end
N1 Loop Bill-to-Party
OptionalMax 1
N1
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
—
- 54
- Warehouse
- 91
- Assigned by Seller or Seller's Agent
- 92
- Assigned by Buyer or Buyer's Agent
- ZZ
- Mutually Defined
PER
360
Heading > N1 Loop Bill-to-Party > PER
Administrative Communications Contact
RequiredMax use >1
—
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
N1 Loop Bill-to-Party end
N1 Loop Ship From
OptionalMax >1
N1
310
Heading > N1 Loop Ship From > 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
—
- 54
- Warehouse
- 91
- Assigned by Seller or Seller's Agent
- 92
- Assigned by Buyer or Buyer's Agent
- ZZ
- Mutually Defined
PER
360
Heading > N1 Loop Ship From > PER
Administrative Communications Contact
RequiredMax use >1
—
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
N1 Loop Ship From end
N1 Loop Ship To
OptionalMax 1
N1
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
—
- 54
- Warehouse
- 91
- Assigned by Seller or Seller's Agent
- 92
- Assigned by Buyer or Buyer's Agent
- ZZ
- Mutually Defined
PER
360
Heading > N1 Loop Ship To > PER
Administrative Communications Contact
RequiredMax use >1
—
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
N1 Loop Ship To end
Heading end
Detail
PO1 Loop
RequiredMax >1
PO1
010
Detail > PO1 Loop > PO1
Baseline Item Data
RequiredMax use 1
—
Usage notes
—
Example
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
If either Product/Service ID Qualifier (PO1-14) or Product/Service ID (PO1-15) is present, then the other is required
—
- BP
- Buyer's Part Number
- MG
- Manufacturer's Part Number
- MN
- Model Number (Stock PO Vendor Optional)
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
—
- BP
- Buyer's Part Number
- MG
- Manufacturer's Part Number
- MN
- Model Number (Stock PO Vendor Optional)
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
—
- BP
- Buyer's Part Number
- MG
- Manufacturer's Part Number
- MN
- Model Number (Stock PO Vendor Optional)
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
—
- BP
- Buyer's Part Number
- MG
- Manufacturer's Part Number
- MN
- Model Number (Stock PO Vendor Optional)
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
PID Loop
OptionalMax >1
PID 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 *240428*1834*U*00401*000000001*0*T*>~
GS*PO*SENDERGS*RECEIVERGS*20240428*183414*000000001*X*004010~
ST*850*0967~
BEG*00*DS*2093518**20090717~
CUR*BY*USD~
REF*CO*AC-156895~
REF*BU*NE~
REF*SU*HAL*Fedex Hold at Location~
REF*SU*SR*SignatureRequired~
ITD*14*3****20090816*30~
TD5*****UPS Ground~
N9*L1*ADDITIONAL COMMENTS~
MSG*Username: Andrew; Password: asdf~
N9*L1*SPECIAL INSTRUCTIONS~
MSG*GOVT. EDUC. PRICING~
N1*ST*TN Warehouse(06)~
N2*02~
N3*4995 Citation Dr Suite 102,Dock#13-20~
N4*Memphis*TN*38118*US~
PER*RE*Contact Guy*EM*ContactGuy@newegg.com*TE*626-271-1420~
PO1*1*5*EA*163.02*PE*VP*010-00270-02*UP*753759031961*MG*010-00270-02*BP*28-483-001~
PID*F*08***Garmin Rino FRS/GPS Receiver Handhe~
PO1*2*2*EA*117.93*PE*VP*010-00361-00*MG*010-00361-00*UP*753759045302*BP*28-483-002~
PID*F*08***GARMIN 010-00361-00 FORETREX 201~
PO1*3*10*EA*138.74*PE*VP*010-00378-00*MG*010-00378-00*UP*753759047832*BP*28-483-003~
PID*F*08***Garmin GPS 10 Deluxe with Bluetooth~
REF*SU*DV*DeclaredValue~
REF*SU*SR*SignatureRequired~
CTT*3*17~
SE*28*0967~
GE*1*000000001~
IEA*1*000000001~
GS*PO*SENDERGS*RECEIVERGS*20240428*183414*000000001*X*004010~
ST*850*0967~
BEG*00*DS*2093518**20090717~
CUR*BY*USD~
REF*CO*AC-156895~
REF*BU*NE~
REF*SU*HAL*Fedex Hold at Location~
REF*SU*SR*SignatureRequired~
ITD*14*3****20090816*30~
TD5*****UPS Ground~
N9*L1*ADDITIONAL COMMENTS~
MSG*Username: Andrew; Password: asdf~
N9*L1*SPECIAL INSTRUCTIONS~
MSG*GOVT. EDUC. PRICING~
N1*ST*TN Warehouse(06)~
N2*02~
N3*4995 Citation Dr Suite 102,Dock#13-20~
N4*Memphis*TN*38118*US~
PER*RE*Contact Guy*EM*ContactGuy@newegg.com*TE*626-271-1420~
PO1*1*5*EA*163.02*PE*VP*010-00270-02*UP*753759031961*MG*010-00270-02*BP*28-483-001~
PID*F*08***Garmin Rino FRS/GPS Receiver Handhe~
PO1*2*2*EA*117.93*PE*VP*010-00361-00*MG*010-00361-00*UP*753759045302*BP*28-483-002~
PID*F*08***GARMIN 010-00361-00 FORETREX 201~
PO1*3*10*EA*138.74*PE*VP*010-00378-00*MG*010-00378-00*UP*753759047832*BP*28-483-003~
PID*F*08***Garmin GPS 10 Deluxe with Bluetooth~
REF*SU*DV*DeclaredValue~
REF*SU*SR*SignatureRequired~
CTT*3*17~
SE*28*0967~
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.