Skip to content
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

Saver's Credit #4506

Merged
merged 43 commits into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from 39 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
db1a3f1
Saver's Credit
DianaShi5083 Feb 28, 2024
4776b74
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
DianaShi5083 Mar 6, 2024
0281b95
Adjustment
DianaShi5083 Mar 6, 2024
c47b170
Adjustment
DianaShi5083 Mar 11, 2024
f61e260
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
DianaShi5083 Mar 12, 2024
5964005
Adjustments
DianaShi5083 Mar 12, 2024
a6aa757
Adjustments
DianaShi5083 Mar 18, 2024
07ddb32
Solved merge conflicts
DianaShi5083 Mar 18, 2024
583aef2
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
DianaShi5083 Mar 25, 2024
e9c8fe4
Adjusted savers credit logic
DianaShi5083 Mar 25, 2024
e27fc51
Adjustments
DianaShi5083 Apr 1, 2024
7335186
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
DianaShi5083 Apr 1, 2024
1042c60
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
DianaShi5083 Apr 8, 2024
a421a25
Adjustments
DianaShi5083 Apr 8, 2024
5fdd1d4
format
PavelMakarchuk Apr 8, 2024
359f2cd
Name Changing, Widow
DianaShi5083 Apr 9, 2024
622919c
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
PavelMakarchuk Apr 28, 2024
e6c8acf
parameter format
PavelMakarchuk Apr 28, 2024
201abad
variable and test adjustment
PavelMakarchuk Apr 29, 2024
417dd50
format
PavelMakarchuk Apr 29, 2024
1555aa3
minor par
PavelMakarchuk Apr 30, 2024
ac4bf03
bug
Mshuning May 8, 2024
9d7f37c
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
Mshuning May 8, 2024
bcabf5f
format
Mshuning May 9, 2024
04e3c97
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
Mshuning May 9, 2024
c551702
qualified_contributions
Mshuning May 9, 2024
44376a0
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
Mshuning May 9, 2024
e339f2e
bug
Mshuning May 9, 2024
479026c
format
Mshuning May 9, 2024
d6fe00c
qualified_contributions
Mshuning May 9, 2024
2f767c4
2018
Mshuning May 10, 2024
40d2fef
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
Mshuning May 10, 2024
b35f527
format
Mshuning May 13, 2024
0b32e4c
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
Mshuning May 13, 2024
d76656b
format
Mshuning May 14, 2024
5394a2d
Co-authored-by: Pavel Makarchuk <PavelMakarchuk@users.noreply.github.…
Mshuning May 14, 2024
229294e
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
Mshuning May 14, 2024
db75551
format
PavelMakarchuk May 14, 2024
d4d6976
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
PavelMakarchuk May 14, 2024
951a7cd
format
Mshuning May 16, 2024
075068d
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
Mshuning May 16, 2024
c6bb2fd
threshold_adjustment
Mshuning May 16, 2024
a1584e4
Update able_contributions_person.py
MaxGhenis May 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:
- Retirement Savings Contributions Credit (Saver’s Credit).
4 changes: 2 additions & 2 deletions policyengine_us/data/datasets/cps/enhanced_cps/process_puf.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"E07200": "elderly_disabled_credit",
"E07220": "child_tax_credit",
"E07230": "education_credits",
"E07240": "retirement_savings_credit",
"E07240": "savers_credit",
"E07260": "residential_energy_credit",
"E07300": "foreign_tax_credit",
"E07400": "general_business_credit",
Expand Down Expand Up @@ -302,7 +302,7 @@
"taxable_social_security",
"taxable_ira_distributions",
"casualty_loss",
"retirement_savings_credit",
"savers_credit",
"misc_deduction",
"interest_expense",
"unrecaptured_section_1250_gain",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ values:
# Home mortgage credit
- non_refundable_american_opportunity_credit
- lifetime_learning_credit
- retirement_savings_credit
- savers_credit
- residential_clean_energy_credit
- energy_efficient_home_improvement_credit
# CDCC became refundable for 2021 only.
Expand All @@ -21,7 +21,7 @@ values:
# Home mortgage credit
- non_refundable_american_opportunity_credit
- lifetime_learning_credit
- retirement_savings_credit
- savers_credit
- residential_clean_energy_credit
- energy_efficient_home_improvement_credit
- new_clean_vehicle_credit
Expand All @@ -34,7 +34,7 @@ values:
# Home mortgage credit
- non_refundable_american_opportunity_credit
- lifetime_learning_credit
- retirement_savings_credit
- savers_credit
- residential_clean_energy_credit
- energy_efficient_home_improvement_credit
- new_clean_vehicle_credit
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
description: The IRS limits the saver's credit to taxpayers at or over to following age.
values:
2018-01-01: 18
metadata:
unit: year
period: year
label: Retirement Savings Contributions Credit (Saver's Credit) age threshold
reference:
- title: 26 U.S. Code § 25B(c)(1)
href: https://www.law.cornell.edu/uscode/text/26/25B#c
- title: IRS | Retirement Savings Contributions Credit (Saver's Credit)
href: https://www.irs.gov/retirement-plans/plan-participant-employee/retirement-savings-contributions-savers-credit
- title: Publication 590-A
href: https://www.irs.gov/pub/irs-pdf/p590a.pdf#page=45
- title: 2018 Publication 590-A
href: https://www.irs.gov/pub/irs-prior/p590a--2018.pdf#page=47
- title: Form 8880 - 2023 Credit for Qualified Retirement Savings Contributions
href: https://www.irs.gov/pub/irs-pdf/f8880.pdf#page=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
description: The IRS caps the qualifying contributions at the following amount under the saver's credit.
values:
2018-01-01: 2_000
metadata:
unit: currency-USD
period: year
label: Saver's Credit contributions cap
reference:
- title: 26 U.S. Code § 25B(a)
href: https://www.law.cornell.edu/uscode/text/26/25B
- title: IRS | Retirement Savings Contributions Credit (Saver's Credit)
href: https://www.irs.gov/retirement-plans/plan-participant-employee/retirement-savings-contributions-savers-credit
- title: Publication 590-A
href: https://www.irs.gov/pub/irs-pdf/p590a.pdf#page=46
- title: 2018 Publication 590-A
href: https://www.irs.gov/pub/irs-prior/p590a--2018.pdf#page=48
- title: Form 8880 - 2023 Credit for Qualified Retirement Savings Contributions
href: https://www.irs.gov/pub/irs-pdf/f8880.pdf#page=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
description: The IRA sums the following elements as qualified retirement savings contributions when computing the retirement saving credit.
Mshuning marked this conversation as resolved.
Show resolved Hide resolved
values:
2018-01-01:
- traditional_ira_contributions
- traditional_401k_contributions
- traditional_403b_contributions
- roth_ira_contributions
- roth_401k_contributions
- roth_403b_contributions
- self_employed_pension_contributions
Mshuning marked this conversation as resolved.
Show resolved Hide resolved
- able_contributions_person

2026-01-01:
- traditional_ira_contributions
- traditional_401k_contributions
- traditional_403b_contributions
- roth_ira_contributions
- roth_401k_contributions
- roth_403b_contributions
- self_employed_pension_contributions

metadata:
unit: list
period: year
label: Saver's Credit qualified retirement savings contributions
reference:
- title: 26 U.S. Code § 25B - (d)
Mshuning marked this conversation as resolved.
Show resolved Hide resolved
href: https://www.law.cornell.edu/uscode/text/26/25B#d_1
- title: 2023 Publication 590-A
href: https://www.irs.gov/pub/irs-pdf/p590a.pdf#page=45
- title: 2023 Form 8880
href: https://www.irs.gov/pub/irs-pdf/f8880.pdf#page=2
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
description: IRS multiplies the qualified contributions by the following rate for joint filers under the Saver's Credit, based on adjusted gross income.
metadata:
type: single_amount
threshold_unit: currency-USD
ramount_unit: /1
period: year
label: Saver's Credit joint rate
reference:
- title: 26 U.S. Code § 25B(b)(1)
href: https://www.law.cornell.edu/uscode/text/26/25B#b
- title: IRS | Retirement Savings Contributions Credit (Saver's Credit)
href: https://www.irs.gov/retirement-plans/plan-participant-employee/retirement-savings-contributions-savers-credit
- title: Form 8880 - 2023 Credit for Qualified Retirement Savings Contributions
href: https://www.irs.gov/pub/irs-pdf/f8880.pdf#page=1
- title: 2018 Form 8880
href: https://www.irs.gov/pub/irs-prior/f8880--2018.pdf#page=1

brackets:
- threshold:
2018-01-01: 0
amount:
2018-01-01: 0.5
- threshold:
values:
2018-01-01: 38_000
2019-01-01: 38_500
2020-01-01: 39_000
2021-01-01: 39_500
2022-01-01: 41_000
2023-01-01: 43_500
uprating:
parameter: gov.irs.uprating
rounding:
type: nearest
interval: 500
amount:
2018-01-01: 0.2
- threshold:
values:
2018-01-01: 41_000
2019-01-01: 41_500
2020-01-01: 42_500
2021-01-01: 43_000
2022-01-01: 44_000
2023-01-01: 47_500
uprating:
parameter: gov.irs.uprating
rounding:
type: nearest
interval: 500
amount:
2018-01-01: 0.1
- threshold:
values:
2018-01-01: 63_000
2019-01-01: 64_000
2020-01-01: 65_000
2021-01-01: 66_000
2022-01-01: 68_000
2023-01-01: 73_000
uprating:
parameter: gov.irs.uprating
rounding:
type: nearest
interval: 500
amount:
2018-01-01: 0
Mshuning marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: IRS multiplies the joint threshold of the Savor's credit by this rate, for head of household filers.
metadata:
unit: /1
period: year
label: Retirement Savings Contributions Credit (Saver’s Credit) head of household threshold adjustment rate
reference:
- title: 26 U.S. Code § 25B(b)(2)(a)
href: https://www.law.cornell.edu/uscode/text/26/25B#b
- title: IRS | Retirement Savings Contributions Credit (Saver’s Credit)
href: https://www.irs.gov/retirement-plans/plan-participant-employee/retirement-savings-contributions-savers-credit
- title: Form 8880 - 2023 Credit for Qualified Retirement Savings Contributions
href: https://www.irs.gov/pub/irs-pdf/f8880.pdf#page=1
values:
2018-01-01: 0.75
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: IRS multiplies the joint threshold of the Savor's credit by this rate, for separate filers.
Mshuning marked this conversation as resolved.
Show resolved Hide resolved
metadata:
unit: /1
period: year
label: Retirement Savings Contributions Credit (Saver’s Credit) separate threshold adjustment rate
reference:
- title: 26 U.S. Code § 25B(b)(2)(b)
href: https://www.law.cornell.edu/uscode/text/26/25B#b
- title: IRS | Retirement Savings Contributions Credit (Saver’s Credit)
href: https://www.irs.gov/retirement-plans/plan-participant-employee/retirement-savings-contributions-savers-credit
- title: Form 8880 - 2023 Credit for Qualified Retirement Savings Contributions
href: https://www.irs.gov/pub/irs-pdf/f8880.pdf#page=1
values:
2018-01-01: 0.5
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: IRS multiplies the joint threshold of the Savor's credit by this rate, for single filers.
metadata:
unit: /1
period: year
label: Retirement Savings Contributions Credit (Saver’s Credit) single threshold adjustment rate
reference:
- title: 26 U.S. Code § 25B(b)(2)(b)
href: https://www.law.cornell.edu/uscode/text/26/25B#b
- title: IRS | Retirement Savings Contributions Credit (Saver’s Credit)
href: https://www.irs.gov/retirement-plans/plan-participant-employee/retirement-savings-contributions-savers-credit
- title: Form 8880 - 2023 Credit for Qualified Retirement Savings Contributions
href: https://www.irs.gov/pub/irs-pdf/f8880.pdf#page=1
values:
2018-01-01: 0.5
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: IRS multiplies the joint threshold of the Savor's credit by this rate, for widow(er) filers.
metadata:
unit: /1
period: year
label: Retirement Savings Contributions Credit (Saver’s Credit) widow threshold adjustment rate
reference:
- title: 26 U.S. Code § 25B(b)(2)(b)
href: https://www.law.cornell.edu/uscode/text/26/25B#b
- title: IRS | Retirement Savings Contributions Credit (Saver’s Credit)
href: https://www.irs.gov/retirement-plans/plan-participant-employee/retirement-savings-contributions-savers-credit
- title: Form 8880 - 2023 Credit for Qualified Retirement Savings Contributions
href: https://www.irs.gov/pub/irs-pdf/f8880.pdf#page=1
values:
2018-01-01: 0.5
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
- name: eligible person
period: 2021
input:
age: 20
is_tax_unit_head: true
claimed_as_dependent_on_another_return: false
is_full_time_student: false
output:
savers_credit_eligible_person: true

- name: Not an eligible person, under age threshold
period: 2021
input:
age: 17
is_tax_unit_spouse: true
spouse_is_dependent_elsewhere: false
is_full_time_student: false
output:
savers_credit_eligible_person: false
Loading
Loading