Skip to content

Commit

Permalink
Merge pull request #469 from YiweiJ/YiweiJ/issue466
Browse files Browse the repository at this point in the history
British Columbia Basic Personal Amount
  • Loading branch information
MaxGhenis authored Feb 29, 2024
2 parents bbaa0bb + 6a47ad3 commit cd8a4bc
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 32 deletions.
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 basic personal amount.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
description: British Columbia provides the following basic personal amount.
values:
2022-01-01: 11_302
2023-01-01: 11_981
metadata:
unit: currency-CAD
period: year
label: British Columbia basic personal amount
reference:
- title: 2022 British Columbia, Personal Tax Credits Return, TD1BC
href: https://tsaykeh.com/files/pdf/1650179447_BC%20Tax%20Form.pdf#page=1
- 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
# The income tax act specifies inflation unadjusted amounts
- title: British Columbia Income Tax Act, Division 2, 4.3, 1.1
href: https://www.bclaws.gov.bc.ca/civix/document/id/complete/statreg/96215_01
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
description: British Columbia list of non-refundable tax credits.
description: British Columbia provides the following non-refundable tax credits.
values:
2022-01-01:
- bc_tax_reduction_credit
- bc_age_credit
- bc_basic_personal_amount

metadata:
unit: program
unit: list
period: year
label: British Columbia non-refundable tax credits
30 changes: 0 additions & 30 deletions policyengine_canada/tests/gov/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,33 +88,3 @@
benefits: 3_706
income_tax_before_refundable_credits: 0
income_tax_before_credits: 0


- name: Integration - British Columbia
period: 2023
absolute_error_margin: 0.5
input:
people:
parent:
age: 40
bc_taxable_income: 10_000
c1:
age: 12
full_custody: false
household:
members: [parent, c1]
province_code_str: BC
adjusted_family_net_income: 20_000
is_married: false
family_working_income: 3_000
output:
on_non_refundable_credits: 0
on_refundable_credits: 0
on_benefits: 0
household_net_income: 4_551.46
bc_non_refundable_credits: 521
bc_refundable_credits: 386.9
bc_benefits: 1_599.96
non_refundable_tax_credits: 15_000
income_tax_before_refundable_credits: 0
income_tax_before_credits: 0
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- name: 2023 Basic personal amount
period: 2023
input:
province_code: BC
output:
bc_basic_personal_amount: 11_981

- name: 2022 Basic personal amount
period: 2022
input:
province_code: BC
output:
bc_basic_personal_amount: 11_302
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
from policyengine_canada.model_api import *


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

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

0 comments on commit cd8a4bc

Please sign in to comment.