Canadian Payroll Tax Library (CPTL)

mp logohome

Canadian Payroll Tax Library (CPTL) is a library of Canadian payroll tax calculations available for licensing to payroll application software developers. CPTL allows payroll software developers to easily, quickly, and seamlessly incorporate a full set of Canada Revenue Agency (CRA) payroll deduction calculations into their software by utilizing the CPTL SDK and API.  CPTL includes calculation methods for Canada/Quebec Pension Plan (CPP/QPP) contributions, Employment Insurance (EI) premiums, and federal and provincial/territorial (excluding Quebec) income tax withholdings. 

(Looking for our Quebec Payroll Tax Library?  Click here.)

Payroll software developers can reduce their total costs of development and maintenance, and significantly reduce development time, by employing CPTL in their applications.  CPTL is easy to implement in any .NET or Java application, with full documentation and sample programs provided for using CPTL in VC++, VC#, VB, ASP.NET & Java applications.  A free demo package is available for qualified developers by completing our online CPTL Demo Licensee application form.

MET provides it's CPTL licensees with an updated CPTL library whenever CRA changes/updates their specifications and requirements for payroll withholding calculations - usually on January 1 and July 1 of each year. Our quality assurance process ensures that all calculations are tested extensively and results match exactly to all CRA test cases. As a payroll software provider, you can be assured that your Canadian tax deduction calculations are up-to-date and accurate with CPTL.

Payroll software vendors typically face the challenge of distributing updates to customers on a timely basis, in advance of implementation dates for new CRA rates and changes in calculation methods. We distribute CPTL updates to our customers within 7-10 days of any CRA publication of changes to required payroll withholding rules, which are usually received 30-45 days in advance of the effective date for those changes, allowing our customers ample time to integrate the updated CPTL and perform their own testing and quality assurance on their payroll application before deploying updates to end-users.

CPTL features include:

  • Calculate all required Canadian federal and provincial or territorial (excluding Quebec) payroll withholding amounts, including employee CPP/QPP, EI, and income tax withholdings, and employer contributions to CPP/QPP, EI, and Ontario Health Services premiums.
  • Calculations for all pay period types, including daily, weekly, bi-weekly, semi-monthly, and monthly.
  • Calculations for all types of earnings subject to Canadian payroll tax withholding, including Salary, Wages, Vacation Pay, Pension Income, Bonuses, Retroactive Pay, & Commission payments.
  • Available as a Microsoft Dynamic Link Library (DLL), Linux shared library (.so) or Java .jar package.
  • For C++ developers, CPTL can be linked statically at compile time using the provided .LIB files, or alternatively, CPTL can be loaded dynamically (at load time or run-time) - e.g. by using the Microsoft API functions LoadLibrary, LoadLibraryEx, FreeLibrary and GetProcAddress with the Microsoft Dynamic Link Library (DLL) version of CPTL.
  • Cost-effective unlimited end-user license terms allow you to re-distribute CPTL with your application to all your end-users.
  • Reduce annual costs of developing and maintaining up-to-date Canadian payroll deduction calculations code.
  • Our extensive testing and results verification process ensures the accuracy of payroll deduction calculations returned by the CPTL module. CPTL calculation results are verified against all CRA-provided test case results by a Canadian Chartered Accountant.