Purchase orders are the most common EDI documents in B2B transactions. Below are complete purchase order examples in both EDIFACT (ORDERS) and ANSI X12 (850) formats, representing a real manufacturing order scenario.
Midwest Manufacturing is ordering industrial parts from Global Parts Supplier: 1,000 steel brackets, 500 mounting plates, and 2,000 gasket sets for delivery to their Toledo distribution center.
A complete EDIFACT purchase order with buyer/supplier details, delivery location, terms, and three line items:
UNB+UNOA:2+BUYER001:ZZ+SUPPLIER001:ZZ+240301:0830+456123' UNH+1+ORDERS:D:96A:UN' BGM+220+PO-2024-03001+9' DTM+137:20240301:102' DTM+2:20240315:102' DTM+63:20240315:102' RFF+CT:FRAME-AGR-2024' NAD+BY+9012345678901::9++Midwest Manufacturing Inc+5000 Industrial Blvd+Detroit+MI+48201+US' CTA+PD+:John Smith' COM+john.smith@midwest-mfg.com:EM' COM+1-313-555-0100:TE' NAD+SU+4567890123456::9++Global Parts Supplier+1200 Commerce Way+Chicago+IL+60601+US' NAD+DP+9012345678902::9++Midwest DC - North+8000 Logistics Drive+Toledo+OH+43601+US' CUX+2:USD:9' TOD+3+CIF' TDT+20++30+31' LIN+1++PART-A1234:SA' PIA+1+7890123456789:EN' IMD+F++:::Steel Bracket Assembly - Heavy Duty' QTY+21:1000:EA' DTM+2:20240315:102' PRI+AAA:12.50:CA' RFF+LI:1' LIN+2++PART-B5678:SA' PIA+1+7890123456790:EN' IMD+F++:::Aluminum Mounting Plate 6x8' QTY+21:500:EA' DTM+2:20240315:102' PRI+AAA:8.75:CA' RFF+LI:2' LIN+3++PART-C9012:SA' PIA+1+7890123456791:EN' IMD+F++:::Rubber Gasket Set - Industrial' QTY+21:2000:EA' DTM+2:20240320:102' PRI+AAA:2.25:CA' RFF+LI:3' UNS+S' MOA+79:21375.00' CNT+2:3' UNT+39+1' UNZ+1+456123'
BGM+220 - Document type 220 = Purchase OrderDTM+137 - Order date: 2024-03-01DTM+2 - Requested delivery: 2024-03-15DTM+63 - Latest delivery: 2024-03-15RFF+CT - Contract referenceNAD+BY - Buyer: Midwest Manufacturing, Detroit MICTA+PD - Contact: John SmithCOM - Email and phone contact detailsNAD+SU - Supplier: Global Parts Supplier, Chicago ILNAD+DP - Delivery Point: Midwest DC, Toledo OHCUX+2:USD - Currency: US DollarsTOD+3+CIF - Terms of Delivery: CIF (Cost, Insurance, Freight)TDT+20 - Transport mode: Road| Line | Part No. | Description | Qty | Price | Amount |
|---|---|---|---|---|---|
| 1 | PART-A1234 | Steel Bracket Assembly | 1,000 | $12.50 | $12,500.00 |
| 2 | PART-B5678 | Aluminum Mounting Plate | 500 | $8.75 | $4,375.00 |
| 3 | PART-C9012 | Rubber Gasket Set | 2,000 | $2.25 | $4,500.00 |
| Total | $21,375.00 | ||||
The same order in ANSI X12 format (850 transaction set), commonly used in North America:
ISA*00* *00* *ZZ*BUYER001 *ZZ*SUPPLIER001 *240301*0830*U*00401*000456123*0*P*>~ GS*PO*BUYER001*SUPPLIER001*20240301*0830*456123*X*004010~ ST*850*0001~ BEG*00*SA*PO-2024-03001**20240301~ REF*CT*FRAME-AGR-2024~ PER*BD*John Smith*TE*1-313-555-0100*EM*john.smith@midwest-mfg.com~ FOB*PP*OR*CIF~ DTM*002*20240315~ N1*BY*Midwest Manufacturing Inc*92*BUYER001~ N3*5000 Industrial Blvd~ N4*Detroit*MI*48201*US~ N1*ST*Midwest DC - North*92*DC001~ N3*8000 Logistics Drive~ N4*Toledo*OH*43601*US~ N1*VN*Global Parts Supplier*92*SUPPLIER001~ N3*1200 Commerce Way~ N4*Chicago*IL*60601*US~ PO1*1*1000*EA*12.50**VP*PART-A1234*UP*7890123456789~ PID*F****Steel Bracket Assembly - Heavy Duty~ DTM*002*20240315~ PO1*2*500*EA*8.75**VP*PART-B5678*UP*7890123456790~ PID*F****Aluminum Mounting Plate 6x8~ DTM*002*20240315~ PO1*3*2000*EA*2.25**VP*PART-C9012*UP*7890123456791~ PID*F****Rubber Gasket Set - Industrial~ DTM*002*20240320~ CTT*3*3500~ AMT*TT*21375.00~ SE*30*0001~ GE*1*456123~ IEA*1*000456123~
BEG - Beginning segment with PO number and typeREF - Reference numbers (contract, etc.)PER - Contact informationFOB - Terms of sale (CIF)N1 Loop - Party identification (BY, ST, VN)PO1 - Line item detailCTT - Transaction totals (line count)AMT - Total amount| Order Type | EDIFACT BGM | X12 BEG01 | Use |
|---|---|---|---|
| Original Order | 220 | 00 | New purchase order |
| Order Change | 230 | 01 | Modify existing order |
| Blanket Order | 221 | BE | Standing order with releases |
Paste your ORDERS or 850 purchase order message into our free formatter for instant beautification.
Open EDIFACT Formatter →