Skip to content

Commit

Permalink
Alberta base personal credit
Browse files Browse the repository at this point in the history
Fixes #376
  • Loading branch information
SirMalamute committed Apr 16, 2024
1 parent b39f851 commit 98d34e6
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
description: Alberta provides this maximum amount under the personal credit.
values:
2023-01-01: 21_003
metadata:
unit: currency-CAD
period: year
label: Alberta base personal credit maximum amount
reference:
- title: Alberta income tax personal credit
href: https://www.canada.ca/content/dam/cra-arc/formspubs/pbg/td1ab/td1ab-23e.pdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- name: Alberta Base
period: 2023
input:
province_code: AB
output:
ab_base_personal_credit: 21_003
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from policyengine_canada.model_api import *


class ab_base_personal_credit(Variable):
value_type = float
entity = Person
label = "Alberta base personal credit"
unit = CAD
definition_period = YEAR
reference = "https://www.canada.ca/content/dam/cra-arc/formspubs/pbg/td1ab/td1ab-23e.pdf"
defined_for = ProvinceCode.AB

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

0 comments on commit 98d34e6

Please sign in to comment.