Utland.se
A Swedish guide to what buying a home abroad really costs, country by country, with a calculator for the taxes and fees and a source for every figure.
What it is
Utland.se is written in Swedish and published only in Swedish. There is no other edition.
It is an independent guide and a set of calculators for Swedes making a big decision abroad, starting with one: buying a home. Six countries so far, Spain, Italy, Greece, Portugal, France and Thailand, and each has a country page, a buying guide and a purchase-cost calculator.
The calculator takes the price and, where the tax depends on it, the region, and returns the taxes and fees that come on top of the price, in the local currency and in kronor. The kronor use Riksbanken’s rate through Valutakurs.nu, fetched when the site is built for the guide text and again in the browser by the calculator.
The site sells no property, no insurance and no tax advice, and no partner is ranked or recommended for paying.
Getting the facts right
Every fact that drives a number, a tax rate, a fee, a threshold, is a record in the repository with its source link, the date the rule took effect, the date it was last checked and who reviewed it. Guides and calculators read the same records, so a number is never stated twice. “Senast kontrollerad” on a page is the oldest last-checked date among the facts it uses, never the build date.
The build refuses to make a page indexable while it uses a fact nobody has signed, and it fails outright on a fact whose rule has ended. Sixty days before that, it warns.
Guide text never types a number. Numbers and rules come in through components that read the fact records, and each page ends with a source list showing every fact it depends on, with citation, date and reviewer. The official rule, the site’s own advice, worked examples and anything commercial are kept visibly apart.
Nobody on the team is a lawyer or an estate agent, and the site says so. Where a page rests on a reading of the law rather than a published number, it carries a notice: no lawyer has reviewed it, the facts were researched and checked with AI and approved by the owner, and the reader should have a local lawyer go through their own case before signing.
Where a cost has no official source, such as a lawyer’s fee, the calculator says it is not included rather than guessing. Every source list ends with a link for reporting an error.
How it is built
Astro with content collections and Svelte islands for the calculators, Tailwind, and TypeScript throughout, built to static HTML that nginx serves directly. No database and no server process. Pages ship no client-side JavaScript by default; the calculators are the islands that do.
Calculation logic is pure TypeScript with unit tests, and the tests run the real fact files through worked examples. Every page passes through one gate that decides whether it may be indexed, and a test fails if a page skips it.
Photos come from Wikimedia Commons with a credit under each, and the build fails on a missing licence or one it does not allow. No AI-generated images.
Analytics load only after consent. Declining measures nothing. The contact form posts to the shared form handler on bergsten.net, the same one behind the other sites.
A scheduled check re-reads the facts country by country and proposes what changed on a branch for the owner to review. It never signs, merges or deploys.
Built with astro