This will depend on which platform version of the QPTL library (Windows .NET DLL or Java) you are using and the programming language your payroll application is written in.
For Windows .NET languages such as Visual C++ and Visual C#, you will first add the QPTL.dll file as a reference to your project, and then you will be able to make direct calls to the public methods available in the QPTL class.
For the Java library, you will add the QPTL.jar file as an external library to your project, and then you will be able to make direct calls to the public methods available in the QPTL class.
The list of available class methods includes:
The calcDeductions method is the method used to calculate required Revenu Québec payroll withholding deductions for QPP, QPIP and Québec Income Taxes.
Employees under the age of 18 or over the age of 69 are exempt from QPP contributions. QPP exemptions also exist for certain other types of employees (see Revenu Québec website for details). To exempt an employee from QPP, set the appropriate value in the EmployeeDataQC.isQPPexempt input parameter data field, or alternatively, provide the employee's birthdate information in the EmployeeDataQC.birthDate parameter data field and QPTL will automatically determine if the employee qualifies for the QPP age exemption.
If the vacation pay being paid covers only one (1) pay period for which the vacation time-off is being taken:
If the vacation pay being paid covers more than one (1) pay period for which the vacation time-off is being taken:
If the vacation pay is being paid as one lump-sum amount in lieu of vacation time not taken:
If the vacation pay being paid covers only one (1) pay period for which the vacation time-off is being taken:
If the vacation pay being paid covers more than one (1) pay period for which the vacation time-off is being taken:
If the vacation pay is being paid as one lump-sum amount in lieu of vacation time not taken: