There may be some situations in which it is difficult to retrieve your earnings information, (for example if your previous employer does not have old employment records). In this case, you can provide past T4s.
There are Income Tax Act maximums that apply to the amount you can purchase, which may vary depending on the type of purchase you make.