-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #486 from SirMalamute/SirMalamute/issue376
Alberta base personal credit
- Loading branch information
Showing
5 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- bump: minor | ||
changes: | ||
added: | ||
- Alberta basic personal amount. |
17 changes: 17 additions & 0 deletions
17
...e_canada/parameters/gov/provinces/ab/tax/income/credits/basic_personal_amount/amount.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
description: Alberta provides this basic personal amount. | ||
values: | ||
# Legal code defines $19,369. | ||
# Section 44.2 defines indexing. | ||
2022-01-01: 19_369 | ||
2023-01-01: 21_003 | ||
metadata: | ||
unit: currency-CAD | ||
period: year | ||
label: Alberta basic personal amount | ||
reference: | ||
- title: Alberta income tax personal credit (2022) | ||
href: https://www.canada.ca/content/dam/cra-arc/formspubs/pbg/td1ab/td1ab-22e.pdf#page=1 | ||
- title: Alberta income tax personal credit (2023) | ||
href: https://www.canada.ca/content/dam/cra-arc/formspubs/pbg/td1ab/td1ab-23e.pdf#page=1 | ||
- title: Alberta Personal Income Tax Act Division 3 Basic Personal Amount C | ||
href: https://www.canlii.org/en/ab/laws/stat/rsa-2000-c-a-30/latest/rsa-2000-c-a-30.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...s/gov/provinces/ab/tax/income/credits/basic_personal_amount/ab_basic_personal_amount.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
- name: Alberta Basic Personal Amount (2022) | ||
period: 2022 | ||
input: | ||
province_code: AB | ||
output: | ||
ab_basic_personal_amount: 19_369 | ||
|
||
- name: Alberta Basic Personal Amount (2023) | ||
period: 2023 | ||
input: | ||
province_code: AB | ||
output: | ||
ab_basic_personal_amount: 21_003 |
16 changes: 16 additions & 0 deletions
16
...les/gov/provinces/ab/tax/income/credits/basic_personal_amount/ab_basic_personal_amount.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from policyengine_canada.model_api import * | ||
|
||
|
||
class ab_basic_personal_amount(Variable): | ||
value_type = float | ||
entity = Person | ||
label = "Alberta basic personal amount" | ||
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): | ||
return parameters( | ||
period | ||
).gov.provinces.ab.tax.income.credits.basic_personal_amount.amount |