flowchart TD
A[Start: Tax Structure Decision Tree for Acquisitions & Divestitures] --> B{Transaction Type?}
B -->|Acquisition<br/>(Buyer Perspective)| C{Target Entity Type?}
B -->|Divestiture<br/>(Seller Perspective)| D{Target/Seller Entity Type?}
%% Buyer Acquisition Path
C -->|C-Corp| E{Want asset basis step-up<br/>and/or liability avoidance?}
C -->|S-Corp/LLC/Partnership| F[Asset Sale Preferred<br/>Buyer gets step-up<br/>Seller: ordinary income on assets<br/>Check state taxes & liabilities]
E -->|Yes| G[Asset Purchase<br/>Taxable to seller<br/>Buyer: FMV basis step-up<br/>Select assets/liabs]
E -->|No| H{Qualified stock purchase? <br/>338(h)(10) election possible?}
H -->|Yes| I[Stock Purchase + 338(h)(10)<br/>Deemed asset sale<br/>Joint election<br/>Step-up for buyer<br/>Pass-thru tax to seller shareholders]
H -->|No| J{Statutory Merger/Reorg? <br/>Boot <20%? Continuity?}
J -->|Yes| K[Tax-Free Reorg<br/>e.g., Type A Merger, Type B, Type C<br/>Carryover basis<br/>No gain recognition]
J -->|No| L[Taxable Stock Purchase<br/>Carryover basis<br/>Inherit all liabs]
%% Seller Divestiture Path
D -->|C-Corp| M{Want to avoid double tax?}
D -->|S-Corp/LLC/Partnership| N[Stock/Interests Sale Preferred<br/>Capital gains to owners<br/>No entity-level tax<br/>Buyer inherits basis/liabs]
M -->|Yes| O[Stock Sale<br/>Single-level capital gains tax<br/>Buyer: carryover basis]
M -->|No| P[Asset Sale<br/>Double tax: corp + shareholder level<br/>Avoid if possible]
%% Common Considerations (Connect to all leaves)
Q[Key Factors to Evaluate at Leaves:<br/>• Buyer/Seller tax rates<br/>• Net operating losses (NOLs)<br/>• Built-in gains/losses<br/>• State/international taxes<br/>• Liabilities & indemnities<br/>• 338(g) election (buyer-only, extra tax)<br/>• F-Reorg for S-corps<br/>• Installment sales<br/>Consult tax advisor!]
G --> Q
I --> Q
K --> Q
L --> Q
O --> Q
P --> Q
F --> Q
N --> Q
style A fill:#e1f5fe
style Q fill:#fff3e0
Explanation & Key Insights
This Mermaid decision tree (renderable in tools like Mermaid Live or GitHub Markdown) provides a high-level, visual guide for structuring acquisitions (buyer-focused) and divestitures (seller-focused). It prioritizes tax efficiency based on common U.S. federal tax principles (IRC Sections 336-368 for corps, 338 elections, etc.).
Core Trade-offs:
| Perspective | Asset Sale | Stock Sale |
|---|
| Buyer | ✅ Step-up basis (depreciation/amortization)✅ Cherry-pick assets/liabs | ❌ Carryover basis❌ Inherit all liabs |
| Seller | ❌ Entity-level tax (ordinary income on recapture)❌ Double tax (C-corps) | ✅ Capital gains only✅ Single-level tax (pass-thrus) |
Additional Notes:
- Tax-Free Reorgs: Only for acquisitions; requires "continuity of interest" (≥40-50% equity) and business enterprise. Sub-types:
- Type A: Statutory merger (most flexible).
- Type B/C: Stock-for-stock or stock-for-assets.
- Elections:
- 338(h)(10): Ideal compromise for S-corps/Subsidiaries (joint election).
- 338(g): Buyer-only, but seller pays extra tax.
- S-Corps/Partnerships: Often convert to C-corp via F-Reorg pre-sale for flexibility.
- Edge Cases:
- NOLs/D&Os lost in asset sales.
- International: Add BEAT/GILTI/FDII checks.
- Always model after-tax economics (e.g., via Excel).
- Not Legal Advice: This is a framework—engage tax counsel for specifics, as rules evolve (e.g., post-TCJA).
Copy-paste the Mermaid code into a viewer for interactivity! If you need expansions (e.g., flowcharts for specific entities or examples), let me know.