Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Northwest Territories dividend tax credit #454

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:
- Northwest Territories dividend tax credit.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
description: Northwest Territories phases the dividend tax credit for non-eligible dividens at this rate.
values:
2021-01-01: 0.06
metadata:
unit: currency-CAD
label: Northwest Territories non-eligible dividend tax credit rate
reference:
- title: Income Tax Act - Section 2.32 Deduction for taxable dividends
href: https://www.justice.gov.nt.ca/en/files/legislation/income-tax/income-tax.a.pdf#page=40
- title: 2022 Northwest Territories dividend tax credit (Line 61520)
href: https://www.canada.ca/content/dam/cra-arc/formspubs/pbg/5012-d/5012-d-22e.pdf#page=3
- title: Dividend Tax Credit for 2011-2023
href: https://www.fin.gov.nt.ca/sites/fin/files/resources/nwt_personal_income_tax_credits_english.pdf#page=2
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
description: Northwest Territories phases the taxable dividend amount for eligible dividens at this rate.
values:
2021-01-01: 0.115
metadata:
unit: currency-CAD
label: Northwest Territories taxable dividend amount rate
reference:
- title: Income Tax Act - Section 2.32 Deduction for taxable dividends
href: https://www.justice.gov.nt.ca/en/files/legislation/income-tax/income-tax.a.pdf#page=40
- title: 2022 Northwest Territories dividend tax credit (Line 61520)
href: https://www.canada.ca/content/dam/cra-arc/formspubs/pbg/5012-d/5012-d-22e.pdf#page=3
- title: Dividend Tax Credit for 2011-2023
href: https://www.fin.gov.nt.ca/sites/fin/files/resources/nwt_personal_income_tax_credits_english.pdf#page=2
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- name: Calculation 2022 # (39,000 * 0.06) + ((39,800 - 39,000) * 0.115) = 2,432
period: 2022
input:
province_code: NT
taxable_dividend_income: 39_800
taxable_other_than_dividend_income: 39_000
output:
nt_dividend_tax_credit: 2_432
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
from policyengine_canada.model_api import *


class nt_dividend_tax_credit(Variable):
value_type = float
entity = Person
label = "Northwest Territories dividend tax credit"
unit = CAD
definition_period = YEAR
defined_for = ProvinceCode.NT
reference = "https://www.justice.gov.nt.ca/en/files/legislation/income-tax/income-tax.a.pdf#page=40"

def formula(person, period, parameters):
p = parameters(
period
).gov.provinces.nt.tax.income.credits.dividend_tax_credit
income = person("nt_taxable_income", period)
taxable_dividend_income = person.household(
"taxable_dividend_income", period
)
taxable_other_than_dividend_income = person.household(
"taxable_other_than_dividend_income", period
)
non_eligible_dividends = (
taxable_other_than_dividend_income * p.noneligible_rate
)
eligible_credit = (
taxable_dividend_income - taxable_other_than_dividend_income
) * p.taxable_rate
return non_eligible_dividends + eligible_credit
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from policyengine_canada.model_api import *


class taxable_dividend_income(Variable):
value_type = float
entity = Household
label = "dividend income"
unit = CAD
definition_period = YEAR
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from policyengine_canada.model_api import *


class taxable_other_than_dividend_income(Variable):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this all taxable income except dividends? If so I'd just do that subtraction in the formula

value_type = float
entity = Household
label = "other than dividend income"
unit = CAD
definition_period = YEAR