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

British Columbia Pension Income Amount #471

Merged
merged 7 commits into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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:
- British Columbia pension income amount.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
description: British Columbia provides this maximum pension benefit.
YiweiJ marked this conversation as resolved.
Show resolved Hide resolved
values:
2022-01-01: 1_000
metadata:
unit: currency-CAD
label: British Columbia pension benefit max amount
reference:
- title: 2023 British Columbia Personal Tax Credits Return, TD1BC
href: https://www.canada.ca/content/dam/cra-arc/formspubs/pbg/td1bc/td1bc-23e.pdf#page=1
- title: British Columbia Income Tax Act § 4.32
href: https://www.bclaws.gov.bc.ca/civix/document/id/complete/statreg/96215_00_multi#section4.32
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
- name: Max Pension Benefit
YiweiJ marked this conversation as resolved.
Show resolved Hide resolved
period: 2023
input:
province_code: BC
pension_and_savings_plan_income: 1_001
output:
bc_pension_income_amount: 1_000

- name: Pension Benefit Below Maximum Amount
YiweiJ marked this conversation as resolved.
Show resolved Hide resolved
period: 2023
input:
province_code: BC
pension_and_savings_plan_income: 800
output:
bc_pension_income_amount: 800
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
from policyengine_canada.model_api import *


class bc_pension_income_amount(Variable):
value_type = float
entity = Person
label = "British Columbia pension income amount"
unit = CAD
definition_period = YEAR
defined_for = ProvinceCode.BC

def formula(person, period, parameters):
pension_income = person("pension_and_savings_plan_income", period)
max_amount = parameters(
period
).gov.provinces.bc.tax.income.credits.pension_income_amount.cap
# Capped at a certain amount
return min_(max_amount, pension_income)