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.
South Carolina sales tax cut for people age 85 and older
Fixes PolicyEngine#5387
- Loading branch information
1 parent
fc3800b
commit 66d3e43
Showing
4 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
.../policy/baseline/gov/states/sc/tax/sales_and_use/sc_sales_and_use_exclusion_eligible.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,15 @@ | ||
- name: Person age 85 or above eligible for tax exclusion | ||
period: 2022 | ||
input: | ||
age: 90 | ||
state_code: SC | ||
output: | ||
sc_sales_and_use_exclusion_eligible: true | ||
|
||
- name: Person age under 85 not eligible for tax exclusion | ||
period: 2022 | ||
input: | ||
age: 70 | ||
state_code: SC | ||
output: | ||
sc_sales_and_use_exclusion_eligible: false |
17 changes: 17 additions & 0 deletions
17
...engine_us/tests/policy/baseline/gov/states/sc/tax/sales_and_use/sc_sales_and_use_tax.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,17 @@ | ||
- name: Person age 85 or above eligible for tax exclusion | ||
period: 2022 | ||
input: | ||
sc_sales_and_use_exclusion_eligible: true | ||
sc_sales_and_purchases_proceeds: 10_000 | ||
state_code: SC | ||
output: | ||
sc_sales_and_use_tax: 500 | ||
|
||
- name: Person age under 85 not eligible for tax exclusion | ||
period: 2022 | ||
input: | ||
sc_sales_and_use_exclusion_eligible: false | ||
sc_sales_and_purchases_proceeds: 10_000 | ||
state_code: SC | ||
output: | ||
sc_sales_and_use_tax: 600 |
9 changes: 9 additions & 0 deletions
9
policyengine_us/variables/gov/states/sc/tax/sales_and_use/sc_sales_and_purchases_proceeds.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,9 @@ | ||
from policyengine_us.model_api import * | ||
|
||
|
||
class sc_sales_and_purchases_proceeds(Variable): | ||
value_type = float | ||
entity = TaxUnit | ||
label = "South Carolina sales and purchases proceeds" | ||
unit = USD | ||
definition_period = YEAR |
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