Skip to content

Compute FTB 3548, California's disabled access credit for small businesses - #435

Merged
captaincole merged 6 commits into
mainfrom
ca-3548
Nov 28, 2026
Merged

captaincole merged 6 commits into
mainfrom
ca-3548

Conversation

@captaincole

Copy link
Copy Markdown
Owner

In order to compute California's disabled access credit for a small business, the engine now has rules for every line of FTB 3548 and puts the credit on Form 540.

  • Risk: high — the credit joins the list of credits on Form 540 lines 43 to 45, and one existing made-up taxpayer, Flann, gets new Form 540 values.

What changed

  • FTB 3548 has rules for every line: 50% of up to $250 of access costs, so $125 at most for a year, plus a K-1 credit and last year's carryover.
  • It reads the same cost answers as the federal Form 8826, so a cost is stated once.
  • The credit goes on Schedule P (540) Section A2 and Form 540 lines 43 to 45, before FTB 3547's credit (row A150 in docs/rule-decisions.md).
  • Schedule CA gives back the federal credit's reduction of the deduction and takes off California's own $125 (row A149).
  • A new made-up taxpayer, Leya, locks the values.

Example outcome

Flann is an existing California taxpayer with $3,101 of access costs. She now gets FTB 3548 with a $125 credit. Schedule CA adds $125 to her income, so her tax before credits rises from $10,611 to $10,623, and the $125 credit comes off after it. Her net tax falls by $113.

Verified

  • Typecheck, lint, format and npm test (201 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 form's text matched the engine.
  • Not run: the e2e, and no comparison with a filed return.

PDFs to review

Refs

🤖 Generated with Claude Code

captaincole and others added 6 commits November 28, 2026 01:37
A small business that makes its place accessible gets a California credit
of 50% of up to $250 of the cost. FTB 3548 now has a rule for every field
for an individual on Form 540, so the credit reaches the California return.

- Lines 1 to 4 read the federal disabled access facts (Form 8826) and the
  same eligible small business test, so no cost is stated twice. New fact
  kind caDisabledAccess.ts: K-1 (565 and others) pass-through credits
  (line 5), last year's carryover (line 7), and a disregarded single member
  LLC flag.
- Line 6 caps the year's credit at $125. Line 9a is Schedule P (540)
  Section A2 column (b) (code 205, after the film and LAMBRA credits,
  decision A136); line 10 carries the rest until exhausted.
- Form 540 lines 43 to 45 and Schedule S line 2 take the credit. A Section
  A2 credit attaches Schedule P (540).
- Schedule CA (540) line 3 column C takes line 4 off the deduction for the
  same expenditures (decision A135: the credit determined, not line 9a).
- Unsupported: Form 540NR, a disregarded SMLLC, a tax over $5,000,000, a
  fourth Section A2 credit (line 9), and Form 8826's own gaps.
- New synthetic scenario leya. flann now files FTB 3548 and Schedule P: its
  California tax falls by $125, CA AGI rises by $125 (column C).

Co-Authored-By: Claude <noreply@anthropic.com>
The blind fill matched every FTB 3548 line. It differed only on the
Schedule CA (540) reduction in two cases, where it took the smaller of
line 4 and line 9a. The engine keeps line 4 (decision A135, the credit
determined); QUESTIONS.md now records that third reading and its dollars.
PolicyEngine-US does not model the credit, so there is nothing to compare.

Co-Authored-By: Claude <noreply@anthropic.com>
…stions

Co-Authored-By: Claude <noreply@anthropic.com>
Main adds rows A135 to A138 to docs/rule-decisions.md. The two FTB 3548
rows move from A135 and A136 to A139 and A140. The QUESTIONS.md files of
FTB 3548 and Form 8826 and the READMEs of leya and flann refer to A139 now.

Co-Authored-By: Claude <noreply@anthropic.com>
…edit chain

All three forms add a credit to the California credit chain. Keep each:
- Schedule P (540) Section A2: the disabled access credit (205) takes the
  line after the LAMBRA credit, and FTB 3547's credit (204) the line after
  it. Both carry over with no limit, so the carryover rule does not order
  them. The Credit Table prints 205 before 204, and the engine follows that
  order (decision A150; FTB 3547's line choice counts the 205 row).
- Section B2: FTB 3503's credit (213) after the TTA credit, as before.
- Form 540 lines 43 to 45 and Schedule S line 2 take each credit once, in
  the same order as Schedule P (540).
- Schedule CA (540) line 3 column C adds FTB 3548 line 4 and FTB 3547
  line 2.
- docs/rule-decisions.md: the FTB 3548 rows are A149 and A150. The QUESTIONS
  files, the Form 8826 questions and the leya and flann READMEs refer to the
  new ids.
- A unit test puts all three credits on one return (flann with an FTB 3547
  carryover, an FTB 3503 carryover and Massachusetts tax) and checks
  Schedule P (540), Form 540 lines 43 to 45 and 48 and Schedule S line 2.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@captaincole
captaincole merged commit 4308302 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