Stedi maintains this guide based on public documentation from Canadian Tire. Contact Canadian Tire for official EDI specifications. To report any errors in this guide, please contact us.
X12 850 Purchase Order
—
Delimiters
- ~ Segment
- * Element
- > Component
EDI samples
—
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 Process Handling Code
Max use 1
Required
REF
050
Reference Identification Vendor ID Number
Max use 1
Required
PER
060
Administrative Communications Contact
Max use 3
Required
FOB
080
F.O.B. Related Instructions
Max use 1
Optional
ITD
130
Terms of Sale/Deferred Terms of Sale
Max use 1
Optional
TD5
240
Carrier Details (Routing Sequence/Transit Time)
Max use 12
Optional
TD4
260
Carrier Details (Special Handling, or Hazardous Materials, or Both)
Max use 5
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
- Direct Ship
- RA
- Cross-dock
- SA
- Stand-alone Order
REF
050
Heading > REF
Reference Identification Process Handling Code
RequiredMax use 1
—
Usage notes
—
Example
Variants (all may be used)
REFReference Identification Vendor ID NumberREF
050
Heading > REF
Reference Identification Vendor ID Number
RequiredMax use >1
—
Usage notes
—
Example
Variants (all may be used)
REFReference Identification Process Handling CodePER
060
Heading > PER
Administrative Communications Contact
RequiredMax use 3
—
Usage notes
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
FOB
080
Heading > FOB
F.O.B. Related Instructions
OptionalMax use >1
—
Usage notes
—
Example
If Transportation Terms Qualifier Code (FOB-04) is present, then Transportation Terms Code (FOB-05) is required
ITD
130
Heading > ITD
Terms of Sale/Deferred Terms of Sale
OptionalMax use >1
—
Usage notes
—
Example
If Terms Discount Percent (ITD-03) is present, then Terms Discount Days Due (ITD-05) is required
TD5
240
Heading > TD5
Carrier Details (Routing Sequence/Transit Time)
OptionalMax use 12
—
Usage notes
—
Example
TD4
260
Heading > TD4
Carrier Details (Special Handling, or Hazardous Materials, or Both)
OptionalMax use 5
—
Usage notes
—
Example
At least one of Special Handling Code (TD4-01) or Description (TD4-04) is required
N1 Loop
RequiredMax >1
N1
310
Heading > N1 Loop > 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
N1 Loop end
Heading end
Detail
PO1 Loop
RequiredMax >1
PO1
010
Detail > PO1 Loop > PO1
Baseline Item Data
RequiredMax use 1
—
Usage notes
—
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
—
- EN
- European Article Number (EAN) (2-5-5-1)
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
CTP Loop Alternate Price
OptionalMax >1
Variants (all may be used)
CTP Loop Unit cost priceCTP
040
Detail > PO1 Loop > CTP Loop Alternate Price > CTP
Pricing Information
RequiredMax use 1
—
Usage notes
—
Example
If either Quantity (CTP-04) or Composite Unit of Measure (CTP-05) is present, then the other is required
CTP Loop Alternate Price end
CTP Loop Unit cost price
OptionalMax 1
Variants (all may be used)
CTP Loop Alternate PriceCTP
040
Detail > PO1 Loop > CTP Loop Unit cost price > CTP
Pricing Information
RequiredMax use 1
—
Usage notes
—
Example
CTP Loop Unit cost price end
PO4
090
Detail > PO1 Loop > PO4
Item Physical Details
OptionalMax use >1
—
Usage notes
—
Example
If either Size (PO4-02) or Unit or Basis for Measurement Code (PO4-03) is present, then the other is required
—
- 05
- Lift
- AS
- Assorted
- BD
- Bundle
- BG
- Bag
- BO
- Bottle
- BR
- Barrel
- BX
- Box
- CA
- Case
- CC
- Cubic Centimeter
- CF
- Cubic Foot
- CG
- Card (Blister)
- CM
- Centimeter
- CN
- Can
- CP
- Crate
- CR
- Cubic Metre
- CT
- Carton
- CX
- Coil
- DS
- Display
- EA
- Each
- FT
- Foot
- GA
- Gallon
- GR
- Gram
- HA
- Hank
- IN
- Inch
- JR
- Jar
- KG
- Kilogram
- KT
- Kit
- LB
- Pound
- LN
- Length
- LO
- Lot
- LT
- Litre
- ML
- Millilitre
- MR
- Metre
- OZ
- Ounce
- PA
- Pail
- PC
- Piece
- PD
- Pad
- PK
- Package
- PL
- Pallet
- PR
- Pair
- PT
- Pint
- PV
- Half Pint
- QU
- Quart
- RL
- Roll
- SF
- Square Foot
- SL
- Sleeve
- SM
- Square Metre
- SO
- Spool
- SQ
- Square
- ST
- Set
- TB
- Tube
- TH
- Thousand
- TY
- Tray
- UN
- Unit
- WR
- Wrapped (Skin)
- YD
- Yard
SAC Loop
OptionalMax >1
SAC
130
Detail > PO1 Loop > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Usage notes
—
Example
If either Allowance/Charge Percent Qualifier (SAC-06) or Percent (SAC-07) is present, then the other is required
—
- A260
- Advertising Allowance
- B750
- Core Charge
- B770
- Cost recovery/adjustment
- C000
- Defective Allowance
- C310
- Discount
- C540
- Early Buy Allowance
- F810
- Promotional Discount
- F910
- Quantity Discount
- I170
- Trade Discount
- I530
- Volume Discount
- I570
- Warehouse
- I590
- Labor
SAC Loop end
SDQ
190
Detail > PO1 Loop > SDQ
Destination Quantity
OptionalMax use 500
—
Usage notes
—
Example
If either Identification Code (SDQ-05) or Quantity (SDQ-06) is present, then the other is required
If either Identification Code (SDQ-07) or Quantity (SDQ-08) is present, then the other is required
If either Identification Code (SDQ-09) or Quantity (SDQ-10) is present, then the other is required
If either Identification Code (SDQ-11) or Quantity (SDQ-12) is present, then the other is required
If either Identification Code (SDQ-13) or Quantity (SDQ-14) is present, then the other is required
If either Identification Code (SDQ-15) or Quantity (SDQ-16) is present, then the other is required
If either Identification Code (SDQ-17) or Quantity (SDQ-18) is present, then the other is required
If either Identification Code (SDQ-19) or Quantity (SDQ-20) is present, then the other is required
If either Identification Code (SDQ-21) or Quantity (SDQ-22) is present, then the other is required
PO1 Loop end
Detail end
Summary
CTT Loop
RequiredMax >1
CTT Loop end
Summary end
EDI Samples
PROCESS HANDLING - LEGACY CANADIAN DOLLARS STORAGE
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *240507*1807*U*00401*000000001*0*T*>~
GS*PO*SENDERGS*RECEIVERGS*20240507*180718*000000001*X*004010~
BEG*00*SA*99991234**20030214**NA~
REF*VR*9999~
REF*PHC*B~
PER*IC*Tom Brown AU*TE*(416) 480-3000~
FOB*PP***02*FOB*OA~
ITD**3*2**10**30~
TD5*****SEND RPA 7 DAYS PRIOR TO SHIPPING~
N1*ST*CT RETAIL - BRAMPTON D.C.*9*2016136689003~
PO1*1*24*EA*2.45*NT*SK*099-9999-6*VP*1234-4321*UP*1555557777758*CH*CA~
CTP**UCP*2.45******QT~
PO4**12*EA*CTN90~
DTM*010*20030501~
CTT*1~
GE*1*000000001~
IEA*1*000000001~
GS*PO*SENDERGS*RECEIVERGS*20240507*180718*000000001*X*004010~
BEG*00*SA*99991234**20030214**NA~
REF*VR*9999~
REF*PHC*B~
PER*IC*Tom Brown AU*TE*(416) 480-3000~
FOB*PP***02*FOB*OA~
ITD**3*2**10**30~
TD5*****SEND RPA 7 DAYS PRIOR TO SHIPPING~
N1*ST*CT RETAIL - BRAMPTON D.C.*9*2016136689003~
PO1*1*24*EA*2.45*NT*SK*099-9999-6*VP*1234-4321*UP*1555557777758*CH*CA~
CTP**UCP*2.45******QT~
PO4**12*EA*CTN90~
DTM*010*20030501~
CTT*1~
GE*1*000000001~
IEA*1*000000001~
PROCESS HANDLING – AOM CROSS DOCK FOREIGN CURRENCY TWO SKU – MULTIPLE STORES NEW STORE
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *240507*1808*U*00401*000000001*0*T*>~
GS*PO*SENDERGS*RECEIVERGS*20240507*180806*000000001*X*004010~
BEG*00*RA*01234567**20030214**NA~
CUR*BY*USD~
REF*VR*9999~
REF*PHC*A~
PER*IC*BILLES, JOHN AU*TE*(416) 480-3000~
FOB*PP***02*FOB*OA~
ITD**3*2**10**30~
TD5*****SEND RPA 7 DAYS PRIOR TO SHIPPING~
N1*ST*CT RETAIL – CALGARY D.C.*9*2016136689007~
PO1*1*120*EA*2.45*NT*SK*099-9999-6*VP*1234-4321*UP*155555777775*CH*CN~
CTP**UCP*2.45******QT~
PO4**12*EA*CTN90~
SDQ*EA*92*70042*12*0001*12*0036*24*0145*12*01642*24*0424*36~
DTM*010*20030501~
PO1*2*222*EA*1.14*NT*SK*099-9998-8*VP*1234-4320*UP*155555666666*CH*VN~
CTP**UCP*1.14******QT~
PO4**6*EA*CTN90~
SDQ*EA*92*70042*18*0001*12*0005*12*0145*18*0164*24*0424*12*0425*18*0426*6*0427*6*0628*18~
SDQ*EA*92*0646*12*0649*18*0701*12*0705*6*0757*6*1317*24~
DTM*010*20030501~
CTT*2~
GE*1*000000001~
IEA*1*000000001~
GS*PO*SENDERGS*RECEIVERGS*20240507*180806*000000001*X*004010~
BEG*00*RA*01234567**20030214**NA~
CUR*BY*USD~
REF*VR*9999~
REF*PHC*A~
PER*IC*BILLES, JOHN AU*TE*(416) 480-3000~
FOB*PP***02*FOB*OA~
ITD**3*2**10**30~
TD5*****SEND RPA 7 DAYS PRIOR TO SHIPPING~
N1*ST*CT RETAIL – CALGARY D.C.*9*2016136689007~
PO1*1*120*EA*2.45*NT*SK*099-9999-6*VP*1234-4321*UP*155555777775*CH*CN~
CTP**UCP*2.45******QT~
PO4**12*EA*CTN90~
SDQ*EA*92*70042*12*0001*12*0036*24*0145*12*01642*24*0424*36~
DTM*010*20030501~
PO1*2*222*EA*1.14*NT*SK*099-9998-8*VP*1234-4320*UP*155555666666*CH*VN~
CTP**UCP*1.14******QT~
PO4**6*EA*CTN90~
SDQ*EA*92*70042*18*0001*12*0005*12*0145*18*0164*24*0424*12*0425*18*0426*6*0427*6*0628*18~
SDQ*EA*92*0646*12*0649*18*0701*12*0705*6*0757*6*1317*24~
DTM*010*20030501~
CTT*2~
GE*1*000000001~
IEA*1*000000001~
PROCESS HANDLING – AOM DIRECT SHIP TWO SKU – MULTIPLE STORES NEW STORE
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *240507*1811*U*00401*000000001*0*T*>~
GS*PO*SENDERGS*RECEIVERGS*20240507*181124*000000001*X*004010~
BEG*00*DS*01234567**20030214**NA~
CUR*BY*USD~
REF*VR*9999~
REF*PHC*A~
PER*IC*Tom Brown AU*TE*(416) 480-3000~
FOB*PP***02*FOB*OA~
ITD**3*2**10**30~
N1*ST*CT RETAIL - DIRECT SHIP*9*2016136689000~
PO1*1*120*EA*2.45*NT*SK*099-9999-6*VP*1234-4321*UP*155555777775*CH*CA~
CTP**UCP*2.45******QT~
SDQ*EA*92*70042*12*0005*12*0036*24*0145*12*0326*24*0424*36~
DTM*010*20030501~
PO1*2*222*EA*1.14*NT*SK*099-9998-8*VP*1234-4320*UP*155555666662*CH*US-NY~
CTP**UCP*1.14******QT~
SDQ*EA*92*70042*18*0001*12*0005*12*0036*18*0145*24*0150*12*0152*18*0162*6*0326*6*0328*18~
SDQ*EA*92*0424*12*0425*18*0654*12*0701*6*0702*6*0705*24~
DTM*010*20030501~
CTT*2~
GE*1*000000001~
IEA*1*000000001~
GS*PO*SENDERGS*RECEIVERGS*20240507*181124*000000001*X*004010~
BEG*00*DS*01234567**20030214**NA~
CUR*BY*USD~
REF*VR*9999~
REF*PHC*A~
PER*IC*Tom Brown AU*TE*(416) 480-3000~
FOB*PP***02*FOB*OA~
ITD**3*2**10**30~
N1*ST*CT RETAIL - DIRECT SHIP*9*2016136689000~
PO1*1*120*EA*2.45*NT*SK*099-9999-6*VP*1234-4321*UP*155555777775*CH*CA~
CTP**UCP*2.45******QT~
SDQ*EA*92*70042*12*0005*12*0036*24*0145*12*0326*24*0424*36~
DTM*010*20030501~
PO1*2*222*EA*1.14*NT*SK*099-9998-8*VP*1234-4320*UP*155555666662*CH*US-NY~
CTP**UCP*1.14******QT~
SDQ*EA*92*70042*18*0001*12*0005*12*0036*18*0145*24*0150*12*0152*18*0162*6*0326*6*0328*18~
SDQ*EA*92*0424*12*0425*18*0654*12*0701*6*0702*6*0705*24~
DTM*010*20030501~
CTT*2~
GE*1*000000001~
IEA*1*000000001~
PROCESS HANDLING – LEGACY CANADIAN DOLLARS EAP DEPOT CASTING CHARGE of $4.00
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *240507*1809*U*00401*000000001*0*T*>~
GS*PO*SENDERGS*RECEIVERGS*20240507*180959*000000001*X*004010~
BEG*00*SA*99991234**20030214**NA~
REF*VR*9999~
REF*PHC*B~
PER*IC* Tom Brown AU*TE*(403)481-7337~
FOB*PP***02*FOB*OA~
ITD**3*2**10**30~
TD5*****SEND RPA 7 DAYS PRIOR TO SHIPPING~
N1*ST*CT RETAIL - MONTREAL DEPOT*9*2016136689052~
PO1*1*24*EA*6.45*NT*SK*099-9999-6*VP*1234-4321*UP*155555777775*CH*CA~
CTP**UCP*2.45******QT~
PO4**12*EA*CTN90~
SAC*C*B750****3*400*****02~
DTM*010*20030501~
CTT*1~
GE*1*000000001~
IEA*1*000000001~
GS*PO*SENDERGS*RECEIVERGS*20240507*180959*000000001*X*004010~
BEG*00*SA*99991234**20030214**NA~
REF*VR*9999~
REF*PHC*B~
PER*IC* Tom Brown AU*TE*(403)481-7337~
FOB*PP***02*FOB*OA~
ITD**3*2**10**30~
TD5*****SEND RPA 7 DAYS PRIOR TO SHIPPING~
N1*ST*CT RETAIL - MONTREAL DEPOT*9*2016136689052~
PO1*1*24*EA*6.45*NT*SK*099-9999-6*VP*1234-4321*UP*155555777775*CH*CA~
CTP**UCP*2.45******QT~
PO4**12*EA*CTN90~
SAC*C*B750****3*400*****02~
DTM*010*20030501~
CTT*1~
GE*1*000000001~
IEA*1*000000001~
Sample 1
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *240507*1806*U*00401*000000001*0*T*>~
GS*PO*SENDERGS*RECEIVERGS*20240507*180648*000000001*X*004010~
BEG*00*SA*12345678**20030214**NA~
CUR*BY*USD~
REF*VR*9999~
REF*PHC*B~
PER*IC*Tom Brown AU*TE*(416) 480-3000~
FOB*PP***02*FOB*OA~
ITD**3*2**10**30~
TD5*****SEND RPA 7 DAYS PRIOR TO SHIPPING~
TD4*ZZZ*** Job #029-19 Direct Ship Ship Dates Critical~
N1*ST*CT RETAIL - BRAMPTON D.C.*9*2016136689003~
PO1*1*24*EA*2.45*NT*SK*099-9999-9*VP*1234-4321*UP*155555777778*CH*CA~
CTP**ALT*20*12*EA~
CTP**UCP*2.45******QT~
PO4**12*EA*CTN90~
SAC*A*C000***125*3*5*****02~
TAX*R100773019***********3~
SDQ*EA*92*0012*10*0162*10*0036*10*0145*15*70042*20*0424*25~
DTM*010*20030501~
CTT*6~
GE*1*000000001~
IEA*1*000000001~
GS*PO*SENDERGS*RECEIVERGS*20240507*180648*000000001*X*004010~
BEG*00*SA*12345678**20030214**NA~
CUR*BY*USD~
REF*VR*9999~
REF*PHC*B~
PER*IC*Tom Brown AU*TE*(416) 480-3000~
FOB*PP***02*FOB*OA~
ITD**3*2**10**30~
TD5*****SEND RPA 7 DAYS PRIOR TO SHIPPING~
TD4*ZZZ*** Job #029-19 Direct Ship Ship Dates Critical~
N1*ST*CT RETAIL - BRAMPTON D.C.*9*2016136689003~
PO1*1*24*EA*2.45*NT*SK*099-9999-9*VP*1234-4321*UP*155555777778*CH*CA~
CTP**ALT*20*12*EA~
CTP**UCP*2.45******QT~
PO4**12*EA*CTN90~
SAC*A*C000***125*3*5*****02~
TAX*R100773019***********3~
SDQ*EA*92*0012*10*0162*10*0036*10*0145*15*70042*20*0424*25~
DTM*010*20030501~
CTT*6~
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.