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

Puerto Low Income Credit #5396

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions policyengine_us/parameters/gov/territories/pr/READme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Puerto Rico
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: Puerto Rico provides the following compensatory tax credit amount for low-income pensioners.

values:
2011-01-01: 300

metadata:
unit: currency-USD
period: year
label: Puerto Rico compensatory tax credit for low-income pensioners
reference:
- title: P.R. Laws tit. 13, § 30212 (b)
href: https://casetext.com/statute/laws-of-puerto-rico/title-thirteen-taxation-and-finance/subtitle-17-internal-revenue-code-of-2011/part-ii-income-taxes/chapter-1007-credits-against-tax/subchapter-b-refundable-credits/30212-credit-for-low-income-individuals-older-than-sixty-five-65-years-of-age
- title: Gov. of Puerto Rico Form 481.10 2023
href: https://hacienda.pr.gov/sites/default/files/documentos/481.10_2023_informative.pdf#page=4
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: Puerto Rico limits the compensatory tax credit for low-income pensioners to filers with pension income below this limit.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: Puerto Rico limits the compensatory tax credit for low-income pensioners to filers with pension income below this limit.
description: Puerto Rico limits the compensatory tax credit for low-income pensioners to pensioners with pension income below this limit.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

disagree - what does pensioner mean? filer seems clearer


values:
2011-01-01: 4_800

metadata:
unit: currency-USD
period: year
label: Puerto Rico compensatory tax credit for low-income pensioners income limit
reference:
- title: P.R. Laws tit. 13, § 30212 (b)
href: https://casetext.com/statute/laws-of-puerto-rico/title-thirteen-taxation-and-finance/subtitle-17-internal-revenue-code-of-2011/part-ii-income-taxes/chapter-1007-credits-against-tax/subchapter-b-refundable-credits/30212-credit-for-low-income-individuals-older-than-sixty-five-65-years-of-age
- title: Gov. of Puerto Rico Form 481.10 2023
href: https://hacienda.pr.gov/sites/default/files/documentos/481.10_2023_informative.pdf#page=4
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: Puerto Rico limits the low income tax credit to filers below this age threshold.

values:
2011-01-01: 65

metadata:
unit: year
period: year
label: Puerto Rico low income tax credit age threshold
reference:
- title: P.R. Laws tit. 13, § 30212 (a)
href: https://casetext.com/statute/laws-of-puerto-rico/title-thirteen-taxation-and-finance/subtitle-17-internal-revenue-code-of-2011/part-ii-income-taxes/chapter-1007-credits-against-tax/subchapter-b-refundable-credits/30212-credit-for-low-income-individuals-older-than-sixty-five-65-years-of-age
- title: Gov. of Puerto Rico Form 481.10 2023
href: https://hacienda.pr.gov/sites/default/files/documentos/481.10_2023_informative.pdf#page=4
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: Puerto Rico provides the following low income tax credit amount.

values:
2011-01-01: 400

metadata:
unit: currency-USD
period: year
label: Puerto Rico low income tax credit amount
reference:
- title: P.R. Laws tit. 13, § 30212 (a)
href: https://casetext.com/statute/laws-of-puerto-rico/title-thirteen-taxation-and-finance/subtitle-17-internal-revenue-code-of-2011/part-ii-income-taxes/chapter-1007-credits-against-tax/subchapter-b-refundable-credits/30212-credit-for-low-income-individuals-older-than-sixty-five-65-years-of-age
- title: Gov. of Puerto Rico Form 481.10 2023
href: https://hacienda.pr.gov/sites/default/files/documentos/481.10_2023_informative.pdf#page=4
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: Puerto Rico limits the low income tax credit to filers below this income limit, for tax units with one eligible person.

values:
2011-01-01: 15_000

metadata:
unit: currency-USD
period: year
label: Puerto Rico low income tax credit income limit one eligible person
reference:
- title: P.R. Laws tit. 13, § 30212 (a)
href: https://casetext.com/statute/laws-of-puerto-rico/title-thirteen-taxation-and-finance/subtitle-17-internal-revenue-code-of-2011/part-ii-income-taxes/chapter-1007-credits-against-tax/subchapter-b-refundable-credits/30212-credit-for-low-income-individuals-older-than-sixty-five-65-years-of-age
- title: Gov. of Puerto Rico Form 481.10 2023
href: https://hacienda.pr.gov/sites/default/files/documentos/481.10_2023_informative.pdf#page=4
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: Puerto Rico limits the low income tax credit to filers below this income limit, for tax units with two eligible people.

