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
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
Optional
DTM
150
Date/Time Reference
Max use 10
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
—
- 12
- Billing Account—
- AY
- Floor Plan Approval Number
- CO
- Customer Order Number—
- CR
- Customer Reference Number—
- EU
- End User's Purchase Order Number—
- QK
- Sales Program Number
- SU
- Special Processing Code
PER
060
Heading > PER
Administrative Communications Contact
OptionalMax use 3
—
Usage notes
—
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
TD5
240
Heading > TD5
Carrier Details (Routing Sequence/Transit Time)
OptionalMax use 12
—
Usage notes
—
Example
If Identification Code Qualifier (TD5-02) is present, then Identification Code (TD5-03) is required
—
Usage notes
—
- 2
- Standard Carrier Alpha Code (SCAC)
N9 Loop
OptionalMax >1
N9 Loop end
N1 Bill To Party
OptionalMax >1
Variants (all may be used)
Ship ToPER
360
Heading > Bill To Party > PER
Administrative Communications Contact
OptionalMax use >1
—
Usage notes
—
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 Bill To Party end
N1 Ship To
OptionalMax >1
Variants (all may be used)
Bill To PartyN1
310
Heading > Ship To > N1
Name
RequiredMax use 1
—
Usage notes
—
Example
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
PER
360
Heading > Ship To > PER
Administrative Communications Contact
OptionalMax use >1
—
Usage notes
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
N1 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-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
—
- MF
- Manufacturer
- MG
- Manufacturer's Part Number
REF
100
Detail > PO1 Loop > REF
Reference Identification
OptionalMax use >1
—
Usage notes
—
Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
—
- 11
- Account Number
- AH
- Agreement Number
- BB
- Authorization Number
- CT
- Contract Number
- PD
- Promotion/Deal Number
- PG
- Product Group
- PLA
- Product Licensing Agreement Number
- PR
- Price Quote Number
- Q1
- Quote Number
- S6
- Stock Number
- SE
- Serial Number
PER
110
Detail > PO1 Loop > PER
Administrative Communications Contact
OptionalMax use 3
—
Usage notes
—
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
DTM
210
Detail > PO1 Loop > DTM
Contract Effective
OptionalMax use 10
—
Example
Variants (all may be used)
DTMContract ExpirationDTM
210
Detail > PO1 Loop > DTM
Contract Expiration
OptionalMax use 10
—
Example
Variants (all may be used)
DTMContract EffectiveN1 Loop
OptionalMax >1
N1
350
Detail > PO1 Loop > N1 Loop > N1
Name
RequiredMax use 1
—
Usage notes
—
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N1 Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
OptionalMax >1
Usage notes
—
CTT Loop end
Summary end
EDI Samples
Sample
BEG*00*SA*123456789**20060418
CUR*BY*USD
REF*12*123456
REF*AY*F01
REF*CO*0007961793
REF*CR*123456
REF*EU*AY1234
REF*QK*PAS
REF*SU*ZSIG
PER*BD*INSIGHT BUYER NAME*TE*800-555-5555
FOB*DE
CSH*BK
DTM*002*20060501
TD5**2*FDE**FEDEX*******CG
N9*L1*MESSAGE TO FOLLOW
MSG*PLEASE SHIP ACCORDING TO ROUTING GUIDE
N1*ST*ABC CORP*92*2000234
N2*SUITE 2002A
N3*215 CELEBRATION PLACE
N4*KISSIMMEE*FL*34747*US
PER*IC*BOB SMITH*TE*800-555-5555
N1*BT*INSIGHT EAST
PER*AP*ACCOUNTS PAYABLE DEPT*TE*800-555-5555*EM*_APDEPT@INSIGHT.COM
PO1*00010*1*EA*396.01*CP*BP*25R8904*VP*25R8904*MF*Manufacturer Name
REF*11*Redhat account number
REF*BB*12345AU
REF*PLA*99F99SE
REF*AH*Master Agreement
REF*Q1*Customer Quote
REF*SE**Serial Number
REF*S6* Initial Stock Number
REF*CT*Enrollment Number
REF*PG*Program Code
REF*PD*Deal Registration Number
REF*PR*Price Quote Number
PER*FF*JOE SMITH*TE*800-444-4444 ext 1234*EM*JSMITH@XYZ.COM
N1*SF**54*10
CTT*1
CUR*BY*USD
REF*12*123456
REF*AY*F01
REF*CO*0007961793
REF*CR*123456
REF*EU*AY1234
REF*QK*PAS
REF*SU*ZSIG
PER*BD*INSIGHT BUYER NAME*TE*800-555-5555
FOB*DE
CSH*BK
DTM*002*20060501
TD5**2*FDE**FEDEX*******CG
N9*L1*MESSAGE TO FOLLOW
MSG*PLEASE SHIP ACCORDING TO ROUTING GUIDE
N1*ST*ABC CORP*92*2000234
N2*SUITE 2002A
N3*215 CELEBRATION PLACE
N4*KISSIMMEE*FL*34747*US
PER*IC*BOB SMITH*TE*800-555-5555
N1*BT*INSIGHT EAST
PER*AP*ACCOUNTS PAYABLE DEPT*TE*800-555-5555*EM*_APDEPT@INSIGHT.COM
PO1*00010*1*EA*396.01*CP*BP*25R8904*VP*25R8904*MF*Manufacturer Name
REF*11*Redhat account number
REF*BB*12345AU
REF*PLA*99F99SE
REF*AH*Master Agreement
REF*Q1*Customer Quote
REF*SE**Serial Number
REF*S6* Initial Stock Number
REF*CT*Enrollment Number
REF*PG*Program Code
REF*PD*Deal Registration Number
REF*PR*Price Quote Number
PER*FF*JOE SMITH*TE*800-444-4444 ext 1234*EM*JSMITH@XYZ.COM
N1*SF**54*10
CTT*1
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.