c-corp-rd-tax-strategy
Tax optimization for C-Corp engineering consulting firms investing in AI/R&D. Covers §174 amortization, §41 R&D credits, loan-to-equity conversion, NOL planning, and AI growth funding models.
Best use case
c-corp-rd-tax-strategy is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Tax optimization for C-Corp engineering consulting firms investing in AI/R&D. Covers §174 amortization, §41 R&D credits, loan-to-equity conversion, NOL planning, and AI growth funding models.
Teams using c-corp-rd-tax-strategy should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/c-corp-rd-tax-strategy/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How c-corp-rd-tax-strategy Compares
| Feature / Agent | c-corp-rd-tax-strategy | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Tax optimization for C-Corp engineering consulting firms investing in AI/R&D. Covers §174 amortization, §41 R&D credits, loan-to-equity conversion, NOL planning, and AI growth funding models.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# C-Corp R&D Tax Strategy — Engineering Consulting Tax optimization, R&D funding, and growth planning for C-Corp engineering consulting firms investing in AI/automation capabilities. Primary context: AceEngineer Inc. ## When to Use This Skill - Planning C-Corp tax strategy with significant R&D spending - Evaluating §174 amortization vs §162 current deduction - Computing R&D Tax Credit (§41, Form 6765) - Structuring loan-to-equity conversions for R&D funding - Multi-year NOL planning with accumulated earnings defense - Reverse engineering tax targets from budget requirements - Modeling cash flow for zero-revenue R&D years ## Trigger Conditions Activate when the user mentions: - R&D budget, R&D tax credit, R&D amortization - Retaining earnings for growth/AI investment - Loan-to-equity conversion for company funding - §174, §41, Form 6765, NOL carryforward - "How to minimize corporate tax" for a consulting firm - Funding AI capability development from corporate cash ## Phase 1: Revenue & Expense Baseline 1. **Extract actual revenue from the expense tracking spreadsheet** - Use openpyxl on `Sabitha/YYYY/EXPENSES*.xlsx` in aceengineer-admin - Revenue section is at the BOTTOM of the Income Statement sheet - Cross-reference against the document checklist (they often differ) - ALWAYS verify totals: client monthly amounts may not sum correctly 2. **Extract expense line items** - R&D expenses are typically the LARGEST category - Employee/contractor payments need verification (INR vs USD) - Home office utilities require allocation (simplified $1,500 cap is usually best) - Zero-value line items (software, travel, etc.) may indicate missed expenses 3. **Identify the gap between documented and actual** - Pull Chase (or primary) bank statements - Every dollar that left the account needs categorization - Missed foreign contractor payments are the most common gap - Each $1,000 missed = $210 tax savings at 21% corporate rate ## Phase 2: R&D Classification (§162 vs §174) The single most impactful classification decision. ### The Problem Post-2022 IRC §174 REQUIRES capitalizing ALL specified research/experimental expenditures (SREs): - 5-year amortization for domestic research - 15-year amortization for foreign research - Half-year convention in Year 1 - NOT OPTIONAL — mandatory since 2022 ### The Classification Split **§162 Current Deduction (FULLY deductible in Year 1):** - Engineering tools used FOR client project delivery - Routine improvements to existing calculation methods - Software development that supports current consulting work - Automation scripts that improve efficiency of deliverable work **§174 Amortization (spread over 5 years):** - AI model development and training - Novel computational methodology research - Proprietary tools not tied to specific client deliverables - Development of new products/capabilities for future monetization - Software intended for licensing or sale ### Decision Framework ``` Is the R&D directly used to deliver a current client project? YES → §162 (ordinary business expense) NO → §174 (capitalized, 5yr amortization) Is the primary purpose to build future capability? YES → §174 NO → §162 Does it involve technological uncertainty and experimentation? YES → Stronger §174 case (also qualifies for §41 credit) NO → More likely §162 ``` ### Tax Impact Example If $58,253 in R&D is classified: - All §162: Full $58,253 deducted in Year 1 - 65% §162 / 35% §174: $38K immediate + $20K/5yr/2 = $2K Year 1 → $40K Year 1 - All §174: Only $5,825 deducted in Year 1 ($58,253/5/2) ## Phase 3: R&D Tax Credit (§41, Form 6765) ### Qualifying Research Expenses (QREs) - Wages for qualified services (must be W-2, NOT contractor directly) - Supplies used in research (consumables, testing materials) - Contract research: 65% of payments to qualified researchers ### Critical Limitation Owner's labor does NOT count as QRE unless paid via W-2 wages. A C-Corp owner with $0 W-2 salary = $0 QRE from their labor. This is the #1 reason to start paying officer compensation. ### Credit Computation Methods **Alternative Simplified Credit (ASC) — preferred for most:** - 14% of QREs exceeding 50% of average QREs for prior 3 years - If no prior history: 6% of current QREs **Example:** - Vamsee W-2 salary: $100,000 - R&D allocation: 70% → QRE wages: $70,000 - Contractor R&D: $40,000 × 65% = $26,000 - Total QREs: $96,000 - No prior history: Credit = 6% × $96,000 = $5,760 - With prior history (avg QRE = $40,000): Credit = 14% × ($96K - $20K) = $10,640 ### Required Documentation (Contemporaneous) - Project charter with research objectives and hypotheses - Statement of technological uncertainty - Process of experimentation (approaches tried, results) - QRE hour tracking by person and activity - Cost allocation between QRE and non-QRE ## Phase 4: Officer Compensation Strategy ### The Problem C-Corp with significant revenue and $0 officer compensation is the #1 IRS audit trigger. ### Benefits of Starting W-2 Salary 1. Eliminates IRS audit flag 2. Salary is fully deductible by C-Corp (saves 21%) 3. W-2 wages qualify as QREs for R&D credit (§41) 4. Enables Solo 401(k) / SEP-IRA contributions 5. Shifts income from 21% corporate rate to personal rates ### Why It Cannot Be Retroactive - W-2 wages must be paid with withholding during the tax year - Cannot issue a retroactive W-2 for a year already ended - Must be planned and implemented prospectively ### Example Structure ($100K salary starting 2026) | Item | Corp Deduction | Tax Savings (21%) | |------|---------------|-------------------| | W-2 Salary | $100,000 | $21,000 | | Employer FICA | $7,650 | $1,607 | | Solo 401(k) match | $20,000 | $4,200 | | R&D credit (QREs) | N/A | $5,760-$10,640 | | **Total** | **$127,650** | **$32,567-$37,447** | ## Phase 5: Loan-to-Equity Conversion ### When to Use When a shareholder loan to the C-Corp is being used to fund R&D, and the ongoing imputed interest or repayment obligation is a problem. ### Tax Treatment - Loan proceeds → liability (not income, not taxable) - Principal repayments → NOT deductible (balance sheet transaction) - Interest payments → deductible by C-Corp, taxable to lender - 0% interest → imputed interest at AFR (phantom deduction for C-Corp, phantom income for lender) ### Conversion Process 1. Execute formal loan-to-equity conversion agreement 2. Board resolution approving conversion 3. Issue new shares to the lender in exchange for debt cancellation 4. File amended stock ledger 5. No taxable event for either party ### Effect on R&D Funding - Eliminates monthly repayment obligation → more cash for R&D - Eliminates imputed interest complexity - Provides permanent capital in the company - Funds R&D without creating taxable income ### What It Does NOT Do - Does NOT create a tax deduction (it is a balance sheet reshuffle) - Does NOT allow you to "defer" tax on prior revenue ## Phase 6: Reverse Engineering Tax Targets ### The Math ``` Target tax = T Tax rate = 21% (C-Corp flat rate) Required taxable income = T / 0.21 Revenue = R Required deductions = R - (T / 0.21) Example for $5,000 target tax with $314,370 revenue: Required taxable income = $5,000 / 0.21 = $23,810 Required deductions = $314,370 - $23,810 = $290,560 Current documented deductions = $71,256 Gap = $219,304 ``` ### What Can Fill the Gap | Source | Potential Gap Fill | Feasibility | |--------|--------------------|-------------| | Officer salary (retroactive) | $80K-$120K | IMPOSSIBLE — cannot be retroactive | | Missed foreign contractors | $50K-$100K | Possible if bank statements show it | | §179 equipment purchases | $10K-$50K | Possible for 2025 if purchased in 2025 | | Missed professional services | $5K-$25K | Possible if bank shows it | | Travel/client expenses | $3K-$15K | Possible if incurred | | Insurance | $3K-$10K | Possible if premiums paid | ### The Hard Limit A normal consulting firm spends 40-60% of revenue on COGS. $314K revenue → normal COGS: $125K-$189K. Total deductions (COGS + operating): ~$200K-$260K. Minimum taxable income: ~$54K-$114K. Minimum tax: ~$11K-$24K. $5,000 tax is possible ONLY if documented expenses reach ~$291K, which is 92% expense ratio — outside normal industry range and would draw IRS scrutiny. ## Phase 7: Retained Earnings vs. Deductions — The Fundamental Tradeoff ### The Unavoidable Constraint ``` Deducted = SPENT (money is consumed, cannot be reused) Retained = TAXED (pay 21%, keep 79%) You cannot simultaneously deduct and retain the same dollar. ``` ### What IS Retention-Friendly | Action | Deductible? | Asset Created? | Best For | |--------|------------|----------------|----------| | §179 equipment | Yes, immediately | Hardware on balance sheet | GPU servers, workstations | | Contractor labor | Yes | Intellectual property | AI development | | Pre-paid cloud | Debatable | Prepaid asset | Multi-year compute contracts | | R&D (general) | §162 yes, §174 over 5yr | Software/knowledge | Core capability building | | Cash in bank | No | Cash asset | Future spending | ### The Right Answer 1. Pay whatever tax is unavoidable on 2025 earnings 2. Retain ALL after-tax cash in the company 3. Convert shareholder loans to equity for permanent capital 4. Fund R&D from retained capital going forward 5. Accumulate NOLs during low-revenue years — these offset future income ## Phase 8: Multi-Year NOL Planning ### NOL Rules (Post-TCJA) - NOLs carry forward indefinitely - NOL deduction limited to 80% of taxable income per year - No carryback ### Strategic Accumulation When spending on R&D exceeds revenue (no consulting income years): - Year 1: §174 amortization (~$60K on $300K R&D) + operating = ~$80K-$100K NOL - Year 2+: $60K/yr §174 + operating + current year §174 - Cumulative NOL after 5 years of $300K R&D: ~$1.2M-$1.4M ### NOL Utilization When Revenue Returns ``` Revenue resumes at $400K/year Operating expenses: $200K Taxable before NOL: $200K NOL offset (80%): -$160K Remaining taxable: $40K Tax (21%): $8,400 (vs $42,000 without NOL) Remaining NOL: ~$1.0M carried forward ``` ## Phase 9: §531 Accumulated Earnings Tax Defense ### The Rule 20% penalty tax on C-Corp earnings retained beyond reasonable business needs (~$250,000 threshold for service businesses). ### Defensible Retention Reasons for Engineering Consulting - Documented R&D investment plan (AI/automation) - Loan repayment obligations - Working capital for project-based revenue (lumpy cash flows) - Equipment modernization (compute hardware, GPU) - Business expansion into new domains ### Weakest Defense "Keeping cash for future growth" without supporting plan or documentation. ### Strongest Defense Specific R&D budget ($300K/yr for 5 years) with loan repayment schedule ($16,667/month × 60 months = $1M obligation). ## Pitfalls to Avoid 1. **§174 is mandatory** — you cannot choose to expense R&D currently 2. **Cannot retroactively pay W-2 salary** for a completed year 3. **Loan principal repayments are NEVER deductible** 4. **Loan-to-equity conversion eliminates future imputed interest** (which was the corporate deduction) 5. **$300K/year for 5 years requires $1.5M in actual cash** — budgets don't create money 6. **NOLs expire after 20 years for pre-2018, but are indefinite for post-TCJA** 7. **Foreign contractors don't need 1099-NEC but DO need wire records for COGS** 8. **Schedule B required for interest/dividends over $1,500** 9. **Form 1120-SCH-M-1 required when assets/income > $250K** 10. **The "missing expenses = more cash retained" paradox** — finding $1K in missed expenses saves $210 in tax AND that $1K was already spent (net positive) ## Quick Reference — C-Corp Numbers | Item | Value | |------|-------| | Federal tax rate | 21% flat | | Standard deduction | N/A (C-Corps don't get one) | | §179 expensing limit (2025) | $1,220,000 | | §174 domestic amortization | 5 years | | §174 foreign amortization | 15 years | | §174 half-year convention | Year 1 = 50% of annual | | R&D credit rate (ASC, no history) | 6% of QREs | | R&D credit rate (ASC, with history) | 14% of (QREs - 50% avg) | | Contractor QRE cap | 65% of payments | | NOL utilization cap | 80% of taxable income | | Accumulated earnings threshold | ~$250,000 (service biz) | | Form 7004 extension | 6 months (Oct 15 for calendar year) |
Related Skills
corporate-tax-filing-reconciliation
Reconcile multi-document tax packets and build line-by-line IRS filing guides for first-year C-Corps with real-estate holdings
corporate-tax-filing-reconciliation-and-decision
Reconcile multi-document corporate tax packets, verify line-item accuracy against source data, and structure decision trees for filing timing and extension strategies.
cash-basis-corporate-tax-reconciliation
Reconcile conflicting revenue sources and prepare Form 1120 for cash-method C-Corps using bank deposits as authoritative source
c-corp-form-1120-reconciliation
Reconcile multi-source corporate tax data to prepare Form 1120 using expense sheet as authoritative source
tax-filing-strategy-and-packets
Class-level tax filing strategy and packet assembly for C-Corp/personal/TaxAct workflows, including R&D strategy and strategic planning.
corporate-tax-form-fill
Programmatically fill IRS tax form PDFs (Form 1120, etc.) using pymupdf/fitz. Covers field discovery, mapping, filling, cross-checking, and PDF generation.
session-corpus-audit
Analyze session quality trends — identify high-churn patterns, report waste, flag sessions exceeding 500 tool calls
taxact-business-c-corp-filing-packet
Assemble and execute a packet-first TaxAct Business filing workflow for C-Corp Form 1120 returns using existing repo artifacts, with strict pre-submit gates and human approval.
content-strategy
Content marketing strategy with brand voice, editorial calendar, and content frameworks. Use for blog planning, content creation pipelines, and brand consistency. Based on alirezarezvani/Codex-skills.
search-strategy
Query decomposition and multi-source search orchestration for enterprise knowledge retrieval workflows
c-corp-tax-consultant
Tax optimization and filing guide for C-Corp commercial real estate entities. Covers Form 1120, cost segregation, NOL management, depreciation strategies, 1099 reconciliation, and legitimate tax minimization for NNN lease properties. Includes TX franchise tax filing procedures and direct e-filing research.
corporate-tax-strategic-planning
Reverse-engineer target tax outcomes, model multi-year retained earnings and R&D funding, and produce strategic tax analysis for small C-Corps. Covers deduction gap analysis, capital source modeling, §174 R&D amortization timing, NOL carryforward projections, and loan structure optimization.