# Tax Planning

Strategic tax planning to minimize liability and maximize savings

825 posts [View all tags](https://beancount.io/blog/tags) [Back to All Posts](https://beancount.io/blog)

May 17, 2026 14 min read

## [How the OBBBA's Tiered QSBS Exclusion Changes the Math for Founders, Employees, and Angels](https://beancount.io/blog/2026/05/17/obbba-section-1202-qsbs-15-million-cap-tiered-50-75-100-percent-exclusion-three-four-five-year-holding-founders-employees-angels-guide)

The OBBBA raised the Section 1202 QSBS cap to $15 million, lifted the gross-asset ceiling to $75 million, and replaced the five-year cliff with a tiered 50/75/100 percent exclusion at three, four, and five years — but only for stock issued after July 4, 2025.

Mike Thrift

tax tax-planning startup

May 17, 2026 14 min read

## [Section 1031 Boot Recognition: Cash Boot, Mortgage Boot, and Partial Deferral on Form 8824](https://beancount.io/blog/2026/05/17/section-1031-boot-recognition-mechanics-like-kind-exchanges-cash-mortgage-boot-netting-rules-partial-deferral-form-8824-guide)

A working guide to how the IRS computes boot in a Section 1031 exchange — cash boot, mortgage boot, the four netting rules, depreciation recapture at 25%, carryover basis, and Form 8824 reporting — with a worked example showing how $200K of fresh equity can wipe out $200K of mortgage boot.

Mike Thrift

real-estate tax tax-planning

May 17, 2026 10 min read

## [Section 1341 and the Claim of Right Doctrine: Recovering Tax on Clawed-Back Bonuses](https://beancount.io/blog/2026/05/17/section-1341-claim-of-right-doctrine-repaying-clawed-back-bonuses-commission-chargebacks-overpaid-income-tax-credit-deduction-guide)

Section 1341 lets a taxpayer who repays more than $3,000 of previously taxed income recover the tax cost—via a deduction or a credit, whichever is lower—on the repayment-year return rather than by amending the old one.

Mike Thrift

tax tax-credits tax-deductions

May 17, 2026 11 min read

## [The Section 1375 Sting Tax: How Former C Corps Pay 21% on Passive Income and Lose Their S Election After Three Years](https://beancount.io/blog/2026/05/17/section-1375-excess-net-passive-income-sting-tax-s-corporations-former-c-corps-accumulated-e-p-25-percent-gross-receipts-three-year-termination-cliff-guide)

Section 1375 imposes a flat 21% sting tax on S corporations that carry C-corp earnings and profits when passive investment income exceeds 25% of gross receipts, and three consecutive years over that threshold terminates the S election automatically. This guide walks through the excess net passive income formula, the three-year cliff under Section 1362(d)(3), and three planning moves to defuse exposure before year-end.

Mike Thrift

s-corp c-corp tax-planning

May 17, 2026 10 min read

## [The Section 1375 Sting Tax: How S Corporations Trigger the 21% Passive Income Tax and a Three-Year Termination Cliff](https://beancount.io/blog/2026/05/17/section-1375-excess-net-passive-income-tax-s-corporations-sting-tax-passive-investment-income-three-year-termination-cliff-guide)

The Section 1375 sting tax hits an S corporation with a 21% corporate-level tax when it has C-corporation E\&P and passive investment income above 25% of gross receipts; three consecutive years of that combination terminates the S election. This guide shows who is exposed, how excess net passive income is calculated, and how to defuse the trap.

Mike Thrift

tax s-corporation s-corp

May 17, 2026 14 min read

## [Section 414 Controlled Group and Affiliated Service Group Rules: How Multiple Businesses Can Sabotage Your 401(k)](https://beancount.io/blog/2026/05/17/section-414-controlled-group-affiliated-service-group-rules-401k-aggregation-top-heavy-multi-business-owners-guide)

Section 414(b), (c), and (m) treat related businesses as one employer for retirement-plan testing. This guide explains controlled-group and affiliated-service-group rules, the spousal and minor-child attribution traps, and the steps multi-business owners should take before opening a 401(k).

Mike Thrift

retirement-plans solo-401k tax-compliance

May 17, 2026 11 min read

## [The Section 45E Credit: How Small Employers Can Run a New 401(k) at Near-Zero Cost](https://beancount.io/blog/2026/05/17/section-45e-small-employer-pension-plan-startup-credit-secure-2-0-100-percent-employer-contribution-form-8881-guide)

A new 401(k) can be nearly free for small employers — Section 45E reimburses up to 100% of startup costs for three years plus $1,000 per employee in contribution credits for five years. Here is who qualifies and how to claim it on Form 8881.

Mike Thrift

tax-credits retirement-plans small-business

May 17, 2026 13 min read

## [Section 45E After SECURE 2.0: How Small Employers Recoup 100% of Pension Plan Startup Costs on Form 8881](https://beancount.io/blog/2026/05/17/section-45e-small-employer-pension-plan-startup-credit-secure-2-0-100-percent-startup-costs-employer-contribution-credit-form-8881-guide)

SECURE 2.0 turned Section 45E into a 100% refund of pension plan startup costs—up to $5,000 per year for three years—for employers with 50 or fewer employees, stacked with a per-employee contribution credit worth up to $1,000 and a $500 auto-enrollment credit, all claimed on Form 8881.

Mike Thrift

tax-credits retirement-plans small-business

May 17, 2026 9 min read

## [Section 707 Disguised Sale Rules: When a Partnership Contribution Becomes a Taxable Sale](https://beancount.io/blog/2026/05/17/section-707-disguised-sale-rules-partnership-contribution-related-distribution-two-year-presumption-qualified-liabilities-preformation-expenditures-guide)

A disguised sale under Section 707(a)(2)(B) collapses a partnership contribution and a related cash distribution into a taxable sale. Transfers within two years are presumed a sale; the deemed-sale fraction equals consideration received divided by property FMV.

Mike Thrift

tax partnerships real-estate

May 17, 2026 14 min read

## [Section 707(a)(2)(B) Disguised Sale Rules: How LLC Members Contribute Property and Take Cash Without Triggering a Taxable Sale](https://beancount.io/blog/2026/05/17/section-707-disguised-sale-rules-partnerships-llc-members-property-contribution-cash-distribution-two-year-presumption-guide)

Section 707(a)(2)(B) recharacterizes paired property contributions and cash distributions to LLC members as taxable sales when they occur within two years. A walkthrough of the two-prong test, the rebuttable two-year presumption, the four regulatory exceptions, debt-financed distribution mechanics, and the Form 8275 disclosure that keeps partners out of audit trouble.

Mike Thrift

partnerships llc real-estate

May 17, 2026 14 min read

## [Section 7508A Disaster Tax Relief: How FEMA-Declared County Residents Get Postponed Deadlines, Coordinate With Form 4868, and Decide on a Prior-Year Casualty Loss](https://beancount.io/blog/2026/05/17/section-7508a-disaster-tax-relief-postponed-deadlines-fema-declared-counties-form-4868-coordination-section-165i-prior-year-casualty-loss-election-guide)

Section 7508A lets the IRS postpone almost any tax-related deadline by up to one year after a federally declared disaster. This guide explains who qualifies as an affected taxpayer, how postponement interacts with Form 4868, what happens to penalties already accruing, and when to elect a prior-year casualty loss under Section 165(i).

Mike Thrift

tax tax-deadlines tax-planning

May 17, 2026 15 min read

## [Section 7874 Anti-Inversion Rules: 60%/80% Ownership Tests and the Substantial Business Activities Safe Harbor](https://beancount.io/blog/2026/05/17/section-7874-anti-inversion-rules-60-80-percent-ownership-tests-substantial-business-activities-safe-harbor-guide)

Section 7874 imposes a 10-year inversion-gain floor when former U.S. shareholders own 60-80% of a new foreign parent and reclassifies the parent as a domestic corporation at 80%. The only escape is the substantial business activities safe harbor, which requires clearing a 25% bright-line threshold on employees, tangible assets, and gross income in the foreign country.

Mike Thrift

international-tax foreign-corporations mergers-and-acquisitions

[Start Free→](https://beancount.io/sign-up/?next=%2Fledger%2F) [Documentation](https://beancount.io/docs)

## Where to look next

- [Sitemap](https://beancount.io/sitemap.xml) - all pages with hreflang alternates
- [LLMs index](https://beancount.io/llms.txt) - curated links for AI agents (also /llms-full.txt for full docs)
- [Documentation](https://beancount.io/docs) - every doc is also available as text/markdown via .md suffix or Accept negotiation
- [REST API reference](https://beancount.io/docs/api-reference) - interactive endpoints, schemas, authentication, and code samples
- [OpenAPI spec](https://beancount.io/openapi.json) - OpenAPI 3.1 spec for this website's public content endpoints; the product contract for ledger operations is at https://beancount.io/api-gateway/v1/openapi.json
- [GraphQL](https://beancount.io/graphql) - public, read-only content API over the blog and research logs (no credentials, no ledger data): 12 query fields over 23 types
- [MCP server](https://beancount.io/mcp) - Model Context Protocol at https://beancount.io/api-gateway/mcp
