Stedi maintains this guide based on public documentation from GSA (General Services Administration). Contact GSA (General Services Administration) for official EDI specifications. To report any errors in this guide, please contact us.
X12 850 Purchase Order 4010 (GSA OMS)
—
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
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
—
- CN
- Consigned Order
- RL
- Release or Delivery Order
REF
050
Heading > REF
Reference Identification
OptionalMax use >1
—
Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
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
—
Usage notes
—
- DE
- Destination (Shipping)
- FV
- Free Alongside Vessel (Free On Board [F.O.B.] Point)
- OR
- Origin (Shipping Point)
PKG
220
Heading > PKG
Marking, Packaging, Loading
OptionalMax use 200
—
Example
If Description (PKG-05) is present, then Item Description Type (PKG-01) is required
If Packaging Description Code (PKG-04) is present, then Agency Qualifier Code (PKG-03) is required
At least one of Packaging Description Code (PKG-04), Description (PKG-05) or Unit Load Option Code (PKG-06) is required
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
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
—
- BY
- Buying Party (Purchaser)
- IC
- Intermediate Consignee
- RC
- Receiving Location
- SE
- Selling Party
- ST
- Ship To
- Z7
- Mark-for Party
—
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
- 10
- Department of Defense Activity Address Code (DODAAC)
- 92
- Assigned by Buyer or Buyer's Agent
REF
350
Heading > N1 Loop > REF
Reference Identification
OptionalMax use 12
—
Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
PER
360
Heading > N1 Loop > PER
Administrative Communications Contact
OptionalMax 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
—
- BD
- Buyer Name or Department
- CN
- General Contact
- SU
- Supplier Contact
N1 Loop end
Heading end
Detail
PO1 Loop
OptionalMax >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
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
If either Product/Service ID Qualifier (PO1-16) or Product/Service ID (PO1-17) is present, then the other is required
If either Product/Service ID Qualifier (PO1-18) or Product/Service ID (PO1-19) is present, then the other is required
If either Product/Service ID Qualifier (PO1-20) or Product/Service ID (PO1-21) is present, then the other is required
If either Product/Service ID Qualifier (PO1-22) or Product/Service ID (PO1-23) is present, then the other is required
If either Product/Service ID Qualifier (PO1-24) or Product/Service ID (PO1-25) is present, then the other is required
—
- CL
- Color
- CN
- Commodity Name
- FS
- National Stock Number
- FT
- Federal Supply Classification
- MF
- Manufacturer
- MG
- Manufacturer's Part Number
- PD
- Part Number Description
- VP
- Vendor's (Seller's) Part Number
CTP Loop
OptionalMax >1
CTP
040
Detail > PO1 Loop > CTP Loop > CTP
Pricing Information
RequiredMax use 1
—
Example
If either Quantity (CTP-04) or Composite Unit of Measure (CTP-05) is present, then the other is required
CTP Loop end
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
At least one of Product Description Code (PID-04) or Description (PID-05) is required
PID Loop end
PO4
090
Detail > PO1 Loop > PO4
Item Physical Details
OptionalMax use >1
—
Example
If either Gross Weight per Pack (PO4-06) or Unit or Basis for Measurement Code (PO4-07) is present, then the other is required
If either Gross Volume per Pack (PO4-08) or Unit or Basis for Measurement Code (PO4-09) is present, then the other is required
REF
100
Detail > PO1 Loop > REF
Reference Identification
OptionalMax use >1
—
Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
—
- 2E
- Foreign Military Sales Case Number
- CO
- Customer Order Number
- IL
- Internal Order Number
- P4
- Project Code
- PH
- Priority Rating
- TG
- Transportation Control Number (TCN)
- TH
- Transportation Account Code (TAC)
- ZZ
- Mutually Defined
PER
110
Detail > PO1 Loop > 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
—
- AA
- Authorized Representative
- IC
- Information Contact
SAC Loop
OptionalMax >1
SAC
130
Detail > PO1 Loop > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Example
If either Agency Qualifier Code (SAC-03) or Agency Service, Promotion, Allowance, or Charge Code (SAC-04) is present, then the other is required
At least one of Service, Promotion, Allowance, or Charge Code (SAC-02) or Agency Qualifier Code (SAC-03) is required
—
- D230
- Freight Surcharge
- F040
- Order-Flat
- F050
- Other (See related description)
- F180
- Pallet
- H650
- Tax - Excise Tax - Origin
SAC Loop end
DTM
210
Detail > PO1 Loop > DTM
Date/Time Reference
OptionalMax use 10
—
Example
If either Date Time Period Format Qualifier (DTM-05) or Date Time Period (DTM-06) is present, then the other is required
At least one of Date (DTM-02), Time (DTM-03) or Date Time Period Format Qualifier (DTM-05) is required
N9 Loop
OptionalMax >1
N9
330
Detail > PO1 Loop > 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
AMT Loop
OptionalMax >1
AMT Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
RequiredMax >1
CTT Loop end
Summary end
EDI Samples
EDI_850_4010_1.txt
ISA*00* *00* *ZZ*SENDERID *ZZ*RECEIVERID *200318*1257*U*00401*000635641*0*T*>~
GS*PO*SENDERID*RECEIVERID*20200318*1257*87224*X*004010~
ST*850*0001~
BEG*00*RL*CONTRACT NUMBER*PO NUMBER*20030118~
FOB*PP*DE*DESTINATION TAILGATE DELIVERY~
PKG*F**DD**MILITARY~
N9*SU*Instructions to Follow~
MSG*ADD*12~
N1*BY*BUYING PARTY~
N3*ADDRESS*ADDRESS LINE~
N3*ADDRESS INFORMATION~
PER*BD*BUYER NAME*EM*BUYER EMAIL*TE*BUYER PHONE NUMBER~
N1*ST*SHIP TO*10*STORE CODE~
N2*ADDTIONAL NAME INFORMATION~
N3*ADDRESS INFORMATION~
N4*CITY*PA*ZIP*US~
N1*Z7*MARK FOR PARTY*10*STORE CODE~
N2*ADDITIONAL NAME INFORMATION~
N3*ADDRESS INFORMATION*ADDRESS INFORMATION~
N3*ADDRESS INFORMATION~
N4*CITY*PA*ZIP*US~
N1*SE*SELLING PARTY*9*DUNS~
N2*DUNS~
N4*CITY*PA*ZIP*US~
PER*SU*SUPPLIER*EM*EMAIL*TE*PHONE NUMBER~
N1*IC*INTERMEDIATE CONSIGNEE~
N3*DLA DEFENSE DIST DEPOT TRACY DEPOT*PHONE NUMBER~
N3*ADDRESS~
N4*CITY*PA*ZIP*US~
PO1*1*1*EA*1.17******FS*NATIONAL STOCK NUMBER*FT*FEDERAL SUPPLY*****PD*PART NUMBER DESCRIPTION~
CTP**GOV*1.02*1*EA~
PID*F****KEY, SOCKET HEAD SCREW SECM P/N: AW028D~
PO4******0.001*LB*0.01*CF~
REF*P4*9GJ~
REF*PH*05~
REF*IL*REQUISITION NUMBER~
REF*TG*TRANSPORTAION CONTROL NUMBER~
REF*TH*TRANSPORTAION ACCOUNT NUMBER~
REF*ZZ*999~
DTM*996*20230101~
N9*SU*TEXT~
MSG*ADD*12~
AMT*1*1.02~
CTT*1*1.02~
AMT*TT*1.02~
SE*44*0001~
GE*1*87224~
IEA*1*000635641~
GS*PO*SENDERID*RECEIVERID*20200318*1257*87224*X*004010~
ST*850*0001~
BEG*00*RL*CONTRACT NUMBER*PO NUMBER*20030118~
FOB*PP*DE*DESTINATION TAILGATE DELIVERY~
PKG*F**DD**MILITARY~
N9*SU*Instructions to Follow~
MSG*ADD*12~
N1*BY*BUYING PARTY~
N3*ADDRESS*ADDRESS LINE~
N3*ADDRESS INFORMATION~
PER*BD*BUYER NAME*EM*BUYER EMAIL*TE*BUYER PHONE NUMBER~
N1*ST*SHIP TO*10*STORE CODE~
N2*ADDTIONAL NAME INFORMATION~
N3*ADDRESS INFORMATION~
N4*CITY*PA*ZIP*US~
N1*Z7*MARK FOR PARTY*10*STORE CODE~
N2*ADDITIONAL NAME INFORMATION~
N3*ADDRESS INFORMATION*ADDRESS INFORMATION~
N3*ADDRESS INFORMATION~
N4*CITY*PA*ZIP*US~
N1*SE*SELLING PARTY*9*DUNS~
N2*DUNS~
N4*CITY*PA*ZIP*US~
PER*SU*SUPPLIER*EM*EMAIL*TE*PHONE NUMBER~
N1*IC*INTERMEDIATE CONSIGNEE~
N3*DLA DEFENSE DIST DEPOT TRACY DEPOT*PHONE NUMBER~
N3*ADDRESS~
N4*CITY*PA*ZIP*US~
PO1*1*1*EA*1.17******FS*NATIONAL STOCK NUMBER*FT*FEDERAL SUPPLY*****PD*PART NUMBER DESCRIPTION~
CTP**GOV*1.02*1*EA~
PID*F****KEY, SOCKET HEAD SCREW SECM P/N: AW028D~
PO4******0.001*LB*0.01*CF~
REF*P4*9GJ~
REF*PH*05~
REF*IL*REQUISITION NUMBER~
REF*TG*TRANSPORTAION CONTROL NUMBER~
REF*TH*TRANSPORTAION ACCOUNT NUMBER~
REF*ZZ*999~
DTM*996*20230101~
N9*SU*TEXT~
MSG*ADD*12~
AMT*1*1.02~
CTT*1*1.02~
AMT*TT*1.02~
SE*44*0001~
GE*1*87224~
IEA*1*000635641~
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.