Skip to content

Compute FTB 3503, California's natural heritage preservation credit - #431

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

captaincole merged 6 commits into
mainfrom
ca-3503

Conversation

@captaincole

Copy link
Copy Markdown
Owner

In order to compute California's credit for land given for conservation, the engine now has rules for every line of FTB 3503 and puts the credit on Form 540.

  • Risk: high — the credit joins the list of credits on Form 540 lines 43 to 45, and a new optional answer can lower the federal charitable deduction. No value of an existing scenario changes.
  • Complex: one gift changes three places: the California credit, the California deduction and the federal deduction.

What changed

  • FTB 3503 has rules for every line: 55% of the approved value of the property, plus a credit from Schedule K-1 and last year's carryover, used up to the tax that is left.
  • The credit goes on Schedule P (540) and Form 540 lines 43 to 45, after the credits already there (row A147 in docs/rule-decisions.md).
  • California allows the credit in place of a deduction, so Schedule CA (540) takes the gift's deduction back out.
  • Federal: Publication 526 lowers a gift's deduction by a state tax credit above 15% of its value. A noncash gift has a new optional answer for that credit; with no answer nothing changes.
  • A new made-up taxpayer, Kari, locks the values.

Example outcome

Kari gives land worth $150,000. FTB 3503 line 2 is $82,500, and with a K-1 credit and a carryover line 6 is $93,151. Her tax takes $23,936; $69,215 carries over.

Verified

  • Typecheck, lint, format and npm test (198 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 in 13 cases.
  • Not run: the e2e, and no comparison with a filed return.

PDFs to review

Refs

  • A learning issue follows this pull request, because it changes a Form 540 file.

🤖 Generated with Claude Code

captaincole and others added 6 commits November 28, 2026 01:26
…and California deduction effects

FTB 3503 gives a California credit of 55% of the value of property the
Wildlife Conservation Board approved. Every field now has a rule: Part I
copies the certificate, lines 1 to 6 add the current credit, K-1 credits and
the 2024 carryover, line 7a takes Schedule P (540) Section B2 line 16 (or the
tax left), and line 8 carries the rest. The credit joins Form 540 lines 43 to
45, Schedule S line 2, FTB 3801-CR and FTB 3804-CR after the TTA credit
(decision A135).

The credit is "in lieu of" any California deduction for the property, so
Schedule CA (540) line 12 column B takes the property's federal deduction back
out. The federal deduction is first reduced by a state tax credit above 15% of
the value (Pub. 526), through a new optional field on the noncash gift fact.
With no FTB 3503 facts every existing value stays the same.

New made-up taxpayer kari shows every line.

Co-Authored-By: Claude <noreply@anthropic.com>
The blind fill of 13 cases matched the engine in every dollar amount; its
two rounding doubts (K-1 credits in cents, a fair market value in cents)
change dollars, so they join the form's questions with the engine's default.
PolicyEngine-US and IRS Direct File do not model the credit.

Co-Authored-By: Claude <noreply@anthropic.com>
…est the credits after it

Pub. 526 reduces the federal deduction by the whole state credit expected,
so the gift fact's stated credit must equal FTB 3503 line 2 for the same
property. A credit more than $1 away now keeps the gift on the form's
missing inputs, and Schedule CA line 12 column B waits for it.

New unit tests run the credit with Schedule S line 2, FTB 3801-CR's passive
credits (with and without Schedule P) and FTB 3804-CR, so each subtracts the
credit used exactly once. QUESTIONS.md is sorted into two texts that
conflict, items to do now or later, and pattern changes.

Co-Authored-By: Claude <noreply@anthropic.com>
Main adds rows A135 to A138 to docs/rule-decisions.md. The FTB 3503 row
moves from A135 to A139. The QUESTIONS.md file and the DECISION comment
in creditUsed.ts refer to A139 now.

Co-Authored-By: Claude <noreply@anthropic.com>
Four federal forms land on main first and take rows A139 to A146. The
FTB 3503 row is now A147. The QUESTIONS.md file and the DECISION comment
in creditUsed.ts refer to A147.

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