Your bonus counts as taxable income. It will be included on your T4 slip for the year and you ultimately will have to pay tax on it either immediately or at some time in the future.The best you can do is defer paying tax on your bonus by rolling it into an RRSP. That way you will not pay tax until you withdraw it (at which point you might be in a lower tax bracket). Or you can reduce the amount of tax you will have to pay by donating some of your bonus to a registered charity.
Have an accounting question? Submit it as a comment so it can be answered in a future “Ask an Accountant” entry.