PolicyEngine / PolicyEngine/policyengine-taxsim

FICA and QBI income

Open
#384 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
17
Forks
10
Avg merge
15h 55m
Merged PRs (30d)
1

Description

AL and MO have a deduction for FICA. Up to now I have been assuming the QBI incomes were subject to FICA and included that amount in the FICA deduction in those 2 states. TA doesn't do that, I think it assumes that any income subject to FICA would be w-2 income recorded as wages, but then it wouldn't get the QBID. I found a reference that says sole prop and partnership profits are subject to FICA and QBID, but s-corp income may be excused from FICA, provided a reasonable salary is paid. No QBID on the salary. Taxsim currently doesn't assess FICA on scorp income, which would be right if we assume salary would be in pwages or swages.

What are your thoughts? My thought is to not calculate any QBI FICA during our tests, but leave it in for production. I think it only affects the 2 states income tax, but is important for the federal tfica output.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by tracing how QBI, FICA, tfica, pwages, and swages are handled for sole proprietorship, partnership, and S-corporation income, then compare the Alabama and Missouri deductions with current production and test behavior. Done requires an agreed treatment for QBI-related FICA and corresponding coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, fintech-quant
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.