@equisoft/tax-ca 2022.4.0 → 2022.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/investments/registered-retirement-income-fund.d.ts +1 -0
- package/dist/investments/registered-retirement-income-fund.js +5 -1
- package/dist/investments/registered-retirement-savings-plan.js +1 -1
- package/dist/misc/index.d.ts +1 -0
- package/dist/misc/index.js +1 -0
- package/dist/misc/iqpf-stats.js +5 -5
- package/dist/misc/ppp-increase-factor.d.ts +8 -0
- package/dist/misc/ppp-increase-factor.js +20 -0
- package/package.json +9 -9
|
@@ -9,7 +9,11 @@ Revised
|
|
|
9
9
|
*/
|
|
10
10
|
// tslint:enable:max-line-length
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.RRIF = void 0;
|
|
12
|
+
exports.RRIF = exports.getMinimumWithdrawalPercentage = void 0;
|
|
13
|
+
function getMinimumWithdrawalPercentage(age) {
|
|
14
|
+
return age >= 71 ? exports.RRIF.MIN_WITHDRAWAL_PCT[age] : 1 / (90 - age);
|
|
15
|
+
}
|
|
16
|
+
exports.getMinimumWithdrawalPercentage = getMinimumWithdrawalPercentage;
|
|
13
17
|
exports.RRIF = {
|
|
14
18
|
MIN_WITHDRAWAL_PCT: {
|
|
15
19
|
50: 0.0250,
|
package/dist/misc/index.d.ts
CHANGED
package/dist/misc/index.js
CHANGED
|
@@ -18,3 +18,4 @@ __exportStar(require("./code-types"), exports);
|
|
|
18
18
|
__exportStar(require("./consumer-price-index"), exports);
|
|
19
19
|
__exportStar(require("./iqpf-stats"), exports);
|
|
20
20
|
__exportStar(require("./life-expectancy"), exports);
|
|
21
|
+
__exportStar(require("./ppp-increase-factor"), exports);
|
package/dist/misc/iqpf-stats.js
CHANGED
|
@@ -9,14 +9,14 @@ Revised
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.IQPF = void 0;
|
|
11
11
|
exports.IQPF = {
|
|
12
|
-
INFLATION: 0.
|
|
12
|
+
INFLATION: 0.021,
|
|
13
13
|
PERFORMANCE_RATE: 0.01,
|
|
14
14
|
RETURN_RATES: {
|
|
15
15
|
SHORT_TERM: 0.023,
|
|
16
|
-
FIXED_INCOME: 0.
|
|
17
|
-
CANADIAN_EQUITIES: 0.
|
|
18
|
-
CONSERVATIVE_PORTFOLIO: 0.
|
|
19
|
-
BALANCED_PORTFOLIO: 0.
|
|
16
|
+
FIXED_INCOME: 0.028,
|
|
17
|
+
CANADIAN_EQUITIES: 0.063,
|
|
18
|
+
CONSERVATIVE_PORTFOLIO: 0.024,
|
|
19
|
+
BALANCED_PORTFOLIO: 0.033,
|
|
20
20
|
DYNAMIC_PORTFOLIO: 0.044,
|
|
21
21
|
},
|
|
22
22
|
BORROWING_RATE: 0.043,
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Sources
|
|
4
|
+
https://www.finance-investissement.com/zone-experts_/martin-dupras/la-valeur-reelle-de-reporter-la-rente-du-rrq/
|
|
5
|
+
Description
|
|
6
|
+
Cumulative difference in %, according to the table calculated by Martin Dupras,
|
|
7
|
+
from the reference age of 65, divided by 12 months.
|
|
8
|
+
The formula consuming these values is only utilized by kronos-fna.
|
|
9
|
+
Revised
|
|
10
|
+
2022-04-28
|
|
11
|
+
*/
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
exports.PPP_INCREASE_FACTOR = void 0;
|
|
14
|
+
exports.PPP_INCREASE_FACTOR = {
|
|
15
|
+
FIRST_YEAR: 0.517,
|
|
16
|
+
SECOND_YEAR: 0.467,
|
|
17
|
+
THIRD_YEAR: 0.425,
|
|
18
|
+
FOURTH_YEAR: 0.375,
|
|
19
|
+
FIFTH_YEAR: 0.358,
|
|
20
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equisoft/tax-ca",
|
|
3
|
-
"version": "2022.
|
|
3
|
+
"version": "2022.7.0",
|
|
4
4
|
"description": "Canadian tax data and calculation functions.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"watch": "tsc --watch"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@equisoft/tslint-config": "
|
|
38
|
-
"@types/jest": "
|
|
39
|
-
"@types/node": "
|
|
40
|
-
"jest": "
|
|
41
|
-
"jest-junit": "
|
|
42
|
-
"ts-jest": "
|
|
43
|
-
"tslint": "
|
|
44
|
-
"typescript": "
|
|
37
|
+
"@equisoft/tslint-config": "0.0.8",
|
|
38
|
+
"@types/jest": "27.5.0",
|
|
39
|
+
"@types/node": "17.0.23",
|
|
40
|
+
"jest": "27.5.1",
|
|
41
|
+
"jest-junit": "13.2.0",
|
|
42
|
+
"ts-jest": "27.1.4",
|
|
43
|
+
"tslint": "5.20.1",
|
|
44
|
+
"typescript": "4.6.4"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {}
|
|
47
47
|
}
|