TimeTrex API Manual

PayrollDeduction_CA_MB extends PayrollDeduction_CA
in package

Table of Contents

$basic_claim_code_options  : mixed
$country_primary_currency  : mixed
$cpp_options  : mixed
$data  : mixed
$db  : mixed
$ei_options  : mixed
$federal_employment_credit_options  : mixed
$federal_income_tax_rate_options  : mixed
$income_tax_rates  : mixed
$provincial_income_tax_rate_options  : mixed
__construct()  : mixed
calcNonPeriodicDeduction()  : mixed
calcNonPeriodicIncome()  : mixed
convertToCountryCurrency()  : mixed
convertToUserCurrency()  : mixed
getAdditionalProvincialSurtax()  : mixed
getAnnualizingFactor()  : mixed
getAnnualPayPeriods()  : mixed
getAnnualTaxableIncome()  : mixed
getArray()  : mixed
getBasicClaimCodeData()  : mixed
getBasicFederalClaimCodeAmount()  : mixed
getBasicPersonalAmount()  : mixed
getBasicProvinceClaimCodeAmount()  : mixed
getCompany()  : mixed
getCountry()  : mixed
getCountryPrimaryCurrency()  : mixed
getCountryPrimaryCurrencyID()  : mixed
getCPPBasicExemption()  : mixed
getCPPData()  : mixed
getCPPEmployeeMaximumContribution()  : mixed
getCPPEmployeeRate()  : mixed
getCPPExempt()  : mixed
getCPPMaximumEarnings()  : mixed
getCPPTaxCredit()  : mixed
getCurrentPayPeriod()  : mixed
getCurrentPayrollRunID()  : mixed
getData()  : mixed
getDataFromRateArray()  : mixed
getDate()  : mixed
getDateEpoch()  : mixed
getDistrict()  : mixed
getEIData()  : mixed
getEIEmployeeMaximumContribution()  : mixed
getEIEmployeeRate()  : mixed
getEIEmployerRate()  : mixed
getEIExempt()  : mixed
getEIMaximumEarnings()  : mixed
getEITaxCredit()  : mixed
getEmployeeCPP()  : mixed
getEmployeeCPPForPayPeriod()  : mixed
getEmployeeEI()  : mixed
getEmployeeEIForPayPeriod()  : mixed
getEmployerCPP()  : mixed
getEmployerEI()  : mixed
getEnableCPPAndEIDeduction()  : mixed
getFederalAdditionalDeduction()  : mixed
getFederalBasicTax()  : mixed
getFederalConstant()  : mixed
getFederalCPPAndEITaxCredit()  : mixed
getFederalEmploymentCredit()  : mixed
getFederalEmploymentCreditAmount()  : mixed
getFederalEmploymentCreditData()  : mixed
getFederalHighestRate()  : mixed
getFederalLowestRate()  : mixed
getFederalPayPeriodDeductions()  : mixed
getFederalRate()  : mixed
getFederalTaxExempt()  : mixed
getFederalTaxPayable()  : mixed
getFederalTotalClaimAmount()  : mixed
getFormulaType()  : mixed
getGrossPayPeriodIncome()  : mixed
getHireAdjustedAnnualPayPeriods()  : mixed
getHireAdjustedCurrentPayPeriod()  : mixed
getISODate()  : mixed
getPayPeriodEmployeeNetPay()  : mixed
getPayPeriodEmployeeTotalDeductions()  : mixed
getPayPeriodTaxDeductions()  : mixed
getProvince()  : mixed
getProvincialBasicTax()  : mixed
getProvincialConstant()  : mixed
getProvincialCPPAndEITaxCredit()  : mixed
getProvincialEmploymentCredit()  : mixed
getProvincialHighestRate()  : mixed
getProvincialLowestRate()  : mixed
getProvincialPayPeriodDeductions()  : mixed
getProvincialRate()  : mixed
getProvincialSurtax()  : mixed
getProvincialSurTaxData()  : mixed
getProvincialTaxExempt()  : mixed
getProvincialTaxPayable()  : mixed
getProvincialTaxReduction()  : mixed
getProvincialTaxReductionData()  : mixed
getProvincialTotalClaimAmount()  : mixed
getRemainingPayPeriods()  : mixed
getUnionDuesAmount()  : mixed
getUser()  : mixed
getUserCurrency()  : mixed
getUserValue1()  : mixed
getUserValue2()  : mixed
getUserValue3()  : mixed
getUserValue4()  : mixed
getYearToDateCPPContribution()  : mixed
getYearToDateDeduction()  : mixed
getYearToDateEIContribution()  : mixed
getYearToDateGrossIncome()  : mixed
setAnnualPayPeriods()  : mixed
setCompany()  : mixed
setCountry()  : mixed
setCPPExempt()  : mixed
setCurrentPayPeriod()  : mixed
setCurrentPayrollRunID()  : mixed
setDate()  : mixed
setDistrict()  : mixed
setEIExempt()  : mixed
setEmployeeCPPForPayPeriod()  : mixed
setEmployeeEIForPayPeriod()  : mixed
setEnableCPPAndEIDeduction()  : mixed
setFederalAdditionalDeduction()  : mixed
setFederalTaxExempt()  : mixed
setFederalTotalClaimAmount()  : mixed
setFormulaType()  : mixed
setGrossPayPeriodIncome()  : mixed
setHireAdjustedAnnualPayPeriods()  : mixed
setHireAdjustedCurrentPayPeriod()  : mixed
setProvince()  : mixed
setProvincialTaxExempt()  : mixed
setProvincialTotalClaimAmount()  : mixed
setUnionDuesAmount()  : mixed
setUser()  : mixed
setUserCurrency()  : mixed
setUserValue1()  : mixed
setUserValue2()  : mixed
setUserValue3()  : mixed
setUserValue4()  : mixed
setYearToDateCPPContribution()  : mixed
setYearToDateDeduction()  : mixed
setYearToDateEIContribution()  : mixed
setYearToDateGrossIncome()  : mixed
getRateArray()  : mixed

Properties

$basic_claim_code_options

