-
Notifications
You must be signed in to change notification settings - Fork 35
Alberta Caregiver Amount #332
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
Changes from all commits
10e6588
d8b6879
fdd9a60
ee7dc1f
74dbb83
3f6d0d8
dc870ec
9e990a7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| - bump: minor | ||
| changes: | ||
| added: | ||
| - Alberta Caregiver Amount. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| description: Alberta limits its Child and Family Benefit to people above this age. | ||
| values: | ||
| 2023-01-01: 18 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. find 2022 values
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. all yaml files |
||
| metadata: | ||
| unit: year | ||
| label: Alberta child and Family Benefit adult dependant age eligibility | ||
| reference: | ||
| - title: Province of Alberta - Alberta Child and Family Benefit | ||
| href: https://www.canada.ca/content/dam/cra-arc/formspubs/pbg/td1ab/td1ab-23e.pdf | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. add pdf pages
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. all yaml files |
||
| - title: Province of Alberta - Alberta Personal Income Tax Act, RSA 2000 | ||
| href: https://www.canlii.org/en/ab/laws/stat/rsa-2000-c-a-30/latest/rsa-2000-c-a-30.html | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| description: Alberta limits its Child and Family Benefit to people above this age. | ||
| values: | ||
| 2023-01-01: 18 | ||
| metadata: | ||
| unit: year | ||
| label: Alberta child and Family Benefit child age eligibility | ||
| reference: | ||
| - title: Province of Alberta - Alberta Child and Family Benefit | ||
| href: https://www.canada.ca/content/dam/cra-arc/formspubs/pbg/td1ab/td1ab-23e.pdf | ||
Kenyaokun marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - title: Province of Alberta - Alberta Personal Income Tax Act, RSA 2000 | ||
| href: https://www.canlii.org/en/ab/laws/stat/rsa-2000-c-a-30/latest/rsa-2000-c-a-30.html | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| description: Alberta provides the caregiver amount for dependants with income below this threshold. | ||
| values: | ||
| 2023-01-01: 19_331 | ||
| metadata: | ||
| unit: currency-CAD | ||
| label: Alberta caregiver amount dependent lower income threshold | ||
| reference: | ||
| - title: Government of Canada - Alberta Caregiver Amount | ||
| 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,9 @@ | ||
| description: Alberta Maximum Caregiver Amount | ||
| values: | ||
| 2023-01-01: 12_158 | ||
| metadata: | ||
| unit: currency-CAD | ||
| label: Alberta Maximum Caregiver Amount | ||
| reference: | ||
| - title: Government of Canada - Alberta Caregiver Amount | ||
| 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,9 @@ | ||
| description: Alberta Upper Income Threshold for dependants. | ||
| values: | ||
| 2023-01-01: 31_489 | ||
| metadata: | ||
| unit: currency-CAD | ||
| label: Alberta Dependant Upper Income Threshold | ||
| reference: | ||
| - title: Government of Canada - Alberta Caregiver Amount | ||
| 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,52 @@ | ||
| - name: Dependant Over 18 with net income between 19,331 and 31,489 | ||
| period: 2023 | ||
| input: | ||
| age: 19 | ||
| is_disabled: true | ||
| live_together: true | ||
| individual_net_income: 20_000 | ||
| province_code: AB | ||
| output: | ||
| ab_caregiver_amount: 11_489 | ||
|
|
||
| - name: Dependant Over 18 with net income below 19,331 | ||
| period: 2023 | ||
| input: | ||
| age: 19 | ||
| is_disabled: true | ||
| live_together: true | ||
| individual_net_income: 10_000 | ||
| province_code: AB | ||
| output: | ||
| ab_caregiver_amount: 12_158 | ||
|
|
||
| - name: Dependant Over 65 with net income below 19,331 | ||
| period: 2023 | ||
| input: | ||
| age: 66 | ||
| live_together: true | ||
| individual_net_income: 10_000 | ||
| province_code: AB | ||
| output: | ||
| ab_caregiver_amount: 12_158 | ||
|
|
||
| - name: Dependant Over 65 with net income between 19,331 and 31,489 | ||
| period: 2023 | ||
| input: | ||
| age: 67 | ||
| live_together: true | ||
| individual_net_income: 20_000 | ||
| province_code: AB | ||
| output: | ||
| ab_caregiver_amount: 11_489 | ||
|
|
||
| - name: Dependant Over 65 with net income over 31,489 | ||
| period: 2023 | ||
| input: | ||
| age: 25 | ||
| is_disabled: true | ||
| live_together: false | ||
| individual_net_income: 40_000 | ||
| province_code: AB | ||
| output: | ||
| ab_caregiver_amount: 0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| from policyengine_canada.model_api import * | ||
|
|
||
|
|
||
| class ab_caregiver_amount(Variable): | ||
| value_type = float | ||
| entity = Person | ||
| label = "Alberta caregiver 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): | ||
| p = parameters( | ||
| period | ||
| ).gov.provinces.ab.tax.income.credits.credits_return | ||
|
|
||
| # Whether the person is dependant (65 or older/ disabled) | ||
| is_dependant = (person("age", period) >= 65) | ( | ||
| person("age", period) | ||
| >= p.lower_age_eligibility & person("is_disabled", period) | ||
| ) | ||
| dependant_net_income = ( | ||
| person("individual_net_income", period) * is_dependant | ||
| ) | ||
|
|
||
| income_eligibility = ( | ||
| dependant_net_income <= p.upper_dependant_income_threshold | ||
| ) | ||
|
|
||
| caregiver_amount = ( | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. dont we need the amount for the eligible dependent as well?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we don't need the amount for the eligible dependants: https://www.canada.ca/en/revenue-agency/services/forms-publications/tax-packages-years/general-income-tax-benefit-package/alberta/5009-pc/information-residents-alberta.html The website mentioend that "If you and another person support the same dependant, you can split the claim for that dependant. However, the total amount of your claim and the other person's claim cannot be more than the maximum amount allowed for that dependant." I think why we should include the maxmium amount. |
||
| (p.upper_dependant_income_threshold - dependant_net_income) | ||
| * income_eligibility | ||
| * person("live_together", period) | ||
| ) | ||
|
|
||
| return min_(caregiver_amount, p.maximum_caregiver_amount) | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. move this to the household folder |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,11 @@ | ||||||
| from policyengine_canada.model_api import * | ||||||
|
|
||||||
|
|
||||||
| class live_together(Variable): | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| value_type = bool | ||||||
| entity = Person | ||||||
| label = "Albert Caregiver Dependant" | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| documentation = "Whthere your spouse's or common-law partner's dependant lives with you or not." | ||||||
| definition_period = YEAR | ||||||
| reference = "chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/https://www.canada.ca/content/dam/cra-arc/formspubs/pbg/td1ab/td1ab-23e.pdf" | ||||||
| defined_for = ProvinceCode.AB | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.