The US was working towards this and then it was one of the first things taken down by DOGE.
https://www.wired.com/story/doge-direct-file-chopping-block/
Yes, they killed direct file, the motivations are fairly blatant. Open source makes so much sense for this, you can check it and raise issues, raised a few issues for the IRS repos myself (obviously, they were pretty fringe, but this will matter for n=few hundred people)
It’s so bizarre that the US government doesn’t provide a way to do your taxes. At least for citizens.
I live in the Netherlands and the Dutch IRS provides everything I need to do my yearly taxes. Hell they fill in a whole lot of numbers automatically based on what they know about my salary from my employer. Before I owned my own home my yearly taxes took literally five minutes to fill in because of that. Just double checked some pre-filled numbers and done.
It's ok, Elon's a lefty now.
A technicality: what is being open sourced here are the formulas used to compute sales tax and other forms of business tax that were affected by the recent tax reform.
Although the Brazilian tax authority does develop software to file personal income tax, and provides it free of charge, that software is currently not open source.