values:
2011-01-01: 30_000

metadata:
unit: currency-USD
period: year
label: Puerto Rico low income tax credit income limit two eligible people
reference:
- title: P.R. Laws tit. 13, § 30212 (a)
href: https://casetext.com/statute/laws-of-puerto-rico/title-thirteen-taxation-and-finance/subtitle-17-internal-revenue-code-of-2011/part-ii-income-taxes/chapter-1007-credits-against-tax/subchapter-b-refundable-credits/30212-credit-for-low-income-individuals-older-than-sixty-five-65-years-of-age
- title: Gov. of Puerto Rico Form 481.10 2023
href: https://hacienda.pr.gov/sites/default/files/documentos/481.10_2023_informative.pdf#page=4
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from policyengine_us.model_api import *


class pr_low_income_credit(Variable):
value_type: float
entity: TaxUnit
label: "Puerto Rico low income credit"
unit: USD
definition_period: YEAR
reference: "https://casetext.com/statute/laws-of-puerto-rico/title-thirteen-taxation-and-finance/subtitle-17-internal-revenue-code-of-2011/part-ii-income-taxes/chapter-1007-credits-against-tax/subchapter-b-refundable-credits/30212-credit-for-low-income-individuals-older-than-sixty-five-65-years-of-age"


Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
from policyengine_us.model_api import *


class pr_low_income_credit_eligible(Variable):
value_type: bool
entity: TaxUnit
label: "Eligible unit for the Puerto Rico low income credit"
definition_period: YEAR
reference: "https://casetext.com/statute/laws-of-puerto-rico/title-thirteen-taxation-and-finance/subtitle-17-internal-revenue-code-of-2011/part-ii-income-taxes/chapter-1007-credits-against-tax/subchapter-b-refundable-credits/30212-credit-for-low-income-individuals-older-than-sixty-five-65-years-of-age"

def formula(tax_unit, period, parameters):
p = parameters(period).gov.territories.pr.tax.income.credits.low_income.income_limit
eligible_person = tax_unit.members("pr_low_income_credit_eligible_person", period)
eligible_people = tax_unit.sum(eligible_person)
income = tax_unit("pr_gross_income", period)
income_limit = select(
[
eligible_people == 1,
eligible_people == 2,
],
[
p.one_person_eligible,
p.two_people_eligible,
],
default_value = 0
)
return where(eligible_people > 0, income <= income_limit, False)
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
from policyengine_us.model_api import *


class pr_low_income_credit_eligible_person(Variable):
value_type: bool
entity: Person
label: "Eligible person for the Puerto Rico low income credit"
definition_period: YEAR
reference: "https://casetext.com/statute/laws-of-puerto-rico/title-thirteen-taxation-and-finance/subtitle-17-internal-revenue-code-of-2011/part-ii-income-taxes/chapter-1007-credits-against-tax/subchapter-b-refundable-credits/30212-credit-for-low-income-individuals-older-than-sixty-five-65-years-of-age"

def formula(person, period, parameters):
age = person("age", period)
p = parameters(period).gov.territories.pr.tax.income.credits.low_income
head_or_spouse = person("is_tax_unit_head_or_spouse", period)
age_eligible = age >= p.age_threshold
return head_or_spouse & age_eligible
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from policyengine_us.model_api import *


class pr_gross_income(Variable):
value_type: float
entity: TaxUnit
label: "Puerto Rico gross income"
unit: USD
definition_period: YEAR
reference: "https://casetext.com/statute/laws-of-puerto-rico/title-thirteen-taxation-and-finance/subtitle-17-internal-revenue-code-of-2011/part-ii-income-taxes/chapter-1005-computation-of-taxable-income/subchapter-a-determination-of-net-income-general-concepts/30101-gross-income"
Loading