204 lines
9.5 KiB
PHP
204 lines
9.5 KiB
PHP
<?php
|
|
/*********************************************************************************
|
|
*
|
|
* TimeTrex is a Workforce Management program developed by
|
|
* TimeTrex Software Inc. Copyright (C) 2003 - 2021 TimeTrex Software Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it under
|
|
* the terms of the GNU Affero General Public License version 3 as published by
|
|
* the Free Software Foundation with the addition of the following permission
|
|
* added to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED
|
|
* WORK IN WHICH THE COPYRIGHT IS OWNED BY TIMETREX, TIMETREX DISCLAIMS THE
|
|
* WARRANTY OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
|
|
* details.
|
|
*
|
|
*
|
|
* You should have received a copy of the GNU Affero General Public License along
|
|
* with this program; if not, see http://www.gnu.org/licenses or write to the Free
|
|
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
* 02110-1301 USA.
|
|
*
|
|
*
|
|
* You can contact TimeTrex headquarters at Unit 22 - 2475 Dobbin Rd. Suite
|
|
* #292 West Kelowna, BC V4T 2E9, Canada or at email address info@timetrex.com.
|
|
*
|
|
*
|
|
* The interactive user interfaces in modified source and object code versions
|
|
* of this program must display Appropriate Legal Notices, as required under
|
|
* Section 5 of the GNU Affero General Public License version 3.
|
|
*
|
|
*
|
|
* In accordance with Section 7(b) of the GNU Affero General Public License
|
|
* version 3, these Appropriate Legal Notices must retain the display of the
|
|
* "Powered by TimeTrex" logo. If the display of the logo is not reasonably
|
|
* feasible for technical reasons, the Appropriate Legal Notices must display
|
|
* the words "Powered by TimeTrex".
|
|
*
|
|
********************************************************************************/
|
|
|
|
|
|
/**
|
|
* @package PayrollDeduction\CA
|
|
*/
|
|
class PayrollDeduction_CA_NB extends PayrollDeduction_CA {
|
|
var $provincial_income_tax_rate_options = [
|
|
20220101 => [
|
|
[ 'income' => 44887, 'rate' => 9.40, 'constant' => 0 ],
|
|
[ 'income' => 89775, 'rate' => 14.82, 'constant' => 2433 ],
|
|
[ 'income' => 145955, 'rate' => 16.52, 'constant' => 3959 ],
|
|
[ 'income' => 166280, 'rate' => 17.84, 'constant' => 5886 ],
|
|
[ 'income' => 166280, 'rate' => 20.30, 'constant' => 9976 ],
|
|
],
|
|
20210701 => [
|
|
[ 'income' => 43835, 'rate' => 9.12, 'constant' => 0 ], //9.4% is the new rate, but 9.12 is the pro-rated rate. Cummulative Avg formula may be incorrect due to this.
|
|
[ 'income' => 87671, 'rate' => 14.82, 'constant' => 2499 ],
|
|
[ 'income' => 142534, 'rate' => 16.52, 'constant' => 3989 ],
|
|
[ 'income' => 162383, 'rate' => 17.84, 'constant' => 5870 ],
|
|
[ 'income' => 162383, 'rate' => 20.30, 'constant' => 9865 ],
|
|
],
|
|
20210101 => [
|
|
[ 'income' => 43835, 'rate' => 9.68, 'constant' => 0 ],
|
|
[ 'income' => 87671, 'rate' => 14.82, 'constant' => 2253 ],
|
|
[ 'income' => 142534, 'rate' => 16.52, 'constant' => 3744 ],
|
|
[ 'income' => 162383, 'rate' => 17.84, 'constant' => 5625 ],
|
|
[ 'income' => 162383, 'rate' => 20.30, 'constant' => 9620 ],
|
|
],
|
|
20200101 => [
|
|
[ 'income' => 43401, 'rate' => 9.68, 'constant' => 0 ],
|
|
[ 'income' => 86803, 'rate' => 14.82, 'constant' => 2231 ],
|
|
[ 'income' => 141122, 'rate' => 16.52, 'constant' => 3706 ],
|
|
[ 'income' => 160776, 'rate' => 17.84, 'constant' => 5569 ],
|
|
[ 'income' => 160776, 'rate' => 20.30, 'constant' => 9524 ],
|
|
],
|
|
20190101 => [
|
|
[ 'income' => 42592, 'rate' => 9.68, 'constant' => 0 ],
|
|
[ 'income' => 85184, 'rate' => 14.82, 'constant' => 2189 ],
|
|
[ 'income' => 138491, 'rate' => 16.52, 'constant' => 3637 ],
|
|
[ 'income' => 157778, 'rate' => 17.84, 'constant' => 5465 ],
|
|
[ 'income' => 157778, 'rate' => 20.30, 'constant' => 9347 ],
|
|
],
|
|
20180101 => [
|
|
[ 'income' => 41675, 'rate' => 9.68, 'constant' => 0 ],
|
|
[ 'income' => 83351, 'rate' => 14.82, 'constant' => 2142 ],
|
|
[ 'income' => 135510, 'rate' => 16.52, 'constant' => 3559 ],
|
|
[ 'income' => 154382, 'rate' => 17.84, 'constant' => 5348 ],
|
|
[ 'income' => 154382, 'rate' => 20.30, 'constant' => 9146 ],
|
|
],
|
|
20170101 => [
|
|
[ 'income' => 41059, 'rate' => 9.68, 'constant' => 0 ],
|
|
[ 'income' => 82119, 'rate' => 14.82, 'constant' => 2110 ],
|
|
[ 'income' => 133507, 'rate' => 16.52, 'constant' => 3506 ],
|
|
[ 'income' => 152100, 'rate' => 17.84, 'constant' => 5269 ],
|
|
[ 'income' => 152100, 'rate' => 20.30, 'constant' => 9010 ],
|
|
],
|
|
20160701 => [
|
|
[ 'income' => 40492, 'rate' => 9.68, 'constant' => 0 ],
|
|
[ 'income' => 80985, 'rate' => 14.82, 'constant' => 2081 ],
|
|
[ 'income' => 131664, 'rate' => 16.52, 'constant' => 3458 ],
|
|
[ 'income' => 150000, 'rate' => 17.84, 'constant' => 5196 ],
|
|
[ 'income' => 250000, 'rate' => 19.60, 'constant' => 7836 ],
|
|
[ 'income' => 250000, 'rate' => 14.85, 'constant' => -4039 ], //Rate change was prorated for the year, so this will be changing in 2017.
|
|
],
|
|
20160101 => [
|
|
[ 'income' => 40492, 'rate' => 9.68, 'constant' => 0 ],
|
|
[ 'income' => 80985, 'rate' => 14.82, 'constant' => 2081 ],
|
|
[ 'income' => 131664, 'rate' => 16.52, 'constant' => 3458 ],
|
|
[ 'income' => 150000, 'rate' => 17.84, 'constant' => 5196 ],
|
|
[ 'income' => 250000, 'rate' => 21.00, 'constant' => 9936 ],
|
|
[ 'income' => 250000, 'rate' => 25.75, 'constant' => 21811 ],
|
|
],
|
|
20150701 => [
|
|
[ 'income' => 39973, 'rate' => 9.68, 'constant' => 0 ],
|
|
[ 'income' => 79946, 'rate' => 14.82, 'constant' => 2055 ],
|
|
[ 'income' => 129975, 'rate' => 16.52, 'constant' => 3414 ],
|
|
[ 'income' => 150000, 'rate' => 17.84, 'constant' => 5129 ],
|
|
[ 'income' => 250000, 'rate' => 24.16, 'constant' => 14609 ],
|
|
[ 'income' => 250000, 'rate' => 33.66, 'constant' => 38359 ],
|
|
],
|
|
20150101 => [
|
|
[ 'income' => 39973, 'rate' => 9.68, 'constant' => 0 ],
|
|
[ 'income' => 79946, 'rate' => 14.82, 'constant' => 2055 ],
|
|
[ 'income' => 129975, 'rate' => 16.52, 'constant' => 3414 ],
|
|
[ 'income' => 129975, 'rate' => 17.84, 'constant' => 5129 ],
|
|
],
|
|
20140101 => [
|
|
[ 'income' => 39305, 'rate' => 9.68, 'constant' => 0 ],
|
|
[ 'income' => 78609, 'rate' => 14.82, 'constant' => 2020 ],
|
|
[ 'income' => 127802, 'rate' => 16.52, 'constant' => 3357 ],
|
|
[ 'income' => 127802, 'rate' => 17.84, 'constant' => 5044 ],
|
|
],
|
|
20130701 => [
|
|
[ 'income' => 38954, 'rate' => 9.68, 'constant' => 0 ],
|
|
[ 'income' => 77908, 'rate' => 14.82, 'constant' => 2002 ],
|
|
[ 'income' => 126662, 'rate' => 16.52, 'constant' => 3327 ],
|
|
[ 'income' => 126662, 'rate' => 17.84, 'constant' => 4999 ],
|
|
],
|
|
20130101 => [
|
|
[ 'income' => 38954, 'rate' => 9.1, 'constant' => 0 ],
|
|
[ 'income' => 77908, 'rate' => 12.10, 'constant' => 1169 ],
|
|
[ 'income' => 126662, 'rate' => 12.40, 'constant' => 1402 ],
|
|
[ 'income' => 126662, 'rate' => 14.30, 'constant' => 3809 ],
|
|
],
|
|
20120101 => [
|
|
[ 'income' => 38190, 'rate' => 9.1, 'constant' => 0 ],
|
|
[ 'income' => 76380, 'rate' => 12.10, 'constant' => 1146 ],
|
|
[ 'income' => 124178, 'rate' => 12.40, 'constant' => 1375 ],
|
|
[ 'income' => 124178, 'rate' => 14.30, 'constant' => 3734 ],
|
|
],
|
|
20110701 => [
|
|
[ 'income' => 37150, 'rate' => 9.1, 'constant' => 0 ],
|
|
[ 'income' => 74300, 'rate' => 12.10, 'constant' => 1115 ],
|
|
[ 'income' => 120796, 'rate' => 12.40, 'constant' => 1337 ],
|
|
[ 'income' => 120796, 'rate' => 15.90, 'constant' => 1700 ],
|
|
],
|
|
20110101 => [
|
|
[ 'income' => 37150, 'rate' => 9.1, 'constant' => 0 ],
|
|
[ 'income' => 74300, 'rate' => 12.10, 'constant' => 1115 ],
|
|
[ 'income' => 120796, 'rate' => 12.40, 'constant' => 1337 ],
|
|
[ 'income' => 120796, 'rate' => 12.70, 'constant' => 1700 ],
|
|
],
|
|
20100101 => [
|
|
[ 'income' => 36421, 'rate' => 9.3, 'constant' => 0 ],
|
|
[ 'income' => 72843, 'rate' => 12.50, 'constant' => 1165 ],
|
|
[ 'income' => 118427, 'rate' => 13.30, 'constant' => 1748 ],
|
|
[ 'income' => 118427, 'rate' => 14.30, 'constant' => 2932 ],
|
|
],
|
|
20090701 => [
|
|
[ 'income' => 35707, 'rate' => 9.18, 'constant' => 0 ],
|
|
[ 'income' => 71415, 'rate' => 13.53, 'constant' => 1550 ],
|
|
[ 'income' => 116105, 'rate' => 15.20, 'constant' => 2749 ],
|
|
[ 'income' => 116105, 'rate' => 16.05, 'constant' => 3736 ],
|
|
],
|
|
20090101 => [
|
|
[ 'income' => 35707, 'rate' => 10.12, 'constant' => 0 ],
|
|
[ 'income' => 71415, 'rate' => 15.48, 'constant' => 1914 ],
|
|
[ 'income' => 116105, 'rate' => 16.8, 'constant' => 2857 ],
|
|
[ 'income' => 116105, 'rate' => 17.95, 'constant' => 4192 ],
|
|
],
|
|
20080101 => [
|
|
[ 'income' => 34836, 'rate' => 10.12, 'constant' => 0 ],
|
|
[ 'income' => 69673, 'rate' => 15.48, 'constant' => 1867 ],
|
|
[ 'income' => 113273, 'rate' => 16.80, 'constant' => 2787 ],
|
|
[ 'income' => 113273, 'rate' => 17.95, 'constant' => 4090 ],
|
|
],
|
|
20070701 => [
|
|
[ 'income' => 34186, 'rate' => 10.56, 'constant' => 0 ],
|
|
[ 'income' => 68374, 'rate' => 16.14, 'constant' => 1908 ],
|
|
[ 'income' => 111161, 'rate' => 17.08, 'constant' => 2550 ],
|
|
[ 'income' => 111161, 'rate' => 18.06, 'constant' => 3640 ],
|
|
],
|
|
20070101 => [
|
|
[ 'income' => 34186, 'rate' => 9.68, 'constant' => 0 ],
|
|
[ 'income' => 68374, 'rate' => 14.82, 'constant' => 1757 ],
|
|
[ 'income' => 111161, 'rate' => 16.52, 'constant' => 2920 ],
|
|
[ 'income' => 111161, 'rate' => 17.84, 'constant' => 4387 ],
|
|
],
|
|
];
|
|
}
|
|
|
|
?>
|