Stedi maintains this guide based on public documentation from CDW. Contact CDW 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
Optional
PER
060
Administrative Communications Contact
Max use 1
Optional
TAX
070
Tax Reference
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
DTM
150
Date/Time Reference
Max use 2
Required
TD5
240
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)
—
- 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
—
- DS
- Dropship
- NE
- New Order
- RL
- Release or Delivery Order
- RN
- Renewal Order
- SA
- Stand-alone Order
- TM
- Time & Materials
—
- 12
- Billing Account (Flooring Account Number)
- AH
- License Authorization Number
- BB
- Manufacturer Authorization Number
- BD
- Bid Request Number
- CT
- Contract Number
- EU
- CDW customer‟s purchase order number
- GC
- Bid Contract Number
- IA
- Internal Vendor Number
- PO
- CDW purchase order number
PER
060
Heading > 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
- IC
- Information Contact
—
- 0
- Exempt (For Export)
- 1
- Yes (Tax Exempt)
- 2
- No (Not Tax Exempt)
- 3
- Exempt (For Resale)
- 4
- Not Exempt/For Resale
- 5
- Exempt (Not For Resale)
- 6
- Not Exempt, Not For Resale
- 7
- Direct Pay ID
- 8
- Exempt (Sale to U.S. Government)
- 9
- Exempt (Per State Law)
- A
- Labor Taxable, Material Exempt
- B
- Material Taxable, Labor Exempt
- C
- Not Taxable
- V
- Exempt from State Property Tax
- W
- Other Property Tax Exemption
- X
- Exempt - Letter on file
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
—
- BP
- Paid by Buyer
- CA
- Advance Collect
- CC
- Collect
- MX
- Mixed
- PA
- Advance Prepaid
- PC
- Prepaid but Charged to Customer
- PP
- Prepaid (by Seller)
- PS
- Paid by Supplier/Vendor
- TP
- Third Party Pay
—
- DE
- Destination (Shipping)
- OR
- Origin (Shipping Point)
N1 Loop Rest All
RequiredMax 200
Variants (all may be used)
N1 Loop Ship ToN1
310
Heading > N1 Loop Rest All > 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
—
- BS
- Bill To / Ship To
- BT
- Bill To (if other than Ship To)
- EN
- End User
- VN
- Vendor
—
- 1
- D-U-N-S Number, Dun & Bradstreet
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
- 91
- Assigned by Seller or Seller's Agent
- 92
- Assigned by Buyer or Buyer's Agent
- 93
- assigned by buyer
- 94
- assigned by seller
PER
360
Heading > N1 Loop Rest All > 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
N1 Loop Rest All end
N1 Loop Ship To
OptionalMax 1
Variants (all may be used)
N1 Loop Rest AllN1
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
If either Entity Relationship Code (N1-05) or Entity Identifier Code (N1-06) is present, then the other is required
—
- 1
- D-U-N-S Number, Dun & Bradstreet
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
- 91
- Assigned by Seller or Seller's Agent
- 92
- Assigned by Buyer or Buyer's Agent
- 93
- Code assigned by the organization originating the transaction set
- 94
- Code assigned by the organization that is the ultimate destination of the transaction set
N4
340
Heading > N1 Loop Ship To > N4
Geographic Location
OptionalMax use 1
—
Example
If either Location Qualifier (N4-05) or Location Identifier (N4-06) is present, then the other is required
PER
360
Heading > N1 Loop Ship To > 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
N1 Loop Ship To end
Heading end
Detail
PO1 Loop
RequiredMax 100000
PO1
010
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-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
—
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
—
- AC
- Aggregation Code (Used to Consolidate Part Families)
CTP Loop
OptionalMax >1
—
- C01
- Contract (CDW – Supplier) – replaces CON
- C02
- Contract (EU – Manufacturer)
- DAP
- Dealer Adjusted Price
- GOV
- Federal Government (Non-GSA)
- GSA
- Federal GSA(-only) Price
- MSR
- Mfg Suggested Price
- N02
- Higher Education
- N03
- K-12
- N04
- State Government
- N05
- Education Other
CTP Loop end
PID Loop
OptionalMax 1000
PID Loop end
—
- AH
- License Authorization Number
- BB
- Manufacturer Authorization Number
- BD
- CDW Bid Request Number
- CT
- Contract Number
- EU
- CDW customer‟s purchase order number
- GC
- Bid Contract Number
- IA
- Internal Vendor Number
- PO
- CDW purchase order number
SLN Loop
OptionalMax 1000
Usage notes
—
SLN
470
Detail > PO1 Loop > SLN Loop > SLN
Subline Item Detail
RequiredMax use 1
—
Example
If Basis of Unit Price Code (SLN-07) is present, then Unit Price (SLN-06) is required
If Relationship Code (SLN-08) is present, then Unit Price (SLN-06) is required
If either Product/Service ID Qualifier (SLN-09) or Product/Service ID (SLN-10) is present, then the other is required
If either Product/Service ID Qualifier (SLN-11) or Product/Service ID (SLN-12) is present, then the other is required
If either Product/Service ID Qualifier (SLN-13) or Product/Service ID (SLN-14) is present, then the other is required
If either Product/Service ID Qualifier (SLN-15) or Product/Service ID (SLN-16) is present, then the other is required
If either Product/Service ID Qualifier (SLN-17) or Product/Service ID (SLN-18) is present, then the other is required
If either Product/Service ID Qualifier (SLN-19) or Product/Service ID (SLN-20) is present, then the other is required
If either Product/Service ID Qualifier (SLN-21) or Product/Service ID (SLN-22) is present, then the other is required
If either Product/Service ID Qualifier (SLN-23) or Product/Service ID (SLN-24) is present, then the other is required
If either Product/Service ID Qualifier (SLN-25) or Product/Service ID (SLN-26) is present, then the other is required
If either Product/Service ID Qualifier (SLN-27) or Product/Service ID (SLN-28) is present, then the other is required
OptionalMax use 1
To identify a composite unit of measure
(See Figures Appendix for examples of use)
—
- CP
- Current Price (Subject to Change)
- CT
- Contract
—
- MG
- Manufacturer's Part Number (hardware item)
—
- MN
- CDW‟s 3 digit manufacturer part code (hardware item)
—
- TZ
- Program Description Identifier (hardware item)
SLN Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
OptionalMax >1
CTT Loop end
Summary end
EDI Samples
CDW 850 Purchase Order
ISA~00~ ~00~ ~ZZ~SENDER ~ZZ~RECEIVER ~231101~0139~U~00401~000000001~0~T~>
GS~PO~SENDERGS~RECEIVERGS~20231101~013958~000000001~X~004010
ST~850~010921382
BEG~00~NE~987654321~~20041101
REF~EU~000907
PER~BD~Buyer Name~TE~8474656000
TAX~33-3310735~~~~~~~~~~~3
FOB~CA
ITD~01~3~1~~10~~30
DTM~002~20000911
TD5~~~~M
N1~BS~CDW COMPUTER CENTERS, INC.~1~107627952
N2~JOHN~DOE
N3~200 N Milwaukee Ave~One CDW Parkway
N4~Vernon Hills~IL~60061~US
PER~IC~Buyer Name~TE~8474656000
PO1~000000~1~EA~9817.92~~BP~217220~MG~1234567~VP~C7834A#ABA~OE~OEM1234~UP~88698919064~UR~XYZ123
PID~F~~~~LANTRONIX MIRCRO PRINT SERVER
REF~IA~INTVND
DTM~002~20101010
MSG~PLAIN TEXT
SLN~00001~~O~1~EA~0.01~CP~O~F~419809005~MG~CPR~MN~MX271500C2~SN~1099353~BP~HP SB ML310 G4 3050 SBS R2 HP-SATA~C6~PC1~TZ~20071010
CTT~1
AMT~TT~9817.92
SE~23~010921382
GE~1~000000001
IEA~1~000000001
GS~PO~SENDERGS~RECEIVERGS~20231101~013958~000000001~X~004010
ST~850~010921382
BEG~00~NE~987654321~~20041101
REF~EU~000907
PER~BD~Buyer Name~TE~8474656000
TAX~33-3310735~~~~~~~~~~~3
FOB~CA
ITD~01~3~1~~10~~30
DTM~002~20000911
TD5~~~~M
N1~BS~CDW COMPUTER CENTERS, INC.~1~107627952
N2~JOHN~DOE
N3~200 N Milwaukee Ave~One CDW Parkway
N4~Vernon Hills~IL~60061~US
PER~IC~Buyer Name~TE~8474656000
PO1~000000~1~EA~9817.92~~BP~217220~MG~1234567~VP~C7834A#ABA~OE~OEM1234~UP~88698919064~UR~XYZ123
PID~F~~~~LANTRONIX MIRCRO PRINT SERVER
REF~IA~INTVND
DTM~002~20101010
MSG~PLAIN TEXT
SLN~00001~~O~1~EA~0.01~CP~O~F~419809005~MG~CPR~MN~MX271500C2~SN~1099353~BP~HP SB ML310 G4 3050 SBS R2 HP-SATA~C6~PC1~TZ~20071010
CTT~1
AMT~TT~9817.92
SE~23~010921382
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.