-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #443 from okeyiii/okeyiii/issue442
Nova Scotia Disability amount
- Loading branch information
Showing
5 changed files
with
58 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- bump: minor | ||
changes: | ||
added: | ||
- Nova Scotia disability amount. |
16 changes: 16 additions & 0 deletions
16
...yengine_canada/parameters/gov/provinces/ns/tax/income/credits/disability_amount/base.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
description: Nova Scotia provides the following base disability amount. | ||
|
||
values: | ||
2022-01-01: 7_341 | ||
metadata: | ||
unit: currency-CAD | ||
period: year | ||
label: Nova Scotia disability amount base | ||
reference: | ||
- title: 2022 Nova Scotia Personal Tax Credits Return - TD1NS | ||
href: https://hr.acadiau.ca/files/sites/hr/Payroll/Pensions%20&%20Benefits/NS_TD1_2022.pdf#page=1 | ||
- title: T2201 Disability Tax Credit Certificate and relevant information | ||
href: https://www.canada.ca/en/revenue-agency/services/forms-publications/forms/t2201.html | ||
- title: Income Tax Act | ||
# The income tax act does not specify the disability amount | ||
href: https://nslegislature.ca/sites/default/files/legc/statutes/income%20tax.pdf#page=44 |
7 changes: 5 additions & 2 deletions
7
policyengine_canada/parameters/gov/provinces/ns/tax/income/credits/non_refundable.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
description: Non-refundable tax credits in Nova Scotia. | ||
description: Nova Scotia provides the following non-refundable tax credits. | ||
values: | ||
2022-01-01: | ||
- ns_poverty_reduction_credit | ||
- ns_disability_amount | ||
metadata: | ||
unit: program | ||
unit: list | ||
period: year | ||
label: Nova Scotia non-refundable tax credits |
15 changes: 15 additions & 0 deletions
15
policyengine_canada/tests/gov/provinces/ns/tax/income/credits/ns_disability_amount.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
- name: Person is disabled | ||
period: 2023 | ||
input: | ||
province_code: NS | ||
is_disabled: true | ||
output: | ||
ns_disability_amount: 7_341 | ||
|
||
- name: Person is not disabled | ||
period: 2023 | ||
input: | ||
province_code: NS | ||
is_disabled: false | ||
output: | ||
ns_disability_amount: 0 |
18 changes: 18 additions & 0 deletions
18
policyengine_canada/variables/gov/provinces/ns/tax/income/credits/ns_disability_amount.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from policyengine_canada.model_api import * | ||
|
||
|
||
class ns_disability_amount(Variable): | ||
value_type = float | ||
unit = CAD | ||
entity = Person | ||
label = "Nova Scotia Disability Amount" | ||
definition_period = YEAR | ||
defined_for = ProvinceCode.NS | ||
reference = "https://hr.acadiau.ca/files/sites/hr/Payroll/Pensions%20&%20Benefits/NS_TD1_2022.pdf#page=1" | ||
|
||
def formula(person, period, parameters): | ||
p = parameters( | ||
period | ||
).gov.provinces.ns.tax.income.credits.disability_amount | ||
is_disabled = person("is_disabled", period) | ||
return p.base * is_disabled |