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

New Mexico Armed forces retirement pay exemption 2022-2026 #5049

Merged
merged 25 commits into from
Sep 21, 2024
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
9ae402f
New Mexico Armed forces retirement pay exemption 2022-2026
hua7450 Sep 9, 2024
f26ec73
upstream master
hua7450 Sep 9, 2024
06d2466
add reference
hua7450 Sep 9, 2024
db175be
add exemptions list parameter
hua7450 Sep 10, 2024
9ebf8b1
make format
hua7450 Sep 10, 2024
64438d3
minor change
hua7450 Sep 11, 2024
e5c0c6d
upstream master
hua7450 Sep 11, 2024
8a6dbb5
Update policyengine_us/variables/gov/states/nm/tax/income/exemptions/…
PavelMakarchuk Sep 12, 2024
4436ea3
Update policyengine_us/parameters/gov/states/nm/tax/income/exemptions…
PavelMakarchuk Sep 13, 2024
d6b6a08
upstream master
hua7450 Sep 16, 2024
a121244
Merge branch 'hua7450/issue5013' of https://github.com/hua7450/policy…
hua7450 Sep 16, 2024
5dfe3d1
replace veteran_benefits with military_retirement_pay, fix formula an…
hua7450 Sep 16, 2024
1c0fc7d
minor change
hua7450 Sep 16, 2024
609894d
format
hua7450 Sep 16, 2024
5e89ef5
create person level varaible and test file.
hua7450 Sep 17, 2024
5aca97a
format
hua7450 Sep 17, 2024
f69aecf
upstream master
hua7450 Sep 17, 2024
b95cf8e
rolled back to the version where denpendents are eligible for the exe…
hua7450 Sep 20, 2024
ef16964
upstream master
hua7450 Sep 20, 2024
6f14f92
adjust formula
hua7450 Sep 20, 2024
03aacd9
make format
hua7450 Sep 20, 2024
365fce0
adjust exmeptions list parameter
hua7450 Sep 20, 2024
439ed4d
minor change
hua7450 Sep 20, 2024
9d1b9c9
limit exemption to head or spouse
hua7450 Sep 21, 2024
49ce5d5
upstream master
hua7450 Sep 21, 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:
- New Mexcio armed forces retirement pay exemption.
hua7450 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
description: New Mexico caps the armed forces retirement pay exemptions at this amount.
hua7450 marked this conversation as resolved.
Show resolved Hide resolved
values:
2022-01-01: 10_000
2023-01-01: 20_000
2024-01-01: 30_000
# expires after 2026
metadata:
unit: currency-USD
period: year
label: New Mexico armed forces retirement pay exemption cap
reference:
- title: N.M. Stat. § 7-2-5.13 Exemption; armed forces retirement pay (A)
href: https://casetext.com/statute/new-mexico-statutes-1978/chapter-7-taxation/article-2-income-tax-general-provisions/section-7-2-513-effective-until-112025-exemption-armed-forces-retirement-pay
- title: INSTRUCTIONS booklet for personal income tax forms 2022
href: https://taxsim.nber.org/historical_state_tax_forms/NM/2022/PITbook2022.pdf#page=52
- title: INSTRUCTIONS FOR 2023 PIT-ADJ
href: https://klvg4oyd4j.execute-api.us-west-2.amazonaws.com/prod/PublicFiles/34821a9573ca43e7b06dfad20f5183fd/cb0dc85c-5c28-45b1-a3f5-1e00fffaaf6b/2023pit-adj-ins.pdf#page=7

Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
description: New Mexico applies exemptions to federal adjusted gross income.
PavelMakarchuk marked this conversation as resolved.
Show resolved Hide resolved
values:
2021-01-01:
- nm_aged_blind_exemption
- nm_hundred_year_exemption
- nm_low_and_middle_income_exemption
- nm_medical_expense_exemption
- nm_social_security_income_exemption

2022-01-01:
- nm_aged_blind_exemption
- nm_hundred_year_exemption
- nm_low_and_middle_income_exemption
- nm_medical_expense_exemption
- nm_social_security_income_exemption
- nm_armed_forces_retirement_pay_exemption

2027-01-01:
- nm_aged_blind_exemption
- nm_hundred_year_exemption
- nm_low_and_middle_income_exemption
- nm_medical_expense_exemption
- nm_social_security_income_exemption


metadata:
unit: list
hua7450 marked this conversation as resolved.
Show resolved Hide resolved
period: year
label: New Mexico exemptions
reference:
- title: 2022 PIT-ADJ SCHEDULE OF ADDITIONS, DEDUCTIONS, AND EXEMPTIONS
href: https://www.taxformfinder.org/forms/2022/2022-new-mexico-form-pit-adj.pdf
- title: 2023 PIT-ADJ SCHEDULE OF ADDITIONS, DEDUCTIONS, AND EXEMPTIONS
href: https://klvg4oyd4j.execute-api.us-west-2.amazonaws.com/prod/PublicFiles/34821a9573ca43e7b06dfad20f5183fd/247e3a1f-2a1f-4002-a689-e1c3994dde9d/2023pit-adj.pdf
- title: INSTRUCTIONS booklet for personal income tax forms 2022
href: https://taxsim.nber.org/historical_state_tax_forms/NM/2022/PITbook2022.pdf#page=46
- title: INSTRUCTIONS FOR 2023 PIT-ADJ
href: https://klvg4oyd4j.execute-api.us-west-2.amazonaws.com/prod/PublicFiles/34821a9573ca43e7b06dfad20f5183fd/cb0dc85c-5c28-45b1-a3f5-1e00fffaaf6b/2023pit-adj-ins.pdf#page=3
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
- name: Case 1, 2022, armed forces retirement pay higher than exemption amount.
period: 2022
input:
veterans_benefits: 11_000
state_code: NM
output:
nm_armed_forces_retirement_pay_exemption: 10_000

- name: Case 2, 2022, armed forces retirement pay less than exemption amount.
period: 2022
input:
veterans_benefits: 5_000
state_code: NM
output:
nm_armed_forces_retirement_pay_exemption: 5_000

- name: Case 2, 2023, armed forces retirement pay less than exemption amount.
period: 2023
input:
veterans_benefits: 15_000
state_code: NM
output:
nm_armed_forces_retirement_pay_exemption: 15_000
hua7450 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
from policyengine_us.model_api import *
hua7450 marked this conversation as resolved.
Show resolved Hide resolved


class nm_armed_forces_retirement_pay_exemption(Variable):
value_type = float
entity = TaxUnit
label = "New Mexico armed forces retirement pay exemption"
unit = USD
definition_period = YEAR
reference = "https://casetext.com/statute/new-mexico-statutes-1978/chapter-7-taxation/article-2-income-tax-general-provisions/section-7-2-513-effective-until-112025-exemption-armed-forces-retirement-pay"
defined_for = StateCode.NM

def formula(tax_unit, period, parameters):
p = parameters(
period
).gov.states.nm.tax.income.exemptions.armed_forces_retirement_pay
armed_forces_retirement_pay = add(
tax_unit, period, ["veterans_benefits"]
hua7450 marked this conversation as resolved.
Show resolved Hide resolved
)
return min_(armed_forces_retirement_pay, p.cap)
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,4 @@ class nm_exemptions(Variable):
definition_period = YEAR
defined_for = StateCode.NM

adds = [
"nm_aged_blind_exemption",
"nm_hundred_year_exemption",
"nm_low_and_middle_income_exemption",
"nm_medical_expense_exemption",
"nm_social_security_income_exemption",
]
adds = "gov.states.nm.tax.income.exemptions.exemptions"
Loading