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 Basic Personal Amount #374

Merged
merged 15 commits into from
Sep 23, 2023
Merged
Show file tree
Hide file tree
Changes from 13 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 basic personal amount.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
description: Northwest Territories provides the following Basic Personal Amount.
values:
2022-01-01: 15_609
2023-01-01: 16_593
zqw5219 marked this conversation as resolved.
Show resolved Hide resolved
metadata:
unit: currency-CAD
period: year
label: Northwest Territories Basic Personal Amount
reference:
- title: Income Tax Act - Section 2.16 Single Status Credit
href: https://www.justice.gov.nt.ca/en/files/legislation/income-tax/income-tax.a.pdf#page=29
- title: 2022 Northwest Territories Personal Tax Credits Return - Basic Personal Amount
zqw5219 marked this conversation as resolved.
Show resolved Hide resolved
href: https://www.canada.ca/content/dam/cra-arc/formspubs/pbg/5012-c/5012-c-22e.pdf#page=1
- title: 2023 Northwest Territories Personal Tax Credits Return - Basic Personal Amount
href: https://www.canada.ca/content/dam/cra-arc/formspubs/pbg/td1nt/td1nt-23e.pdf#page=1
PavelMakarchuk marked this conversation as resolved.
Show resolved Hide resolved
zqw5219 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
- name: 2022 NT basic personal amount
period: 2022
input:
province_code: NT
output:
nt_basic_personal_amount: 15_609

- name: 2022 NT basic personal amount; wrong province
period: 2022
input:
province_code: AB
output:
nt_basic_personal_amount: 0

- name: 2023 NT basic personal amount
period: 2023
input:
province_code: NT
output:
nt_basic_personal_amount: 16_593

- name: 2023 NT basic personal amount; wrong province
period: 2023
input:
province_code: AB
output:
nt_basic_personal_amount: 0
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
from policyengine_canada.model_api import *


class nt_basic_personal_amount(Variable):
value_type = float
entity = Person
label = "Northwest Territories basic personal amount"
unit = CAD
definition_period = YEAR
defined_for = ProvinceCode.NT
reference = "https://www.canada.ca/content/dam/cra-arc/formspubs/pbg/td1nt/td1nt-23e.pdf#page=1"

def formula(person, period, parameters):
return parameters(
period
).gov.provinces.nt.tax.income.credits.basic_personal_amount.base