I'll walk you through how to record your employees' RRSPs in QuickBooks Online Canada Payroll, accounting68.
Before we begin, could you please clarify what you mean by "employer paid to the provider, not to the employer, and this needs to be reflected in T4 box 40?" Are you referring to a fully employer-funded contribution, or recording payments as part of the contribution made to your provider?
If this is solely a company contribution, you'll have to ensure that only the company's portion is set up correctly for it to automatically appear in T4 box 40.
Here’s how to set it up in QuickBooks to ensure it calculates and reports correctly on payroll forms:
- Go to Payroll, then select Employees.
- Choose your employee.
- Under Deductions & Contributions, select Start or Edit.
- Click on + Add Deduction/Contribution or the Pencil icon.
- In the Deduction/Contribution Type dropdown, choose Retirement Plan.
- For Type, select Registered Retirement Savings Plan (RSSP).
- Enter the name of the provider or plan in the Description field (this will appear on the paycheck).
- Complete the remaining fields.
- Leave the Employee Contribution field blank. Instead, enter the necessary details directly into the Company Contributions section. Fill in the appropriate fields with the amount or percentage per paycheck, as well as the annual maximum.
- Select Save, then click Done.
Once this is completed, the deduction will automatically be reflected in Box 40 of your employees' T4 slips within the Payroll system.
Additionally, you can expand the Contribution Tax Settings below to see which boxes apply to this type of contribution:

If you're referring to the recording of the payment part or the process of remitting the contribution to the provider, you'll have to use the Pay Liabilities feature in QuickBooks. The system will automatically link this payment to the contributions you recorded, clearing the liability from your books.
Once done, the amount will be reported in Box 40 (Other information) on the employee's T4 slip, which is required by the Canada Revenue Agency (CRA). You can also consult your accountant to ensure both your financial records and your employees' tax documents are accurate.
Feel free to reply to this post if you need further assistance.