Blog · 21 November 2026 · 1 min read
Verotutka: who pays corporate tax in Finland, and how it is changing
Vero's public tax files joined with the PRH trade register. The hard part was not the analysis but files that change shape every year.
Project: Verotutka · live dashboard
How has corporate income tax in Finland developed since 2020, and which companies are behind it? The data is public. Using it reliably took more work than I expected.
Explore it in the dashboard: pick a year, click an industry, and see how concentrated tax payments are.
Two public sources, one key
Vero publishes corporate tax data every year. PRH's Trade Register describes the companies. They share the Business ID (Y-tunnus), so the join looks easy.
Files that change every year
Column names, text encodings and delimiters change between years. Rather than a pile of if-statements, header mappings are stored as data, and a dbt test fails if a new year arrives with a column nobody has mapped.
Validate the key before joining
Business IDs have a check digit. Every ID is validated before any join, so a typo cannot silently attach one company's tax to another.
Keep the original and the correction
When figures are corrected, the original and corrected values sit side by side. Trends can use the corrected value, and anyone can still see what was first published.
Survivorship bias, on purpose
Companies that close drop out of later years. Hiding that would make growth look better than it is, so the dashboard shows it instead.
Dead links do not stop the run
Some source links stop working. The pipeline records and skips them rather than failing the whole load.
What comes out
Ten trend marts cover industries, municipalities, concentration and the largest taxpayers.
What I would do differently
I would store each year's raw file with a checksum from the start, so a silently replaced file is caught immediately.
Code: GitHub · Streamlit app