R&D tax credit evidence · checked against the sources on
Form 6765 Section G: who is exempt, and what it asks everyone else
You do not have to complete Section G of Form 6765 if you are a qualified small business that checked the box to claim the payroll tax credit, or if your total QREs are $1.5 million or less, your average annual gross receipts for the prior three tax years are $50 million or less, and you report the credit on an original return. Everyone else must complete it for tax years beginning after 2025; before 2026 it is optional. Exempt or not, every claimant must keep records that substantiate the credit, and in George v. Commissioner (2026) the Tax Court rejected credit studies reconstructed after the fact.
“A taxpayer claiming a credit under section 41 must retain records”
Treas. Reg. §1.41-4 (Cornell LII) (read 9 Oct 2026)
Evidence to review with your tax adviser; not tax advice.
Who does not have to complete it
The IRS instructions (rev. 12/2025), under “Requirements To Complete Section G”, make it required unless either of these holds:
- The payroll election. You are a qualified small business, as defined under section 41(h)(3), and, in the instructions' words, “you checked the box to claim a reduced payroll tax credit” (line 33a). A qualified small business has gross receipts of less than $5 million for the tax year and none for any tax year before the five-tax-year period ending with it. The election sets up to $500,000 a year against the employer's Social Security and then Medicare tax, claimed on Form 8974 (IRS).
- A smaller claim on an original return. All three hold: your total QREs, determined at the controlled group level on line 48, are $1.5 million or less; your average annual gross receipts for the prior three tax years are $50 million or less, as determined under section 448(c)(3) (without regard to section 448(c)(3)(A)); and you are reporting the research credit on an original return.
Who must complete it
- Tax years beginning before 2026: nobody; it is optional for all filers.
- Tax years beginning after 2025: every filer outside both exceptions above, so for calendar-2026 returns filed in 2027.
- Amended returns: the second exception needs an original return, so a credit claimed or increased on an amended return does not get it. Such claims also carry the information the instructions list under “Research Credit Claims on Amended Returns”.
Exempt or not, the records are what an examiner asks for
An exemption from Section G changes what goes on the form, not what you must be able to show. Every claimant must keep records in sufficiently usable form and detail to substantiate the credit (Treas. Reg. §1.41-4(d), and §6001, which the instructions cite). In George v. Commissioner (T.C. Memo. 2026-10) the Tax Court rejected credit studies reconstructed after the fact (PKF O'Connor Davies). The four-part test is applied business component by business component either way, so the split below is worth making even when you file no Section G. See the documentation requirements.
What it asks, per business component
| Line | Asks for | Where it comes from |
|---|---|---|
| 49(a), (b) | The entity's EIN and principal business activity code | Your return |
| 49(c) | The business component's name or a unique identifier | You name it; git shows which folders and services its work touched |
| 49(d) | Its type: Product, Process, or All Others | Your adviser |
| 49(e) | For software: internal-use (IUS), dual-function (DFS), non-IUS, or excepted | Your adviser; the code shows who the software serves |
| 50, 51, 52 | Wages for performing the research, for direct supervision, and for direct support | Payroll; git can show where each person's work went, not what they were paid |
| 53 | Total wages | Payroll |
| 54, 55, 56 | Supplies, computer rental or lease, and contract research | Your ledger |
Filers who must complete it list components largest first by QREs, enough of them to cover at least 80% of the total, and no more than 50; the rest go in one aggregate line. Amended returns carry more. The lines are from the IRS instructions (rev. 12/2025); the final version was issued on 6 February 2026 (KPMG).
From folders to business components
A business component is a product, process, piece of software, technique, formula or invention, not a folder. Git counts work by folder and by person, which is the raw material: decide which folders make up each component, then the history shows who worked on each one, when, and where alternatives were tried. Wages per component then come from splitting each person's payroll by where their work went, a method your adviser has to accept; git records when people committed, not how long they worked.
Check your own, on your machine
npx --allow-remote=root https://agentwares.vercel.app/dl/rd-ledger-0.1.0.tgz --year 2026 --component "Name=apps/router/**,packages/geo/**"- Count the year's changes by folder, the nearest thing git has to a business component: git log --since=2026-01-01 --until=2027-01-01 --format= --name-only | cut -d/ -f1-2 | sort | uniq -c | sort -rn
- Name your business components in your own words (a product, a process, a piece of software) and write down which folders each one covers.
- For each component, list the people who changed it: git shortlog -sn --since=2026-01-01 --until=2027-01-01 -- <its folders>
- If your return must include Section G (see who is exempt, above), mark each component's type (Product, Process or All Others) and, for software, whether it is internal-use; that is your adviser's call.
- Wages, supplies, computer rental and contract research come from payroll and the ledger, not from git. Git only shows where each person's work went.
It runs git on your repository, makes no network request and calls no LLM, and writes a dated evidence pack, evidence.md and CSVs, with each line traced to its commit. Hours and amounts appear only from figures you supply. Source (MIT)
A year-round R&D evidence ledger, kept month by month as the work happens, is not built. Each month's evidence captured that month and kept under a date we hold, so the record shows when it existed; at year end, the hours or wages you enter allocated across your business components in Form 6765 Section G's shape; and a read-only link for your tax adviser.
Not built. No price is set and nothing is charged. It gets built only if enough people ask.
Count me inSources
- IRS: Instructions for Form 6765 (rev. 12/2025) (page updated 30 Apr 2026; read 9 Oct 2026)
- Treas. Reg. §1.41-4 (Cornell LII) (read 9 Oct 2026)
- PKF O'Connor Davies: George v. Commissioner, T.C. Memo. 2026-10 (published 9 Mar 2026; read 9 Oct 2026)
- KPMG: final updated instructions for Form 6765 (published 11 Feb 2026; read 9 Oct 2026)
- IRS: qualified small business payroll tax credit for increasing research activities (updated 28 Jun 2026; read 9 Oct 2026)