Skip to content

Commit

Permalink
Merge pull request #443 from okeyiii/okeyiii/issue442
Browse files Browse the repository at this point in the history
Nova Scotia Disability amount
  • Loading branch information
MaxGhenis authored Mar 1, 2024
2 parents 42102bf + 334c8d8 commit f37125b
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 2 deletions.
4 changes: 4 additions & 0 deletions changelog_entry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- bump: minor
changes:
added:
- Nova Scotia disability amount.
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
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
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
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

0 comments on commit f37125b

Please sign in to comment.