IRS open-sources its free tax filing tool, but warns it's not for production
US IRS free online tax filing open source repo
The IRS has published the source code for Direct File, its free, interview-based federal tax filing service, on GitHub. The repository includes the Scala-based Fact Graph for reasoning about incomplete returns and test cases for interpreting the 2024 tax code. However, the code is archived, unmaintained, and may contain unpatched vulnerabilities, so the IRS explicitly warns against using it in production. Certain sensitive code was removed.
This repository has been archived and is no longer maintained. The code is provided for historical reference and may contain unpatched or unknown vulnerabilities. It should not be used in production systems.
- gouggoug
I wanted to electronically file my own taxes last year instead of paying turbotax or an actual accountant.
While my situation isn't particularly complex (but complex enough that I did need help from an accountant the first times), none of the free filing services online (IRS FreeFile included) offered the more complex forms I need.
"Not a problem!" I thought. Except, even if I could download the forms from the IRS and do all the work myself, I could not for the life of me find a way to electronically submit (and had to hire my accountant again).
Is it possible in the US to electronically file your own taxes?
- ane
When I read these and the related stories I am thankful I live in a country where you don't even need to file taxes. Virtually all income is reported to the tax authorities, so they will calculate a tax rate for you and you rarely need to make adjustments if your income is stable and regular.
Only when I need to make some surprise deductions (e.g. purchasing work-related literature, deductible by law here up to some sum) or for some reason the payer of income is not reported to the tax authorities. Or when the income falls short of what was projected for that year (e.g. unpaid leave, getting fired, changing to jobs to a lower salary (it happens) etc.), or there is a surprise bonus and so on. Normally I do not need to anything.
- bentt
I cannot see how Turbotax survives the oncoming AI Coding freight train. All the information is out there.
- michaelrbock
Someone should try running this against these open source test cases: https://github.com/column-tax/tax-calc-bench
- atcole
This is great that this is out there. I've been working on making an agent based experience that helps you put together your whole return or make an estimated return based on future assumptions and solving for the federal tax code has been a very token expensive operation!
https://github.com/captaincole/OpenReturn - Still in Beta
I'm going through their engine as well and validating mine. My engine is built to include the CA tax code also.
The biggest reason that turbo tax and the other companies survive though is that in order to allow efile you have to be a registered agent and that process is crazy expensive and difficult.
- souenzzo
In Brazil, we can send our "IRS" (IRPF) via internet since 1995
It used to have a .jar app that runs on windows/Linux/mac, but now we have android/iOS app, and also online via browser too.
- shukantpal
I was thinking of making an open source engine for tax rules that could take all your financial documents locally and produce a tax filing with your own agent. Something like direct file but done for you and open source so you don't need to give all your data to someone else.
I'm curious why this hasn't been done before.
- tmaly
I need to ask the obvious, how do we know this is the IRS github and not someone that just picked the name