
X12 850 MES Inc. - 850 - Purchase Order - 5010
X12 Release 5010Revised
Jul 15, 1:22 PM
—
Delimiters
- ~ Segment
- * Element
- > Component
- ^ Repetition
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
0100
Transaction Set Header
Max use 1
Required
BEG
0200
Beginning Segment for Purchase Order
Max use 1
Required
REF
0500
Reference Information - Customer Order
Max use 1
Optional
PER
0600
Administrative Communications Contact
Max use 1
Optional
FOB
0800
F.O.B. Related Instructions
Max use 1
Optional
DTM
1500
Date/Time Reference
Max use 10
Optional
TD5
2400
Carrier Details (Routing Sequence/Transit Time)
Max use 1
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)
—
- 00501
- Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003
—
- 0
- No Interchange Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested (TA1)
—
- I
- Information
- P
- Production Data
- T
- Test Data
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
—
- DS
- Dropship
- NE
- New Order
- SA
- Stand-alone Order
- SS
- Supply or Service Order
PER
0600
Heading > PER
Administrative Communications Contact
OptionalMax use 1
—
Example
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-03) or Communication Number (PER-04) is present, then the other is required
FOB
0800
Heading > FOB
F.O.B. Related Instructions
OptionalMax use >1
—
Example
If Description (FOB-03) is present, then Location Qualifier (FOB-02) is required
—
- BP
- Paid by Buyer
- CF
- Collect, Freight Credited Back to Customer
- CN
- Cost and Freight
- DE
- Per Contract
- PC
- Prepaid but Charged to Customer
- PP
- Prepaid (by Seller)
—
- DE
- Destination (Shipping)
- OR
- Origin (Shipping Point)
SAC Loop
OptionalMax >1
SAC
1200
Heading > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Example
If either Allowance/Charge Percent Qualifier (SAC-06) or Percent, Decimal Format (SAC-07) is present, then the other is required
—
- C310
- Discount
- D240
- Freight
- F050
- Other (See related description)
- ZZZZ
- Mutually Defined
—
- 3
- Discount/Gross
- 4
- Discount/Net
- 6
- Base Price Amount
SAC Loop end
TD5
2400
Heading > TD5
Carrier Details (Routing Sequence/Transit Time)
OptionalMax use >1
—
Example
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
—
- 7
- A
- Air
- AE
- Air Express
- D
- Parcel Post
- L
- Contract Carrier
- P
- Private Carrier
N9 Loop
OptionalMax >1
N9 Loop end
N1 Loop
RequiredMax 1
N1
3100
Heading > N1 Loop > N1
Party Identification
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
0100
Detail > PO1 Loop > PO1
Baseline Item Data
RequiredMax use 1
—
Example
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-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
—
- BP
- Buyer's Part Number
- UP
- UCC - 12
- VC
- Vendor's (Seller's) Catalog Number
- VP
- Vendor's (Seller's) Part Number
- ZZ
- Mutually Defined
—
- BP
- Buyer's Part Number
- UP
- UCC - 12
- VC
- Vendor's (Seller's) Catalog Number
- VP
- Vendor's (Seller's) Part Number
PID Loop
OptionalMax >1
PID Loop end
SCH Loop
OptionalMax >1
SCH Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
RequiredMax >1
CTT Loop end
Summary end
EDI Samples
850 Sample
ISA*00* *00* *01*048167923 *01*XXXXXXXXX *240611*1225*^*00501*000000562*0*P*>~
GS*PO*048167923*XXXXXXXXX*20240611*122523*000000562*X*005010~
ST*850*0001~
BEG*00*DS*PO1579217*2024-06-10*20240610~
REF*CO*PO1579217~
PER*OC*XXXXXX, XXXXXX*EM*XXXXXXX@mesfire.com*TE*XXXXXXXXX~
DTM*002*20240610~
N9*L1**Message~
MTX** SHIP COMPLETE Sourcing Contact XXXXXX XXXXX 330 774 0768 XXXXXXXX@mesfire.com~
N1*ST*XXXXX Fire Department (CT)~
N2*XXXXX Fire Department (CT)~
N3*XX XXXX Ave~
N4*XXXXX*CT*06340*US~
PO1*1*4*EA*125.09**VP*91830~
CTT*1~
AMT*TT*500.36~
SE*15*0001~
GE*1*000000562~
IEA*1*000000562~
GS*PO*048167923*XXXXXXXXX*20240611*122523*000000562*X*005010~
ST*850*0001~
BEG*00*DS*PO1579217*2024-06-10*20240610~
REF*CO*PO1579217~
PER*OC*XXXXXX, XXXXXX*EM*XXXXXXX@mesfire.com*TE*XXXXXXXXX~
DTM*002*20240610~
N9*L1**Message~
MTX** SHIP COMPLETE Sourcing Contact XXXXXX XXXXX 330 774 0768 XXXXXXXX@mesfire.com~
N1*ST*XXXXX Fire Department (CT)~
N2*XXXXX Fire Department (CT)~
N3*XX XXXX Ave~
N4*XXXXX*CT*06340*US~
PO1*1*4*EA*125.09**VP*91830~
CTT*1~
AMT*TT*500.36~
SE*15*0001~
GE*1*000000562~
IEA*1*000000562~
Auto Sample
ST*850*0001~
BEG*00*SS*XX*X*20231207*X~
REF*IA*XXXXX~
PER*OC*XXX*EM*flast@example.com*TE*5553332222~
FOB*CF*DE*XXXXX~
SAC*C*D240**X*00*3*0000********XXXXXX~
DTM*063*20231206~
TD5*O*2*XXXXXX*A*XX~
N9*L1~
MTX**XXXX~
N1*ST*X*92*DROPSHIP CUSTOMER~
N2*XXXXX~
N3*XX*XXXXXX~
N4*XXXXXXX*XX*XXX*US~
PO1*XXXXXX*0000000000000*EA*00000000000**VC*X*UP*XXXX*SK*XX~
PID*F****XXXXX~
REF*CR*X~
DTM*166*20231202~
MTX**X~
SCH*00000*EA***166*20231202~
CTT*000000~
AMT*TT*0000~
SE*23*0001~
BEG*00*SS*XX*X*20231207*X~
REF*IA*XXXXX~
PER*OC*XXX*EM*flast@example.com*TE*5553332222~
FOB*CF*DE*XXXXX~
SAC*C*D240**X*00*3*0000********XXXXXX~
DTM*063*20231206~
TD5*O*2*XXXXXX*A*XX~
N9*L1~
MTX**XXXX~
N1*ST*X*92*DROPSHIP CUSTOMER~
N2*XXXXX~
N3*XX*XXXXXX~
N4*XXXXXXX*XX*XXX*US~
PO1*XXXXXX*0000000000000*EA*00000000000**VC*X*UP*XXXX*SK*XX~
PID*F****XXXXX~
REF*CR*X~
DTM*166*20231202~
MTX**X~
SCH*00000*EA***166*20231202~
CTT*000000~
AMT*TT*0000~
SE*23*0001~
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.