Skip to content

Compute Form 8994, the employer credit for paid family and medical leave - #423

Merged
captaincole merged 5 commits into
mainfrom
form-8994
Nov 28, 2026
Merged

captaincole merged 5 commits into
mainfrom
form-8994

Conversation

@captaincole

Copy link
Copy Markdown
Owner

In order to compute the credit of an employer that pays wages to employees on family and medical leave, the engine now has rules for every line of Form 8994 and sends the credit to Form 3800.

  • Risk: routine. No Form 1040 or Form 540 file changes, and no value of an existing scenario changes.
  • Complex: the credit lowers the wage deduction, California gives it back, and wages used for another wage credit cannot count here.

What changed

  • Form 8994 has rules for every line: 12.5% to 25% of the leave wages of each qualifying employee, for at most 12 weeks, limited by the employee's normal hourly pay.
  • A figured credit takes the place of a stated one for the same business, so the wages go down once. Form 8932 and Form 8994 on one business each lower the wages once.
  • One decision, row A139 in docs/rule-decisions.md.
  • Two new made-up taxpayers, Dav and Eldrin (a farmer), lock the values.

Verified

  • Typecheck, lint, format and npm test (194 checks) pass locally on the head with main merged in. The all gates check on GitHub runs the rest.
  • A blind fill by hand from the instructions matched the engine in 15 cases.
  • Not run: the e2e, and no comparison with a filed return.

PDFs to review

Refs

🤖 Generated with Claude Code

captaincole and others added 5 commits November 27, 2026 18:10
…and medical leave

Form 8994 had a catalog and no rules. Now the engine figures line 1 from
the employer's written policy (questions A, B, D) and one fact per employee
on leave: the Applicable Percentage Worksheet, the $93,000 prior-year
compensation test, the 12-week and hourly limits, and the wages already used
for another credit (Forms 5884, 8844, 8932, 6765, 8820), which are asked
for. Line 2 takes the K-1 code BB credits; line 3 goes to Form 3800 line 4j.

Line 1 lowers the wage deduction of the business or farm that paid the
wages (Schedule C line 26, Schedule F line 22), as one entry of each
reductions list, and California gives it back. A stated Form 8994 credit
next to figured employees is a gap on line 4j and no longer lowers the
wages, so nothing counts twice; alone it works as before. A decision not to
file with employee facts is a gap, like Forms 8820 and 8882.

One decision (rule-decisions A122): the applicable percentage stops at 25%
above a 100% rate. Two synthetic scenarios: dav (a print shop and a K-1)
and eldrin (a hay farm).

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Both Form 8994 scenarios are federal only, so no golden locked the
Schedule CA amount the figured credit adds back. A unit test now runs
dav and eldrin as California residents: Schedule CA line 3 column B is
$4,221 (the business wages line 1 took off), line 6 column B is $1,710
(the farm labor), and Form 540 line 14 takes each. Without the paid
leave facts both lines are blank.

QUESTIONS.md now sorts each item under Two texts conflict, Should we do
this now, and Pattern change, and proposes splitting a farm's stated
employment credits by form.

Co-Authored-By: Claude <noreply@anthropic.com>
Join Form 8994 with Forms 8874, 8900, 8941 and 8932 from main.

- A figured Form 8932 credit and a figured Form 8994 credit each replace
  their own stated credit. wageCreditsByBusiness takes the stated forms
  that another form figures; wageCreditsBesideForm8994 gives it Form 8994
  while Form 8994 figures the credit.
- Form 8994 asks for the other credit wages also when the business or
  farm has a Form 8932 employee fact with payments.
- Schedule F line 22 takes Form 8932 and Form 8994 credits.
- Decision row A122 of Form 8994 is now A139.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@captaincole
captaincole merged commit ffa86f8 into main Nov 28, 2026
11 checks passed
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

Successfully merging this pull request may close these issues.

1 participant