X12 850 Purchase Order
—
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 Forwarder's Reference Number
Max use 1
Optional
REF
0500
Reference Information Related Vendor Order Number
Max use 1
Required
REF
0500
Reference Information Tracking Number
Max use 1
Optional
DTM
1500
Date/Time Reference Delivery Requested
Max use 10
Optional
DTM
1500
Date/Time Reference Requested Pickup Date
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
REF
0500
Heading > REF
Reference Information Forwarder's Reference Number
OptionalMax use 1
—
Usage notes
—
Example
Variants (all may be used)
REFReference Information Related Vendor Order NumberREFReference Information Tracking NumberREF
0500
Heading > REF
Reference Information Related Vendor Order Number
RequiredMax use >1
—
Usage notes
—
Example
Variants (all may be used)
REFReference Information Forwarder's Reference NumberREFReference Information Tracking NumberDTM
1500
Heading > DTM
Date/Time Reference Delivery Requested
OptionalMax use 10
—
Usage notes
—
Example
Variants (all may be used)
DTMDate/Time Reference Requested Pickup DateDTM
1500
Heading > DTM
Date/Time Reference Requested Pickup Date
OptionalMax use 1
—
Usage notes
—
Example
Variants (all may be used)
DTMDate/Time Reference Delivery RequestedN9 Loop Delivery Reference
OptionalMax 1
N9
2950
Heading > N9 Loop Delivery Reference > N9
Extended Reference Information
RequiredMax use 1
—
Usage notes
—
Example
N9 Loop Delivery Reference end
N9 Loop Mutually Defined
OptionalMax >1
N9
2950
Heading > N9 Loop Mutually Defined > N9
Extended Reference Information
RequiredMax use 1
—
Usage notes
—
Example
N9 Loop Mutually Defined end
N9 Loop Pickup Reference Number
OptionalMax 1
N9
2950
Heading > N9 Loop Pickup Reference Number > N9
Extended Reference Information
RequiredMax use 1
—
Usage notes
—
Example
N9 Loop Pickup Reference Number end
N1 Loop Buyer
OptionalMax >1
Variants (all may be used)
N1 Loop Delivery AddressN1 Loop ForwarderN1 Loop Message ToN1 Loop Pickup AddressN1 Loop Supplier—
- 1
- D-U-N-S Number, Dun & Bradstreet
- UL
- Global Location Number (GLN)
- ZZ
- Mutually Defined
PER
3600
Heading > N1 Loop Buyer > PER
Administrative Communications Contact Accounting Department
OptionalMax use >1
—
Usage notes
—
Example
Variants (all may be used)
PERAdministrative Communications Contact Order DepartmentIf either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
PER
3600
Heading > N1 Loop Buyer > PER
Administrative Communications Contact Order Department
OptionalMax use >1
—
Usage notes
—
Example
Variants (all may be used)
PERAdministrative Communications Contact Accounting DepartmentIf either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
N1 Loop Buyer end
N1 Loop Delivery Address
OptionalMax 1
Variants (all may be used)
N1 Loop BuyerN1 Loop ForwarderN1 Loop Message ToN1 Loop Pickup AddressN1 Loop SupplierN1
3100
Heading > N1 Loop Delivery Address > N1
Party Identification
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
—
- 1
- D-U-N-S Number, Dun & Bradstreet
- UL
- Global Location Number (GLN)
- ZZ
- Mutually Defined
N4
3400
Heading > N1 Loop Delivery Address > N4
Geographic Location
OptionalMax use >1
—
Usage notes
—
Example
N1 Loop Delivery Address end
N1 Loop Forwarder
OptionalMax 1
Variants (all may be used)
N1 Loop BuyerN1 Loop Delivery AddressN1 Loop Message ToN1 Loop Pickup AddressN1 Loop SupplierPER
3600
Heading > N1 Loop Forwarder > 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 Loop Forwarder end
N1 Loop Message To
OptionalMax 1
Variants (all may be used)
N1 Loop BuyerN1 Loop Delivery AddressN1 Loop ForwarderN1 Loop Pickup AddressN1 Loop Supplier—
- 1
- D-U-N-S Number, Dun & Bradstreet
- UL
- Global Location Number (GLN)
- ZZ
- Mutually Defined
N1 Loop Message To end
N1 Loop Pickup Address
OptionalMax 1
Variants (all may be used)
N1 Loop BuyerN1 Loop Delivery AddressN1 Loop ForwarderN1 Loop Message ToN1 Loop SupplierN1
3100
Heading > N1 Loop Pickup Address > N1
Party Identification
RequiredMax use 1
—
Usage notes
—
Example
—
- 1
- D-U-N-S Number, Dun & Bradstreet
- UL
- Global Location Number (GLN)
- ZZ
- Mutually Defined
N4
3400
Heading > N1 Loop Pickup Address > N4
Geographic Location
OptionalMax use >1
—
Usage notes
—
Example
N1 Loop Pickup Address end
N1 Loop Supplier
OptionalMax 1
Variants (all may be used)
N1 Loop BuyerN1 Loop Delivery AddressN1 Loop ForwarderN1 Loop Message ToN1 Loop Pickup Address—
- 1
- D-U-N-S Number, Dun & Bradstreet
- UL
- Global Location Number (GLN)
- ZZ
- Mutually Defined
N1 Loop Supplier end
Heading end
Detail
PO1 Loop
RequiredMax >1
PO1
0100
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
—
- CA
- Case
- PC
- Piece
- PL
- Pallet/Unit Load
- ZZ
- Mutually Defined—
PID Loop
RequiredMax >1
PID
0500
Detail > PO1 Loop > PID Loop > PID
Product/Item Description
RequiredMax use 1
—
Usage notes
—
Example
MEA
0600
Detail > PO1 Loop > PID Loop > MEA
Measurements Number per Package
OptionalMax use 10
—
Usage notes
—
Example
Variants (all may be used)
MEAMeasurements Number Pkgs. per Master PackMEA
0600
Detail > PO1 Loop > PID Loop > MEA
Measurements Number Pkgs. per Master Pack
OptionalMax use 1
—
Usage notes
—
Example
Variants (all may be used)
MEAMeasurements Number per PackagePID Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
OptionalMax >1
CTT Loop end
Summary end
EDI Samples
Sample 1
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231117*0020*^*00501*000000001*0*T*>!
GS*PO*SENDERGS*RECEIVERGS*20231117*002044*000000001*X*005010!
ST*850*00001!
BEG*00*KN*59665**20141210!
REF*1V*NYC-00212/59665!
REF*FN*14-2321!
REF*2I*1!
DTM*002*20141211*1100!
DTM*118*20141210*1500!
N9*ZZ*MUTUALLY DEFINED!
MTX*ORI*ORDER NOTES!
N9*KK*DELIVERY!
N9*P8*PICKUP!
N1*BY*ALDI REGION*UL*0041498000226!
N3*ALDI STREET 1!
N4*ALDI CITY*IL*15328*US!
PER*AD*MR. SMITH*TE*+1 (507) 222-3333!
PER*AD*MR. SMITH*FX*+1 (507) 222-1111!
PER*AD*MR. SMITH*EM*MR.SMITH@ALDI-SUED.COM!
PER*OD*MRS. SMITH*TE*+1 (507) 222-4444!
PER*OD*MRS. SMITH*FX*+1 (507) 222-6666!
PER*OD*MRS. SMITH*EM*MRS.SMITH@ALDI-SUED.COM!
N1*FW*FORWARDER!
PER*FC*MR. TRUCKER*TE*+1 (507) 222-8888!
N1*SU*SUPPLIER*1*150483782!
N3*SUPPLIER STREET 1!
N4*SUPPLIER CITY*IL*15328*US!
REF*IA*12345!
N1*TO*FINAL RECIPIENT*1*150483782!
N3*RECIPIENT STREET 1!
N4*RECIPIENT CITY*IL*15328*US!
N1*PW*PICKUP ADDRESS*1*150483782!
N3*PICKUP STREET 1!
N4*PICKUP CITY*IL*15328*US!
N1*DA*DELIVERY ADDRESS*UL*0041498000226!
N3*DELIVERY STREET 1!
N4*DELIVERY CITY*IL*15328*US!
PO1*1*10.000*PL***IN*12345*CR*US-54321*ZZ*123*EQ*PALLET!
PID*F****MUESLI!
MEA**NA*12.00!
MEA**NM*120.00!
CTT*1****0*PF!
SE*41*00001!
GE*1*000000001!
IEA*1*000000001!
GS*PO*SENDERGS*RECEIVERGS*20231117*002044*000000001*X*005010!
ST*850*00001!
BEG*00*KN*59665**20141210!
REF*1V*NYC-00212/59665!
REF*FN*14-2321!
REF*2I*1!
DTM*002*20141211*1100!
DTM*118*20141210*1500!
N9*ZZ*MUTUALLY DEFINED!
MTX*ORI*ORDER NOTES!
N9*KK*DELIVERY!
N9*P8*PICKUP!
N1*BY*ALDI REGION*UL*0041498000226!
N3*ALDI STREET 1!
N4*ALDI CITY*IL*15328*US!
PER*AD*MR. SMITH*TE*+1 (507) 222-3333!
PER*AD*MR. SMITH*FX*+1 (507) 222-1111!
PER*AD*MR. SMITH*EM*MR.SMITH@ALDI-SUED.COM!
PER*OD*MRS. SMITH*TE*+1 (507) 222-4444!
PER*OD*MRS. SMITH*FX*+1 (507) 222-6666!
PER*OD*MRS. SMITH*EM*MRS.SMITH@ALDI-SUED.COM!
N1*FW*FORWARDER!
PER*FC*MR. TRUCKER*TE*+1 (507) 222-8888!
N1*SU*SUPPLIER*1*150483782!
N3*SUPPLIER STREET 1!
N4*SUPPLIER CITY*IL*15328*US!
REF*IA*12345!
N1*TO*FINAL RECIPIENT*1*150483782!
N3*RECIPIENT STREET 1!
N4*RECIPIENT CITY*IL*15328*US!
N1*PW*PICKUP ADDRESS*1*150483782!
N3*PICKUP STREET 1!
N4*PICKUP CITY*IL*15328*US!
N1*DA*DELIVERY ADDRESS*UL*0041498000226!
N3*DELIVERY STREET 1!
N4*DELIVERY CITY*IL*15328*US!
PO1*1*10.000*PL***IN*12345*CR*US-54321*ZZ*123*EQ*PALLET!
PID*F****MUESLI!
MEA**NA*12.00!
MEA**NM*120.00!
CTT*1****0*PF!
SE*41*00001!
GE*1*000000001!
IEA*1*000000001!
Sample from Aldi
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231117*0021*^*00501*000000001*0*T*>!
GS*PO*SENDERGS*RECEIVERGS*20231117*002104*000000001*X*005010!
ST*850*87750001!
BEG*00*KN*244975**20231106!
REF*1V*JEF-244975!
DTM*002*20231114*0000!
N9*KK*DELIVERY!
N9*ZZ*Mutually Defined!
N1*BY*Aldi Jefferson*UL*0041498000424!
N3*1597 Dry Pond Road!
N4*Jefferson*GA*30549*US!
PER*OD*Lori Kenyon*TE*+ 1 (706) -708-0562!
PER*OD*Lori Kenyon*EM*lori.kenyon@aldi.us!
N1*SU*Performance Produce LLC*1*7939385930001!
N3*P.O. Box 1656!
N4*Salisbury*NC*28145-1656*USA!
REF*IA*01598!
N1*TO*Performance Produce LLC*1*7939385930001!
N3*1113 Lexington Avenue!
N4*Salisbury*NC*28144*US!
N1*DA*Aldi Jefferson*UL*0041498000424!
N3*1597 Dry Pond Road!
N4*Jefferson*GA*30549*US!
PO1**136*CA***IN*51058*CR*184263*ZZ*22709*EQ*Case(s)!
PID*F****Mdly Bitesize Potatoes 24oz!
PO1**188*CA***IN*52684*CR*600838***EQ*Case(s)!
PID*F****Yellow Bitesize Potatoes 24oz!
PO1**140*CA***IN*702143*CR*601135***EQ*Case(s)!
PID*F****Org Yellow Potatoes 24oz!
PO1**126*CA***IN*709381*CR*601358***EQ*Case(s)!
PID*F****Assorted Herbs Mixed Case!
PO1**68*CA***IN*710285*CR*601440***EQ*Case(s)!
PID*F****Ruby Nibbles 16 oz!
CTT*5****9.95*PF!
SE*33*87750001!
ST*850*87750002!
BEG*00*KN*244976**20231106!
REF*1V*JEF-244976!
DTM*002*20231117*0000!
N9*KK*DELIVERY!
N9*ZZ*Mutually Defined!
N1*BY*Aldi Jefferson*UL*0041498000424!
N3*1597 Dry Pond Road!
N4*Jefferson*GA*30549*US!
PER*OD*Lori Kenyon*TE*+ 1 (706) -708-0562!
PER*OD*Lori Kenyon*EM*lori.kenyon@aldi.us!
N1*SU*Performance Produce LLC*1*7939385930001!
N3*P.O. Box 1656!
N4*Salisbury*NC*28145-1656*USA!
REF*IA*01598!
N1*TO*Performance Produce LLC*1*7939385930001!
N3*1113 Lexington Avenue!
N4*Salisbury*NC*28144*US!
N1*DA*Aldi Jefferson*UL*0041498000424!
N3*1597 Dry Pond Road!
N4*Jefferson*GA*30549*US!
PO1**260*CA***IN*51058*CR*184263*ZZ*22709*EQ*Case(s)!
PID*F****Mdly Bitesize Potatoes 24oz!
PO1**350*CA***IN*52684*CR*600838***EQ*Case(s)!
PID*F****Yellow Bitesize Potatoes 24oz!
PO1**240*CA***IN*702143*CR*601135***EQ*Case(s)!
PID*F****Org Yellow Potatoes 24oz!
PO1**270*CA***IN*709381*CR*601358***EQ*Case(s)!
PID*F****Assorted Herbs Mixed Case!
PO1**110*CA***IN*710285*CR*601440***EQ*Case(s)!
PID*F****Ruby Nibbles 16 oz!
CTT*5****18.47*PF!
SE*33*87750002!
GE*2*000000001!
IEA*1*000000001!
GS*PO*SENDERGS*RECEIVERGS*20231117*002104*000000001*X*005010!
ST*850*87750001!
BEG*00*KN*244975**20231106!
REF*1V*JEF-244975!
DTM*002*20231114*0000!
N9*KK*DELIVERY!
N9*ZZ*Mutually Defined!
N1*BY*Aldi Jefferson*UL*0041498000424!
N3*1597 Dry Pond Road!
N4*Jefferson*GA*30549*US!
PER*OD*Lori Kenyon*TE*+ 1 (706) -708-0562!
PER*OD*Lori Kenyon*EM*lori.kenyon@aldi.us!
N1*SU*Performance Produce LLC*1*7939385930001!
N3*P.O. Box 1656!
N4*Salisbury*NC*28145-1656*USA!
REF*IA*01598!
N1*TO*Performance Produce LLC*1*7939385930001!
N3*1113 Lexington Avenue!
N4*Salisbury*NC*28144*US!
N1*DA*Aldi Jefferson*UL*0041498000424!
N3*1597 Dry Pond Road!
N4*Jefferson*GA*30549*US!
PO1**136*CA***IN*51058*CR*184263*ZZ*22709*EQ*Case(s)!
PID*F****Mdly Bitesize Potatoes 24oz!
PO1**188*CA***IN*52684*CR*600838***EQ*Case(s)!
PID*F****Yellow Bitesize Potatoes 24oz!
PO1**140*CA***IN*702143*CR*601135***EQ*Case(s)!
PID*F****Org Yellow Potatoes 24oz!
PO1**126*CA***IN*709381*CR*601358***EQ*Case(s)!
PID*F****Assorted Herbs Mixed Case!
PO1**68*CA***IN*710285*CR*601440***EQ*Case(s)!
PID*F****Ruby Nibbles 16 oz!
CTT*5****9.95*PF!
SE*33*87750001!
ST*850*87750002!
BEG*00*KN*244976**20231106!
REF*1V*JEF-244976!
DTM*002*20231117*0000!
N9*KK*DELIVERY!
N9*ZZ*Mutually Defined!
N1*BY*Aldi Jefferson*UL*0041498000424!
N3*1597 Dry Pond Road!
N4*Jefferson*GA*30549*US!
PER*OD*Lori Kenyon*TE*+ 1 (706) -708-0562!
PER*OD*Lori Kenyon*EM*lori.kenyon@aldi.us!
N1*SU*Performance Produce LLC*1*7939385930001!
N3*P.O. Box 1656!
N4*Salisbury*NC*28145-1656*USA!
REF*IA*01598!
N1*TO*Performance Produce LLC*1*7939385930001!
N3*1113 Lexington Avenue!
N4*Salisbury*NC*28144*US!
N1*DA*Aldi Jefferson*UL*0041498000424!
N3*1597 Dry Pond Road!
N4*Jefferson*GA*30549*US!
PO1**260*CA***IN*51058*CR*184263*ZZ*22709*EQ*Case(s)!
PID*F****Mdly Bitesize Potatoes 24oz!
PO1**350*CA***IN*52684*CR*600838***EQ*Case(s)!
PID*F****Yellow Bitesize Potatoes 24oz!
PO1**240*CA***IN*702143*CR*601135***EQ*Case(s)!
PID*F****Org Yellow Potatoes 24oz!
PO1**270*CA***IN*709381*CR*601358***EQ*Case(s)!
PID*F****Assorted Herbs Mixed Case!
PO1**110*CA***IN*710285*CR*601440***EQ*Case(s)!
PID*F****Ruby Nibbles 16 oz!
CTT*5****18.47*PF!
SE*33*87750002!
GE*2*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.