forked from PolicyEngine/policyengine-canada
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
…-canada into Kenyaokun/issue229
- Loading branch information
Showing
6 changed files
with
53 additions
and
1 deletion.
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
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
16 changes: 16 additions & 0 deletions
16
...cyengine_canada/parameters/gov/provinces/qc/tax/income/credits/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,16 @@ | ||
description: Quebec provides this Basic Personal Amount. | ||
values: | ||
2022-01-01: 16_143 | ||
metadata: | ||
unit: currency-CAD | ||
period: year | ||
label: Quebec Basic Personal Amount | ||
reference: | ||
- title: Quebec 2022 Income Tax Return - Non-refundable tax credits - Line 350 | ||
href: https://www.revenuquebec.ca/documents/en/formulaires/tp/2022-12/TP-1.D-V%282022-12%29.pdf#page=3 | ||
- title: Revenu Quebec – Basic Personal Amount (Line 350) | ||
href: https://www.revenuquebec.ca/en/citizens/income-tax-return/completing-your-income-tax-return/how-to-complete-your-income-tax-return/line-by-line-help/350-to-398-1-non-refundable-tax-credits/line-350/ | ||
- title: Taxation Act(CQLR c I-3), Part I, Book V, Title I, Chapter I.0.1, 752.0.0.1 | ||
href: https://www.legisquebec.gouv.qc.ca/en/document/cs/I-3?langCont=fr#se:752_0_0_1 | ||
# $14,890 in the legal reference, increased due to the inflation adjustments | ||
|
6 changes: 6 additions & 0 deletions
6
policyengine_canada/tests/gov/provinces/qc/tax/income/credits/qc_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,6 @@ | ||
- name: Quebec basic personal amount | ||
period: 2022 | ||
input: | ||
province_code: QC | ||
output: | ||
qc_basic_personal_amount: 16_143 |
18 changes: 18 additions & 0 deletions
18
...cyengine_canada/variables/gov/provinces/qc/tax/income/credits/qc_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,18 @@ | ||
from policyengine_canada.model_api import * | ||
|
||
|
||
class qc_basic_personal_amount(Variable): | ||
value_type = float | ||
entity = Person | ||
label = "Quebec basic personal amount" | ||
unit = CAD | ||
definition_period = YEAR | ||
defined_for = ProvinceCode.QC | ||
reference = ( | ||
"https://www.revenuquebec.ca/documents/en/formulaires/tp/2022-12/TP-1.D-V%282022-12%29.pdf", | ||
"https://www.revenuquebec.ca/en/citizens/income-tax-return/completing-your-income-tax-return/how-to-complete-your-income-tax-return/line-by-line-help/350-to-398-1-non-refundable-tax-credits/line-350/", | ||
) | ||
|
||
def formula(person, period, parameters): | ||
p = parameters(period).gov.provinces.qc.tax.income.credits | ||
return p.basic_personal_amount |
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