forked from PolicyEngine/policyengine-us
-
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.
Kansas Additional Exemption for Disabled Veterans 2023
Fixes PolicyEngine#4969
- Loading branch information
Showing
8 changed files
with
69 additions
and
8 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: | ||
- Kansas disabled veteran exemptions. |
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
14 changes: 14 additions & 0 deletions
14
policyengine_us/parameters/gov/states/ks/tax/income/exemptions/veterans_matched.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,14 @@ | ||
description: Kansas provides additional exemptions for disabled veterans if this is true. | ||
metadata: | ||
unit: bool | ||
period: year | ||
label: Kansas additional exemptions for disabled veterans in effect | ||
reference: | ||
- title: KS Stat § 79-32,121 (2023) (b) | ||
href: https://law.justia.com/codes/kansas/chapter-79/article-32/section-79-32-121/ | ||
- title: 2023 Form K-40 | ||
href: https://www.ksrevenue.gov/pdf/k-4023.pdf#page=1 | ||
|
||
values: | ||
2021-01-01: false | ||
2023-01-01: true |
Empty file.
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
...es/gov/states/ks/tax/income/exemptions/disabled_veteran/ks_disabled_veteran_exemptions.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_us.model_api import * | ||
|
||
|
||
class ks_disabled_veteran_exemptions(Variable): | ||
value_type = float | ||
entity = TaxUnit | ||
label = "Kansas disabled veteran exemptions" | ||
unit = USD | ||
definition_period = YEAR | ||
reference = "https://law.justia.com/codes/kansas/chapter-79/article-32/section-79-32-121/" | ||
defined_for = StateCode.KS | ||
|
||
def formula(tax_unit, period, parameters): | ||
p = parameters(period).gov.states.ks.tax.income.exemptions | ||
return p.veterans_matched * adds(tax_unit, period, ["ks_disabled_veteran_exemptions_person"]) | ||
|
16 changes: 16 additions & 0 deletions
16
...states/ks/tax/income/exemptions/disabled_veteran/ks_disabled_veteran_exemptions_person.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_us.model_api import * | ||
|
||
|
||
class ks_disabled_veteran_exemptions_person(Variable): | ||
value_type = float | ||
entity = Person | ||
label = "Kansas disabled veteran exemptions for each person" | ||
unit = USD | ||
definition_period = YEAR | ||
defined_for = StateCode.KS | ||
|
||
def formula(person, period, parameters): | ||
p = parameters(period).gov.states.ks.tax.income.exemptions | ||
disabled = person("is_permanently_and_totally_disabled", period) | ||
return p.amount * disabled | ||
|
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