Skip to content
Closed
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:
- Yukon age amount.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
description: Yukon qualifies filers for the age amount credit at or above this age threshold.
values:
2022-01-01: 65
metadata:
unit: year
label: Yukon age amount eligible age
reference:
- title: Worksheet for the Yukon 2023 Personal Tax Credits Return
href: https://www.canada.ca/content/dam/cra-arc/formspubs/pbg/td1yt-ws/td1yt-ws-23e.pdf#page=1
- title: Yukon Income Tax Act -- Age Credit
href: https://laws.yukon.ca/cms/images/LEGISLATION/PRINCIPAL/2002/2002-0118/2002-0118.pdf#page=8
- title: Worksheet for the Yukon 2022 Personal Tax Credits Return
href: https://www.canada.ca/content/dam/cra-arc/formspubs/pbg/td1yt-ws/td1yt-ws-22e.pdf#page=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: Yukon provides this maximum amount under the age amount credit.
values:
2022-01-01: 7_898
2023-01-01: 8_396
metadata:
unit: currency-CAD
label: Yukon age amount maximum amount
reference:
- title: Worksheet for the Yukon 2023 Personal Tax Credits Return
href: https://www.canada.ca/content/dam/cra-arc/formspubs/pbg/td1yt-ws/td1yt-ws-23e.pdf#page=1
- title: Yukon Income Tax Act -- Age Credit
href: https://laws.yukon.ca/cms/images/LEGISLATION/PRINCIPAL/2002/2002-0118/2002-0118.pdf#page=8
Copy link
Collaborator

Choose a reason for hiding this comment

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

does this page reference the age credit? Not sure if I can see it

- title: Worksheet for the Yukon 2022 Personal Tax Credits Return
href: https://www.canada.ca/content/dam/cra-arc/formspubs/pbg/td1yt-ws/td1yt-ws-22e.pdf#page=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
description: Yukon reduces the age amount credit at this rate.
brackets:
- threshold:
2022-01-01: 0
rate:
2022-01-01: 0
- threshold:
2022-01-01: 39_826
2023-01-01: 42_335
rate:
2022-01-01: 0.15

metadata:
type: marginal_rate
threshold_unit: currency-CAD
rate_unit: /1
label: Yukon age amount applicable rate
reference:
- title: Worksheet for the Yukon 2023 Personal Tax Credits Return
href: https://www.canada.ca/content/dam/cra-arc/formspubs/pbg/td1yt-ws/td1yt-ws-23e.pdf#page=1
- title: Yukon Income Tax Act -- Age Credit
href: https://laws.yukon.ca/cms/images/LEGISLATION/PRINCIPAL/2002/2002-0118/2002-0118.pdf#page=8
- title: Worksheet for the Yukon 2022 Personal Tax Credits Return
href: https://www.canada.ca/content/dam/cra-arc/formspubs/pbg/td1yt-ws/td1yt-ws-22e.pdf#page=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
- name: Not eligible for age amount
period: 2023
input:
province_code: YT
individual_net_income: 10_000
age: 64
output:
yt_age_amount: 0

- name: Not eligible through net income
period: 2023
input:
province_code: YT
individual_net_income: 100_000
age: 70
output:
yt_age_amount: 0

- name: Eligible & maximum age amount (net income < base amount)
period: 2023
input:
province_code: YT
individual_net_income: 10_000
age: 65
output:
yt_age_amount: 8_396

- name: Eligible & net income between base amount and maximum amount (8396-(62335-42335)*0.15 = 5396)
period: 2023
input:
province_code: YT
individual_net_income: 62_335
age: 70
output:
yt_age_amount: 5_396
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
from policyengine_canada.model_api import *


class yt_age_amount(Variable):
value_type = float
entity = Person
label = "Yukon age amount"
definition_period = YEAR
defined_for = ProvinceCode.YT

def formula(person, period, parameters):
income = person("individual_net_income", period)
age = person("age", period)
p = parameters(period).gov.provinces.yt.tax.income.credits.age_amount
reduction = p.rate.calc(income)
reduced_amount = max_(p.maximum_amount - reduction, 0)
age_eligible = age >= p.age
return age_eligible * reduced_amount