public mixed $basic_claim_code_options = [20220701 => [ //01-Jul-2022: 'CA' => ['min' => 12719, 'max' => 14398, 'phase_out_start' => 155625, 'phase_out_end' => 221708], //Federal - This is now phased out if net income is ~$150K or less, see Federal Basic Personal Amount (BPAF) 'BC' => 11302, 'AB' => 19369, //**Not indexed. 'SK' => 16615, 'MB' => 10145, 'QC' => 0, 'ON' => 11141, 'NL' => 9803, 'NB' => 12623, 'NS' => 11481, //**Not Indexed. See NS.class.php, as there are a low and high basic claim amounts now. 'PE' => 11250, 'NT' => 15609, 'YT' => ['min' => 12719, 'max' => 14398, 'phase_out_start' => 155625, 'phase_out_end' => 221708], //Federal - This is now phased out if net income is ~$150K or less, see Federal Basic Personal Amount (BPAF) 'NU' => 16862, ], 20220101 => [ //01-Jan-2022: 'CA' => ['min' => 12719, 'max' => 14398, 'phase_out_start' => 155625, 'phase_out_end' => 221708], //Federal - This is now phased out if net income is ~$150K or less, see Federal Basic Personal Amount (BPAF) 'BC' => 11302, 'AB' => 19369, //**Not indexed. 'SK' => 16615, 'MB' => 10145, 'QC' => 0, 'ON' => 11141, 'NL' => 9803, 'NB' => 10817, 'NS' => 11481, //**Not Indexed. See NS.class.php, as there are a low and high basic claim amounts now. 'PE' => 11250, 'NT' => 15609, 'YT' => ['min' => 12719, 'max' => 14398, 'phase_out_start' => 155625, 'phase_out_end' => 221708], //Federal - This is now phased out if net income is ~$150K or less, see Federal Basic Personal Amount (BPAF) 'NU' => 16862, ], 20210101 => [ //01-Jan-2021: 'CA' => ['min' => 12421, 'max' => 13808, 'phase_out_start' => 151978, 'phase_out_end' => 216511], //Federal - This is now phased out if net income is ~$150K or less, see Federal Basic Personal Amount (BPAF) 'BC' => 11070, 'AB' => 19369, 'SK' => 16225, 'MB' => 9936, 'QC' => 0, 'ON' => 10880, 'NL' => 9536, 'NB' => 10564, 'NS' => 11481, //See NS.class.php, as there are a low and high basic claim amounts now. 'PE' => 10500, 'NT' => 15243, 'YT' => ['min' => 12421, 'max' => 13808, 'phase_out_start' => 151978, 'phase_out_end' => 216511], //Federal - This is now phased out if net income is ~$150K or less, see Federal Basic Personal Amount (BPAF) 'NU' => 16467, ], 20200701 => [ //01-Jul-2020: 'CA' => ['min' => 12298, 'max' => 13229, 'phase_out_start' => 150473, 'phase_out_end' => 214368], //Federal - This is now phased out if net income is ~$150K or less, see Federal Basic Personal Amount (BPAF) 'BC' => 10949, 'AB' => 19369, 'SK' => 16065, 'MB' => 9838, 'QC' => 0, 'ON' => 10783, 'NL' => 9498, 'NB' => 10459, 'NS' => 11481, //See NS.class.php, as there are a low and high basic claim amounts now. 'PE' => 10000, 'NT' => 15093, 'YT' => ['min' => 12298, 'max' => 14160, 'phase_out_start' => 150473, 'phase_out_end' => 214368], //YT - This is now phased out if net income is ~$150K or less, see Yukon Basic Personal Amount (BPAYT) 'NU' => 16304, ], 20200101 => [ //01-Jan-2020: 'CA' => ['min' => 12298, 'max' => 13229, 'phase_out_start' => 150473, 'phase_out_end' => 214368], //Federal - This is now phased out if net income is ~$150K or less, see Federal Basic Personal Amount (BPAF) 'BC' => 10949, 'AB' => 19369, 'SK' => 16065, 'MB' => 9838, 'QC' => 0, 'ON' => 10783, 'NL' => 9498, 'NB' => 10459, 'NS' => 11481, //See NS.class.php, as there are a low and high basic claim amounts now. 'PE' => 10000, 'NT' => 15093, 'YT' => 12298, 'NU' => 16304, ], 20190101 => [ //01-Jan-2019: 'CA' => 12069, //Federal 'BC' => 10682, 'AB' => 19369, 'SK' => 16065, 'MB' => 9626, 'QC' => 0, 'ON' => 10582, 'NL' => 9414, 'NB' => 10264, 'NS' => 11481, //See NS.class.php, as there are a low and high basic claim amounts now. 'PE' => 9160, 'NT' => 14811, 'YT' => 12069, 'NU' => 13618, ], 20180701 => [ //01-Jul-2018: 'CA' => 11809, //Federal 'BC' => 10412, 'AB' => 18915, 'SK' => 16065, 'MB' => 9382, 'QC' => 0, 'ON' => 10354, 'NL' => 9247, 'NB' => 10043, 'NS' => 11481, //See NS.class.php, as there are a low and high basic claim amounts now. 'PE' => 9160, 'NT' => 14492, 'YT' => 11809, 'NU' => 13325, ], 20180101 => [ //01-Jan-2018: 'CA' => 11809, //Federal 'BC' => 10412, 'AB' => 18915, 'SK' => 16065, 'MB' => 9382, 'QC' => 0, 'ON' => 10354, 'NL' => 9247, 'NB' => 10043, 'NS' => 11481, //See NS.class.php, as there are a low and high basic claim amounts now. 'PE' => 8160, 'NT' => 14492, 'YT' => 11809, 'NU' => 13325, ], 20170701 => [ //01-Jul-2017: 'CA' => 11635, //Federal 'BC' => 10208, 'AB' => 18690, 'SK' => 16065, 'MB' => 9271, 'QC' => 0, 'ON' => 10171, 'NL' => 8978, 'NB' => 9895, 'NS' => 8481, 'PE' => 8320, 'NT' => 14278, 'YT' => 11635, 'NU' => 13128, ], 20170101 => [ //01-Jan-2017: 'CA' => 11635, //Federal 'BC' => 10208, 'AB' => 18690, 'SK' => 16065, 'MB' => 9271, 'QC' => 0, 'ON' => 10171, 'NL' => 8978, 'NB' => 9895, 'NS' => 8481, 'PE' => 8000, 'NT' => 14278, 'YT' => 11635, 'NU' => 13128, ], 20160701 => [ //01-Jul-2016: 'CA' => 11474, //Federal 'BC' => 10027, 'AB' => 18451, 'SK' => 15843, 'MB' => 9134, 'QC' => 0, 'ON' => 10011, 'NL' => 8802, 'NB' => 9758, 'NS' => 8481, 'PE' => 8292, 'NT' => 14081, 'YT' => 11474, 'NU' => 12947, ], 20160101 => [ //01-Jan-2016: 'CA' => 11474, //Federal 'BC' => 10027, 'AB' => 18451, 'SK' => 15843, 'MB' => 9134, 'QC' => 0, 'ON' => 10011, 'NL' => 8802, 'NB' => 9758, 'NS' => 8481, 'PE' => 7708, 'NT' => 14081, 'YT' => 11474, 'NU' => 12947, ], 20150101 => [ //01-Jan-2015: 'CA' => 11327, //Federal 'BC' => 9938, 'AB' => 18214, 'SK' => 15639, 'MB' => 9134, 'QC' => 0, 'ON' => 9863, 'NL' => 8767, 'NB' => 9633, 'NS' => 8481, 'PE' => 7708, 'NT' => 13900, 'YT' => 11327, 'NU' => 12781, ], 20140101 => [ //01-Jan-2014: 'CA' => 11138, //Federal 'BC' => 9869, 'AB' => 17787, 'SK' => 15378, 'MB' => 9134, 'QC' => 0, 'ON' => 9670, 'NL' => 8578, 'NB' => 9472, 'NS' => 8481, 'PE' => 7708, 'NT' => 13668, 'YT' => 11138, 'NU' => 12567, ], 20130101 => [ //01-Jan-2013: 'CA' => 11038, //Federal 'BC' => 10276, 'AB' => 17593, 'SK' => 15241, 'MB' => 8884, 'QC' => 0, 'ON' => 9574, 'NL' => 8451, 'NB' => 9388, 'NS' => 8481, 'PE' => 7708, 'NT' => 13546, 'YT' => 11038, 'NU' => 12455, ], 20120101 => [ //01-Jan-2012: 'CA' => 10822, //Federal 'BC' => 11354, 'AB' => 17282, 'SK' => 14942, 'MB' => 8634, 'QC' => 0, 'ON' => 9405, 'NL' => 8237, 'NB' => 9203, 'NS' => 8481, 'PE' => 7708, 'NT' => 13280, 'YT' => 10822, 'NU' => 12211, ], 20110701 => [ //01-Jul-2011: Some of these are only changed for the last 6mths in the year. 'CA' => 10527, //Federal 'BC' => 11088, 'AB' => 16977, 'SK' => 14535, 'MB' => 8634, 'QC' => 0, 'ON' => 9104, 'NL' => 7989, 'NB' => 8953, 'NS' => 8731, 'PE' => 7708, 'NT' => 12919, 'YT' => 10527, 'NU' => 11878, ], 20110101 => [ //01-Jan-2011 'CA' => 10527, //Federal 'BC' => 11088, 'AB' => 16977, 'SK' => 13535, 'MB' => 8134, 'QC' => 0, 'ON' => 9104, 'NL' => 7989, 'NB' => 8953, 'NS' => 8231, 'PE' => 7708, 'NT' => 12919, 'YT' => 10527, 'NU' => 11878, ], 20100101 => [ //01-Jan-2010 'CA' => 10382, //Federal 'BC' => 11000, 'AB' => 16825, 'SK' => 13348, 'MB' => 8134, 'QC' => 0, 'ON' => 8943, 'NL' => 7833, 'NB' => 8777, 'NS' => 8231, 'PE' => 7708, 'NT' => 12740, 'YT' => 10382, 'NU' => 11714, ], 20090401 => [ //01-Apr-09 'CA' => 10375, //Federal 'BC' => 9373, 'AB' => 16775, 'SK' => 13269, 'MB' => 8134, 'QC' => 0, 'ON' => 8881, 'NL' => 7778, 'NB' => 8134, 'NS' => 7981, 'PE' => 7708, 'NT' => 12664, 'YT' => 10375, 'NU' => 11644, ], 20090101 => [ //01-Jan-09 'CA' => 10100, //Federal 'BC' => 9373, 'AB' => 16775, 'SK' => 13269, 'MB' => 8134, 'QC' => 0, 'ON' => 8881, 'NL' => 7778, 'NB' => 8134, 'NS' => 7981, 'PE' => 7708, 'NT' => 12664, 'YT' => 10100, 'NU' => 11644, ], 20080101 => [ //01-Jan-08 'CA' => 9600, //Federal 'BC' => 9189, 'AB' => 16161, 'SK' => 8945, 'MB' => 8034, 'QC' => 0, 'ON' => 8681, 'NL' => 7566, 'NB' => 8395, 'NS' => 7731, 'PE' => 7708, 'NT' => 12355, 'YT' => 9600, 'NU' => 11360, ], 20070701 => [ //01-Jul-07 'CA' => 8929, //Federal 'BC' => 9027, 'AB' => 15435, 'SK' => 8778, 'MB' => 7834, 'QC' => 0, 'ON' => 8553, 'NL' => 7558, 'NB' => 8239, 'NS' => 7481, 'PE' => 7708, 'NT' => 12125, 'YT' => 8929, 'NU' => 11149, ], 20070101 => [ //01-Jan-07 'CA' => 8929, //Federal 'BC' => 9027, 'AB' => 15435, 'SK' => 8778, 'MB' => 7834, 'QC' => 0, 'ON' => 8553, 'NL' => 7410, 'NB' => 8239, 'NS' => 7481, 'PE' => 7412, 'NT' => 12125, 'YT' => 8929, 'NU' => 11149, ], 20060701 => [ //01-Jul-06 'CA' => 8639, //Federal 'BC' => 8858, 'AB' => 14999, 'SK' => 8589, 'MB' => 7734, 'QC' => 0, 'ON' => 8377, 'NL' => 7410, 'NB' => 8061, 'NS' => 7231, 'PE' => 7412, 'NT' => 11864, 'YT' => 8328, 'NU' => 10909, ], 20060101 => [ //01-Jan-06 'CA' => 9039, //Federal 'BC' => 8858, 'AB' => 14799, 'SK' => 8589, 'MB' => 7734, 'QC' => 0, 'ON' => 8377, 'NL' => 7410, 'NB' => 8061, 'NS' => 7231, 'PE' => 7412, 'NT' => 11864, 'YT' => 8328, 'NU' => 10909, ]]

$country_primary_currency

public mixed $country_primary_currency = 'CAD'

$cpp_options

public mixed $cpp_options = [20220101 => [ //2022 'maximum_pensionable_earnings' => 61400, //Yes, went down from last year. 'basic_exemption' => 3500, 'employee_rate' => 0.057, 'employee_maximum_contribution' => 3499.8, ], 20210101 => [ //2021 'maximum_pensionable_earnings' => 61600, 'basic_exemption' => 3500, 'employee_rate' => 0.0545, 'employee_maximum_contribution' => 3166.45, ], 20200101 => [ //2020 'maximum_pensionable_earnings' => 58700, 'basic_exemption' => 3500, 'employee_rate' => 0.0525, 'employee_maximum_contribution' => 2898.0, ], 20190101 => [ //2019 'maximum_pensionable_earnings' => 57400, 'basic_exemption' => 3500, 'employee_rate' => 0.051, 'employee_maximum_contribution' => 2748.9, ], 20180101 => [ //2018 'maximum_pensionable_earnings' => 55900, 'basic_exemption' => 3500, 'employee_rate' => 0.0495, 'employee_maximum_contribution' => 2593.8, ], 20170101 => [ //2017 'maximum_pensionable_earnings' => 55300, 'basic_exemption' => 3500, 'employee_rate' => 0.0495, 'employee_maximum_contribution' => 2564.1, ], 20160101 => [ //2016 'maximum_pensionable_earnings' => 54900, 'basic_exemption' => 3500, 'employee_rate' => 0.0495, 'employee_maximum_contribution' => 2544.3, ], 20150101 => [ //2015 'maximum_pensionable_earnings' => 53600, 'basic_exemption' => 3500, 'employee_rate' => 0.0495, 'employee_maximum_contribution' => 2479.95, ], 20140101 => [ //2014 'maximum_pensionable_earnings' => 52500, 'basic_exemption' => 3500, 'employee_rate' => 0.0495, 'employee_maximum_contribution' => 2425.5, ], 20130101 => [ //2013 'maximum_pensionable_earnings' => 51100, 'basic_exemption' => 3500, 'employee_rate' => 0.0495, 'employee_maximum_contribution' => 2356.2, ], 20120101 => [ //2012 'maximum_pensionable_earnings' => 50100, 'basic_exemption' => 3500, 'employee_rate' => 0.0495, 'employee_maximum_contribution' => 2306.7, ], 20110101 => [ //2011 'maximum_pensionable_earnings' => 48300, 'basic_exemption' => 3500, 'employee_rate' => 0.0495, 'employee_maximum_contribution' => 2217.6, ], 20100101 => [ //2010 'maximum_pensionable_earnings' => 47200, 'basic_exemption' => 3500, 'employee_rate' => 0.0495, 'employee_maximum_contribution' => 2163.15, ], 20090101 => [ //2009 'maximum_pensionable_earnings' => 46300, 'basic_exemption' => 3500, 'employee_rate' => 0.0495, 'employee_maximum_contribution' => 2118.6, ], 20080101 => [ //2008 'maximum_pensionable_earnings' => 44900, 'basic_exemption' => 3500, 'employee_rate' => 0.0495, 'employee_maximum_contribution' => 2049.3, ], 20070101 => [ //2007 'maximum_pensionable_earnings' => 43700, 'basic_exemption' => 3500, 'employee_rate' => 0.0495, 'employee_maximum_contribution' => 1989.9, ], 20060101 => [ //2006 'maximum_pensionable_earnings' => 42100, 'basic_exemption' => 3500, 'employee_rate' => 0.0495, 'employee_maximum_contribution' => 1910.7, ], 20050101 => [ //2005 'maximum_pensionable_earnings' => 41100, 'basic_exemption' => 3500, 'employee_rate' => 0.0495, 'employee_maximum_contribution' => 1861.2, ], 20040101 => [ //2004 'maximum_pensionable_earnings' => 40500, 'basic_exemption' => 3500, 'employee_rate' => 0.0495, 'employee_maximum_contribution' => 1831.5, ]]

$ei_options

public mixed $ei_options = [20220101 => [ //2022 'maximum_insurable_earnings' => 60300, 'employee_rate' => 0.0158, 'employee_maximum_contribution' => 952.74, 'employer_rate' => 1.4, ], 20210101 => [ //2021 'maximum_insurable_earnings' => 56300, 'employee_rate' => 0.0158, 'employee_maximum_contribution' => 889.54, 'employer_rate' => 1.4, ], 20200101 => [ //2020 'maximum_insurable_earnings' => 54200, 'employee_rate' => 0.0158, 'employee_maximum_contribution' => 856.36, 'employer_rate' => 1.4, ], 20190101 => [ //2019 'maximum_insurable_earnings' => 53100, 'employee_rate' => 0.0162, 'employee_maximum_contribution' => 860.22, 'employer_rate' => 1.4, ], 20180101 => [ //2018 'maximum_insurable_earnings' => 51700, 'employee_rate' => 0.0166, 'employee_maximum_contribution' => 858.22, 'employer_rate' => 1.4, ], 20170101 => [ //2017 'maximum_insurable_earnings' => 51300, 'employee_rate' => 0.0163, 'employee_maximum_contribution' => 836.1900000000001, 'employer_rate' => 1.4, ], 20160101 => [ //2016 'maximum_insurable_earnings' => 50800, 'employee_rate' => 0.0188, 'employee_maximum_contribution' => 955.04, 'employer_rate' => 1.4, ], 20150101 => [ //2015 'maximum_insurable_earnings' => 49500, 'employee_rate' => 0.0188, 'employee_maximum_contribution' => 930.6, 'employer_rate' => 1.4, ], 20140101 => [ //2014 'maximum_insurable_earnings' => 48600, 'employee_rate' => 0.0188, 'employee_maximum_contribution' => 913.6799999999999, 'employer_rate' => 1.4, ], 20130101 => [ //2013 'maximum_insurable_earnings' => 47400, 'employee_rate' => 0.0188, 'employee_maximum_contribution' => 891.12, 'employer_rate' => 1.4, ], 20120101 => [ //2012 'maximum_insurable_earnings' => 45900, 'employee_rate' => 0.0183, 'employee_maximum_contribution' => 839.97, 'employer_rate' => 1.4, ], 20110101 => [ //2011 'maximum_insurable_earnings' => 44200, 'employee_rate' => 0.0178, 'employee_maximum_contribution' => 786.76, 'employer_rate' => 1.4, ], 20100101 => [ //2010 'maximum_insurable_earnings' => 43200, 'employee_rate' => 0.0173, 'employee_maximum_contribution' => 747.36, 'employer_rate' => 1.4, ], 20090101 => [ //2009 'maximum_insurable_earnings' => 42300, 'employee_rate' => 0.0173, 'employee_maximum_contribution' => 731.79, 'employer_rate' => 1.4, ], 20080101 => [ //2008 'maximum_insurable_earnings' => 41100, 'employee_rate' => 0.0173, 'employee_maximum_contribution' => 711.03, 'employer_rate' => 1.4, ], 20070101 => [ //2007 'maximum_insurable_earnings' => 40000, 'employee_rate' => 0.018, 'employee_maximum_contribution' => 720.0, 'employer_rate' => 1.4, ], 20060101 => [ //2006 'maximum_insurable_earnings' => 39000, 'employee_rate' => 0.0187, 'employee_maximum_contribution' => 729.3, 'employer_rate' => 1.4, ], 20050101 => [ //2005 'maximum_insurable_earnings' => 39000, 'employee_rate' => 0.0195, 'employee_maximum_contribution' => 760.5, 'employer_rate' => 1.4, ], 20040101 => [ //2004 'maximum_insurable_earnings' => 39900, 'employee_rate' => 0.0198, 'employee_maximum_contribution' => 722.2, 'employer_rate' => 1.4, ]]

$federal_employment_credit_options

public mixed $federal_employment_credit_options = [20220101 => ['credit' => 1287], 20210101 => ['credit' => 1257], 20200101 => ['credit' => 1245], 20190101 => ['credit' => 1222], 20180101 => ['credit' => 1195], 20170101 => ['credit' => 1178], 20160101 => ['credit' => 1161], 20150101 => ['credit' => 1146], 20140101 => ['credit' => 1127], 20130101 => ['credit' => 1117], 20120101 => ['credit' => 1095], 20110101 => ['credit' => 1065], 20100101 => ['credit' => 1051], 20090101 => ['credit' => 1044], 20080101 => ['credit' => 1019], 20070101 => ['credit' => 1000], 20060101 => ['credit' => 500]]

$federal_income_tax_rate_options

public mixed $federal_income_tax_rate_options = [20220101 => [['income' => 50197, 'rate' => 15, 'constant' => 0], ['income' => 100393, 'rate' => 20.5, 'constant' => 2761], ['income' => 155625, 'rate' => 26, 'constant' => 8282], ['income' => 221708, 'rate' => 29, 'constant' => 12951], ['income' => 221708, 'rate' => 33, 'constant' => 21819]], 20210101 => [['income' => 49020, 'rate' => 15, 'constant' => 0], ['income' => 98040, 'rate' => 20.5, 'constant' => 2696], ['income' => 151978, 'rate' => 26, 'constant' => 8088], ['income' => 216511, 'rate' => 29, 'constant' => 12648], ['income' => 216511, 'rate' => 33, 'constant' => 21308]], 20200101 => [['income' => 48535, 'rate' => 15, 'constant' => 0], ['income' => 97069, 'rate' => 20.5, 'constant' => 2669], ['income' => 150473, 'rate' => 26, 'constant' => 8008], ['income' => 214368, 'rate' => 29, 'constant' => 12522], ['income' => 214368, 'rate' => 33, 'constant' => 21097]], 20190101 => [['income' => 47630, 'rate' => 15, 'constant' => 0], ['income' => 95259, 'rate' => 20.5, 'constant' => 2620], ['income' => 147667, 'rate' => 26, 'constant' => 7859], ['income' => 210371, 'rate' => 29, 'constant' => 12289], ['income' => 210371, 'rate' => 33, 'constant' => 20704]], 20180101 => [['income' => 46605, 'rate' => 15, 'constant' => 0], ['income' => 93208, 'rate' => 20.5, 'constant' => 2563], ['income' => 144489, 'rate' => 26, 'constant' => 7690], ['income' => 205842, 'rate' => 29, 'constant' => 12024], ['income' => 205842, 'rate' => 33, 'constant' => 20258]], 20170101 => [['income' => 45916, 'rate' => 15, 'constant' => 0], ['income' => 91831, 'rate' => 20.5, 'constant' => 2525], ['income' => 142353, 'rate' => 26, 'constant' => 7576], ['income' => 202800, 'rate' => 29, 'constant' => 11847], ['income' => 202800, 'rate' => 33, 'constant' => 19959]], 20160101 => [['income' => 45282, 'rate' => 15, 'constant' => 0], ['income' => 90563, 'rate' => 20.5, 'constant' => 2491], ['income' => 140388, 'rate' => 26, 'constant' => 7471], ['income' => 200000, 'rate' => 29, 'constant' => 11683], ['income' => 200000, 'rate' => 33, 'constant' => 19683]], 20150101 => [['income' => 44701, 'rate' => 15, 'constant' => 0], ['income' => 89401, 'rate' => 22, 'constant' => 3129], ['income' => 138586, 'rate' => 26, 'constant' => 6705], ['income' => 138586, 'rate' => 29, 'constant' => 10863]], 20140101 => [['income' => 43953, 'rate' => 15, 'constant' => 0], ['income' => 87907, 'rate' => 22, 'constant' => 3077], ['income' => 136270, 'rate' => 26, 'constant' => 6593], ['income' => 136270, 'rate' => 29, 'constant' => 10681]], 20130101 => [['income' => 43561, 'rate' => 15, 'constant' => 0], ['income' => 87123, 'rate' => 22, 'constant' => 3049], ['income' => 135054, 'rate' => 26, 'constant' => 6534], ['income' => 135054, 'rate' => 29, 'constant' => 10586]], 20120101 => [['income' => 42707, 'rate' => 15, 'constant' => 0], ['income' => 85414, 'rate' => 22, 'constant' => 2989], ['income' => 132406, 'rate' => 26, 'constant' => 6406], ['income' => 132406, 'rate' => 29, 'constant' => 10378]], 20110101 => [['income' => 41544, 'rate' => 15, 'constant' => 0], ['income' => 83088, 'rate' => 22, 'constant' => 2908], ['income' => 128800, 'rate' => 26, 'constant' => 6232], ['income' => 128800, 'rate' => 29, 'constant' => 10096]], 20100101 => [['income' => 40970, 'rate' => 15, 'constant' => 0], ['income' => 81941, 'rate' => 22, 'constant' => 2868], ['income' => 127021, 'rate' => 26, 'constant' => 6146], ['income' => 127021, 'rate' => 29, 'constant' => 9956]], 20090401 => [['income' => 41200, 'rate' => 15, 'constant' => 0], ['income' => 82399, 'rate' => 22, 'constant' => 2884], ['income' => 126264, 'rate' => 26, 'constant' => 6180], ['income' => 126264, 'rate' => 29, 'constant' => 9968]], 20090101 => [['income' => 38832, 'rate' => 15, 'constant' => 0], ['income' => 77664, 'rate' => 22, 'constant' => 2718], ['income' => 126264, 'rate' => 26, 'constant' => 5825], ['income' => 126264, 'rate' => 29, 'constant' => 9613]], 20080101 => [['income' => 37885, 'rate' => 15, 'constant' => 0], ['income' => 75769, 'rate' => 22, 'constant' => 2652], ['income' => 123184, 'rate' => 26, 'constant' => 5683], ['income' => 123184, 'rate' => 29, 'constant' => 9378]], 20070101 => [['income' => 37178, 'rate' => 15.5, 'constant' => 0], ['income' => 74357, 'rate' => 22, 'constant' => 2417], ['income' => 120887, 'rate' => 26, 'constant' => 5391], ['income' => 120887, 'rate' => 29, 'constant' => 9017]], 20060701 => [['income' => 36378, 'rate' => 15.5, 'constant' => 0], ['income' => 72756, 'rate' => 22, 'constant' => 2365], ['income' => 118285, 'rate' => 26, 'constant' => 5275], ['income' => 118285, 'rate' => 29, 'constant' => 8823]], 20060101 => [['income' => 36378, 'rate' => 15, 'constant' => 0], ['income' => 72756, 'rate' => 22, 'constant' => 2546], ['income' => 118285, 'rate' => 26, 'constant' => 5457], ['income' => 118285, 'rate' => 29, 'constant' => 9005]], 20050101 => [['income' => 35595, 'rate' => 16, 'constant' => 0], ['income' => 71190, 'rate' => 22, 'constant' => 2136], ['income' => 115739, 'rate' => 26, 'constant' => 4983], ['income' => 115739, 'rate' => 29, 'constant' => 8455]], 20040101 => [['income' => 35000, 'rate' => 16, 'constant' => 0], ['income' => 70000, 'rate' => 22, 'constant' => 2100], ['income' => 113804, 'rate' => 26, 'constant' => 4900], ['income' => 113804, 'rate' => 29, 'constant' => 8314]], 20030101 => [['income' => 35000, 'rate' => 16, 'constant' => 0], ['income' => 70000, 'rate' => 22, 'constant' => 2100], ['income' => 113804, 'rate' => 26, 'constant' => 4900], ['income' => 113804, 'rate' => 29, 'constant' => 8314]], 20020101 => [['income' => 35000, 'rate' => 16, 'constant' => 0], ['income' => 70000, 'rate' => 22, 'constant' => 2100], ['income' => 113804, 'rate' => 26, 'constant' => 4900], ['income' => 113804, 'rate' => 29, 'constant' => 8314]], 20010101 => [['income' => 35000, 'rate' => 16, 'constant' => 0], ['income' => 70000, 'rate' => 22, 'constant' => 2100], ['income' => 113804, 'rate' => 26, 'constant' => 4900], ['income' => 113804, 'rate' => 29, 'constant' => 8314]]]

$income_tax_rates

public mixed $income_tax_rates = []

$provincial_income_tax_rate_options

public mixed $provincial_income_tax_rate_options = [20220101 => [['income' => 34431, 'rate' => 10.8, 'constant' => 0], ['income' => 74416, 'rate' => 12.75, 'constant' => 671], ['income' => 74416, 'rate' => 17.4, 'constant' => 4132]], 20210101 => [['income' => 33723, 'rate' => 10.8, 'constant' => 0], ['income' => 72885, 'rate' => 12.75, 'constant' => 658], ['income' => 72885, 'rate' => 17.4, 'constant' => 4047]], 20200101 => [['income' => 33389, 'rate' => 10.8, 'constant' => 0], ['income' => 72164, 'rate' => 12.75, 'constant' => 651], ['income' => 72164, 'rate' => 17.4, 'constant' => 4007]], 20190101 => [['income' => 32670, 'rate' => 10.8, 'constant' => 0], ['income' => 70610, 'rate' => 12.75, 'constant' => 637], ['income' => 70610, 'rate' => 17.4, 'constant' => 3920]], 20180101 => [['income' => 31843, 'rate' => 10.8, 'constant' => 0], ['income' => 68821, 'rate' => 12.75, 'constant' => 621], ['income' => 68821, 'rate' => 17.4, 'constant' => 3821]], 20170101 => [['income' => 31465, 'rate' => 10.8, 'constant' => 0], ['income' => 68005, 'rate' => 12.75, 'constant' => 614], ['income' => 68005, 'rate' => 17.4, 'constant' => 3776]], 20090101 => [['income' => 31000, 'rate' => 10.8, 'constant' => 0], ['income' => 67000, 'rate' => 12.75, 'constant' => 605], ['income' => 67000, 'rate' => 17.4, 'constant' => 3720]], 20080101 => [['income' => 30544, 'rate' => 10.9, 'constant' => 0], ['income' => 66000, 'rate' => 12.75, 'constant' => 565], ['income' => 66000, 'rate' => 17.4, 'constant' => 3634]], 20070101 => [['income' => 30544, 'rate' => 10.9, 'constant' => 0], ['income' => 65000, 'rate' => 13.0, 'constant' => 641], ['income' => 65000, 'rate' => 17.4, 'constant' => 3501]], 20060101 => [['income' => 30544, 'rate' => 10.9, 'constant' => 0], ['income' => 65000, 'rate' => 13.5, 'constant' => 794], ['income' => 65000, 'rate' => 17.4, 'constant' => 3329]]]

Methods

__construct()

public __construct() : mixed
Return values
mixed

calcNonPeriodicDeduction()

public calcNonPeriodicDeduction(mixed $annual_tax_payable, mixed $ytd_deduction) : mixed
Parameters
$annual_tax_payable : mixed
$ytd_deduction : mixed
Return values
mixed

calcNonPeriodicIncome()

public calcNonPeriodicIncome(mixed $ytd_gross_income, mixed $gross_pp_income) : mixed
Parameters
$ytd_gross_income : mixed
$gross_pp_income : mixed
Return values
mixed

convertToCountryCurrency()

public convertToCountryCurrency(mixed $amount) : mixed
Parameters
$amount : mixed
Return values
mixed

convertToUserCurrency()

public convertToUserCurrency(mixed $amount) : mixed
Parameters
$amount : mixed
Return values
mixed

getAdditionalProvincialSurtax()

public getAdditionalProvincialSurtax() : mixed
Return values
mixed

getAnnualizingFactor()

public getAnnualizingFactor([mixed $reverse = false ]) : mixed
Parameters
$reverse : mixed = false
Return values
mixed

getAnnualTaxableIncome()

public getAnnualTaxableIncome() : mixed
Return values
mixed

getArray()

public getArray() : mixed
Return values
mixed

getBasicClaimCodeData()

public getBasicClaimCodeData(mixed $date) : mixed
Parameters
$date : mixed
Return values
mixed

getBasicFederalClaimCodeAmount()

public getBasicFederalClaimCodeAmount([mixed $date = false ]) : mixed
Parameters
$date : mixed = false
Return values
mixed

getBasicPersonalAmount()

public getBasicPersonalAmount([mixed $province = 'CA' ]) : mixed
Parameters
$province : mixed = 'CA'
Return values
mixed

getBasicProvinceClaimCodeAmount()

public getBasicProvinceClaimCodeAmount([mixed $date = false ]) : mixed
Parameters
$date : mixed = false
Return values
mixed

getCPPBasicExemption()

public getCPPBasicExemption() : mixed
Return values
mixed

getCPPData()

public getCPPData(mixed $date) : mixed
Parameters
$date : mixed
Return values
mixed

getCPPEmployeeMaximumContribution()

public getCPPEmployeeMaximumContribution() : mixed
Return values
mixed

getCPPEmployeeRate()

public getCPPEmployeeRate() : mixed
Return values
mixed

getCPPExempt()

public getCPPExempt() : mixed
Return values
mixed

getCPPMaximumEarnings()

public getCPPMaximumEarnings() : mixed
Return values
mixed

getCPPTaxCredit()

public getCPPTaxCredit(mixed $type) : mixed
Parameters
$type : mixed
Return values
mixed

getData()

public getData() : mixed
Return values
mixed

getDataFromRateArray()

public getDataFromRateArray(mixed $epoch, mixed $arr) : mixed
Parameters
$epoch : mixed
$arr : mixed
Return values
mixed

getEIData()

public getEIData(mixed $date) : mixed
Parameters
$date : mixed
Return values
mixed

getEIEmployeeMaximumContribution()

public getEIEmployeeMaximumContribution() : mixed
Return values
mixed

getEIEmployeeRate()

public getEIEmployeeRate() : mixed
Return values
mixed

getEIEmployerRate()

public getEIEmployerRate() : mixed
Return values
mixed

getEIExempt()

public getEIExempt() : mixed
Return values
mixed

getEIMaximumEarnings()

public getEIMaximumEarnings() : mixed
Return values
mixed

getEITaxCredit()

public getEITaxCredit(mixed $type) : mixed
Parameters
$type : mixed
Return values
mixed

getEmployeeCPP()

public getEmployeeCPP() : mixed
Return values
mixed

getEmployeeCPPForPayPeriod()

public getEmployeeCPPForPayPeriod() : mixed
Return values
mixed

getEmployeeEI()

public getEmployeeEI() : mixed
Return values
mixed

getEmployeeEIForPayPeriod()

public getEmployeeEIForPayPeriod() : mixed
Return values
mixed

getEmployerCPP()

public getEmployerCPP() : mixed
Return values
mixed

getEmployerEI()

public getEmployerEI() : mixed
Return values
mixed

getEnableCPPAndEIDeduction()

public getEnableCPPAndEIDeduction() : mixed
Return values
mixed

getFederalAdditionalDeduction()

public getFederalAdditionalDeduction() : mixed
Return values
mixed

getFederalBasicTax()

public getFederalBasicTax() : mixed
Return values
mixed

getFederalConstant()

public getFederalConstant(mixed $income) : mixed
Parameters
$income : mixed
Return values
mixed

getFederalCPPAndEITaxCredit()

public getFederalCPPAndEITaxCredit() : mixed
Return values
mixed

getFederalEmploymentCredit()

public getFederalEmploymentCredit() : mixed
Return values
mixed

getFederalEmploymentCreditAmount()

public getFederalEmploymentCreditAmount() : mixed
Return values
mixed

getFederalEmploymentCreditData()

public getFederalEmploymentCreditData(mixed $date) : mixed
Parameters
$date : mixed
Return values
mixed

getFederalHighestRate()

public getFederalHighestRate() : mixed
Return values
mixed

getFederalLowestRate()

public getFederalLowestRate() : mixed
Return values
mixed

getFederalPayPeriodDeductions()

public getFederalPayPeriodDeductions() : mixed
Return values
mixed

getFederalRate()

public getFederalRate(mixed $income) : mixed
Parameters
$income : mixed
Return values
mixed

getFederalTaxExempt()

public getFederalTaxExempt() : mixed
Return values
mixed

getFederalTaxPayable()

public getFederalTaxPayable() : mixed
Return values
mixed

getFederalTotalClaimAmount()

public getFederalTotalClaimAmount() : mixed
Return values
mixed

getPayPeriodEmployeeNetPay()

public getPayPeriodEmployeeNetPay() : mixed
Return values
mixed

getPayPeriodEmployeeTotalDeductions()

public getPayPeriodEmployeeTotalDeductions() : mixed
Return values
mixed

getPayPeriodTaxDeductions()

public getPayPeriodTaxDeductions() : mixed
Return values
mixed

getProvincialBasicTax()

public getProvincialBasicTax() : mixed
Return values
mixed

getProvincialConstant()

public getProvincialConstant(mixed $income) : mixed
Parameters
$income : mixed
Return values
mixed

getProvincialCPPAndEITaxCredit()

public getProvincialCPPAndEITaxCredit() : mixed
Return values
mixed

getProvincialEmploymentCredit()

public getProvincialEmploymentCredit() : mixed
Return values
mixed

getProvincialHighestRate()

public getProvincialHighestRate() : mixed
Return values
mixed

getProvincialLowestRate()

public getProvincialLowestRate() : mixed
Return values
mixed

getProvincialPayPeriodDeductions()

public getProvincialPayPeriodDeductions() : mixed
Return values
mixed

getProvincialRate()

public getProvincialRate(mixed $income) : mixed
Parameters
$income : mixed
Return values
mixed

getProvincialSurtax()

public getProvincialSurtax() : mixed
Return values
mixed

getProvincialSurTaxData()

public getProvincialSurTaxData(mixed $date) : mixed
Parameters
$date : mixed
Return values
mixed

getProvincialTaxExempt()

public getProvincialTaxExempt() : mixed
Return values
mixed

getProvincialTaxPayable()

public getProvincialTaxPayable() : mixed
Return values
mixed

getProvincialTaxReduction()

public getProvincialTaxReduction() : mixed
Return values
mixed

getProvincialTaxReductionData()

public getProvincialTaxReductionData(mixed $date) : mixed
Parameters
$date : mixed
Return values
mixed

getProvincialTotalClaimAmount()

public getProvincialTotalClaimAmount() : mixed
Return values
mixed

getUnionDuesAmount()

public getUnionDuesAmount() : mixed
Return values
mixed

getYearToDateCPPContribution()

public getYearToDateCPPContribution() : mixed
Return values
mixed

getYearToDateEIContribution()

public getYearToDateEIContribution() : mixed
Return values
mixed

setAnnualPayPeriods()

public setAnnualPayPeriods(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

setCPPExempt()

public setCPPExempt(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

setCurrentPayPeriod()

public setCurrentPayPeriod(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

setCurrentPayrollRunID()

public setCurrentPayrollRunID(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

setEIExempt()

public setEIExempt(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

setEmployeeCPPForPayPeriod()

public setEmployeeCPPForPayPeriod(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

setEmployeeEIForPayPeriod()

public setEmployeeEIForPayPeriod(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

setEnableCPPAndEIDeduction()

public setEnableCPPAndEIDeduction(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

setFederalAdditionalDeduction()

public setFederalAdditionalDeduction(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

setFederalTaxExempt()

public setFederalTaxExempt(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

setFederalTotalClaimAmount()

public setFederalTotalClaimAmount(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

setFormulaType()

public setFormulaType(mixed $type_id) : mixed
Parameters
$type_id : mixed
Return values
mixed

setGrossPayPeriodIncome()

public setGrossPayPeriodIncome(mixed $income) : mixed
Parameters
$income : mixed
Return values
mixed

setHireAdjustedAnnualPayPeriods()

public setHireAdjustedAnnualPayPeriods(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

setHireAdjustedCurrentPayPeriod()

public setHireAdjustedCurrentPayPeriod(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

setProvincialTaxExempt()

public setProvincialTaxExempt(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

setProvincialTotalClaimAmount()

public setProvincialTotalClaimAmount(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

setUnionDuesAmount()

public setUnionDuesAmount(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

setUserCurrency()

public setUserCurrency(mixed $currency_id) : mixed
Parameters
$currency_id : mixed
Return values
mixed

setYearToDateCPPContribution()

public setYearToDateCPPContribution(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

setYearToDateDeduction()

public setYearToDateDeduction(mixed $amount) : mixed
Parameters
$amount : mixed
Return values
mixed

setYearToDateEIContribution()

public setYearToDateEIContribution(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

setYearToDateGrossIncome()

public setYearToDateGrossIncome(mixed $income) : mixed
Parameters
$income : mixed
Return values
mixed

getRateArray()

private getRateArray(mixed $income, mixed $type) : mixed
Parameters
$income : mixed
$type : mixed
Return values
mixed

Search results