Companies are putting serious money into AI: coding assistant seats, LLM API usage, agents that open pull requests and the compute to test and run them. For many software teams it’s now one of the fastest-growing lines in the engineering budget.
That raises two questions every finance leader should be asking. What is the investment producing? And how should those costs be documented?
AI spend on building software can qualify for the R&D tax credit, Section 174A and software capitalization, alongside the wages of the software engineers using it, when the work meets the rules.
The key words are “when the work meets the rules.” Using AI doesn’t make an expense eligible on its own. What matters is the same as it’s always been:
Your CPA decides what qualifies. Your job is to give them evidence that connects the spend to the work.
Here’s what AI-assisted development looks like in most repositories today:
Nothing ties those three things together. Finance sees a bill. Engineering sees merged code. Nobody can say which projects the spend supported or which people directed the work.
That gap makes AI spend hard to include in an R&D claim and hard to defend if it is included. It also makes it hard to answer the business question: what is the AI investment producing?
To support AI development spend, aim for records that show:
Treat AI the way you’d treat any other contributor to development work: the evidence should show the work, the people and the costs together.
CodeROI captures development activity from source control as it happens, including work from any AI coding agent that commits code. It ties each AI action to the person who prompted it, the project and the date, so AI spend sits alongside human engineering in the same record.
The math is deterministic. Fixed rules map code events to people, projects and wages. There's no generative AI deciding what counts. CodeROI reads metadata, not your code.
That gives your CPA evidence for the credit and Section 174A, gives your accounting team support for capitalization and gives leadership a clear view of what the AI budget is building.
Know what your AI spend built. Book a 20-minute demo.
Sources: 26 U.S.C. §41(b) and §41(d); 26 U.S.C. §174 and §174A; Treas. Reg. §1.41-4; FASB ASC 350-40. Whether a specific AI cost qualifies depends on your facts; this is general information, not tax or accounting advice. CodeROI is a software platform, not a CPA firm, law firm or financial advisor, and does not provide tax, legal, financial or accounting advice.