Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zqw5219 committed Oct 10, 2023
1 parent f21c749 commit 4455a6b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion changelog_entry.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- bump: minor
changes:
added:
- Initial country package contents.
- Initial country package contents.
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ metadata:
- 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
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
Expand Up @@ -20,4 +20,4 @@
pension_and_savings_plan_income: 0
province_code: AB
output:
ab_pension_credit: 0
ab_pension_credit: 0
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ class nt_dividend_tax_credit(Variable):
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
p = parameters(
period
).gov.provinces.nt.tax.income.credits.dividend_tax_credit
income = person("nt_taxable_income", period)
non_eligible_dividends = B * p.noneligible_rate
eligible_credit = (A - B) * p.taxable_rate
return non_eligible_dividends + eligible_credit
return non_eligible_dividends + eligible_credit
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ class nt_dividend_tax_credit_eligible(Variable):
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
return
p = parameters(
period
).gov.provinces.nt.tax.income.credits.dividend_tax_credit
return

0 comments on commit 4455a6b

Please sign in to comment.