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

split payroll tax functions #2692

Closed
bodiyang opened this issue Aug 9, 2023 · 1 comment
Closed

split payroll tax functions #2692

bodiyang opened this issue Aug 9, 2023 · 1 comment

Comments

@bodiyang
Copy link
Contributor

bodiyang commented Aug 9, 2023

Plan to split Tax-Calculator into two parts income tax model and payroll tax model.

The new payroll tax model which I'm developing: Taxcalc-Payroll

~ essentially it will just split the payroll tax functions in calcfunctions.py out of the current Tax-Calculator and move them into the new payroll tax model: EI_PayrollTax and AdditionalMedicareTax. Other parts of Tax-Calculator remain the same.

Reason of this (which is based on the meeting last time discussing the placement of payroll tax offset function:
To keep Tax-Calculator as an income tax calculator (similar to Turbo tax), Tax-Brain as a revenue & budget estimate model (the upper structure of the family of tax models).

So the structure of tax model family will be like:

  • Tax Brain (head of the tax models, where hosts central commands);
  • Taxcalc-income (basically the original Tax-Calculator, deleting the payroll tax functions in calcfunctions.py) & Taxcalc-payroll (the newly created payroll tax model: payroll tax calculator + payroll tax offset functions & other payroll tax related functions)
  • Tax-Data: data preparation for taxcalc
  • Behavior-Response
@martinholmer
Copy link
Collaborator

The merge of pull request #2753, which produced Tax-Calculator 4.0.0 release, introduced a backwards-incompatible change in payroll tax calculations (by introducing separate employee and employer payroll tax rates), but did not split Tax-Calculator into two different models.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants