Thursday, 9 July 2026
Rīga TV

World and Latvian news in one place

TechnologyPublished: 9 July 2026 at 10:38

Estonia's $28 Million Tax Blunder Sparks Creation of AI 'Fuckup Finder'

A wording error in Estonia's Gambling Tax Act cost €24 million in revenue and led to the development of an AI tool called Apsakaleidja that flags legislative mistakes. The incident accelerated Estonia's push to integrate AI into government processes.

Estonia's government lost €24 million ($27.4 million) in tax revenue due to a single incorrect phrase in a law. In December, the Riigikogu passed amendments to the Gambling Tax Act intended to lower the remote gambling tax rate, but the wording referred only to “skill games” for that year, excluding online casinos. The error was spotted by a legal counsel for a gambling operator. Luukas Ilves, former undersecretary for digital transformation, ran the legislation through AI systems Claude and Gemini, which immediately identified the inconsistency.

Within hours, Ilves built a prototype tool called Apsakaleidja, or “Fuckup Finder.” It pulls draft bills from the parliament website and flags issues such as broken references, contradictory wording, arithmetic errors, and impossible dates. It categorizes problems as high, medium, or low risk; of 112 bills currently listed, 102 are rated high risk. Ilves even demonstrated the tool on national TV.

Prime Minister Kristen Michal acknowledged the embarrassment but praised the outcome: “The situation demonstrated that AI can be an incredibly useful assistant.” In January, Michal suggested using such tools to draft legislation proactively to find and fix loopholes. He launched Eesti.ai, a national AI skills program aiming to double productivity by 2035. The program’s advisors include Bolt founder Markus Villig and Ilves.

In April, the government sent a bill to parliament granting state and local authorities the right to use digital solutions, including AI, to automate administrative processes. In June, Michal told an Eesti.ai meeting that Estonia plans to become the first country to create official digital identities for AI agents.

The initiative also addresses accountability. Catherine Flick, a technology ethics researcher, questioned why humans are not thoroughly reviewing legislation. Estonian officials stress that AI should only handle rule-based decisions, while human judgment is required for discretionary matters. Automated decisions must leave an audit trail, and citizens can invoke a right to be heard or dispute decisions.

“The purpose of Estonia’s digital state has never been to remove the human from government,” said Kirke Maar, Eesti.ai team lead. “AI does not replace democratic institutions, the constitution, or the will of voters,” Michal added.

Comments

0/1500

Comments are automatically moderated. No hate, threats, personal data or spam.

Loading comments…

More in this category