Sweden VAT API — Validate Sweden VAT Numbers in Real Time

REST JSON endpoint for verifying Mervärdesskatt (moms) numbers against the official EU VIES register, with national registry fallback where available and a VIES consultation number on every successful check.

Why a Sweden-aware VAT API

In Sweden, VAT is known as Mervärdesskatt (moms) and the current standard rate is 25%. Every Sweden VAT number starts with the prefix SE and follows a fixed structure issued by the Sweden tax authority. A generic VAT validator that ignores country-specific quirks will accept malformed input, miss the country's format rules, and fail to surface the local registry identifier that accountants and auditors actually need.

The vatnode API normalises moms input, runs the official VIES check, falls back to the Sweden national company registry when VIES is unavailable, and returns a single JSON shape with the consultation number, company data where published, and the current Sweden VAT rates inline.

Sweden VAT number format

Structure
SE + 10 digits + 01
Regex pattern
^SE\d{10}01$

Real Sweden VAT numbers you can validate right now:

Validating Sweden VAT numbers — code examples

All three examples validate the same Sweden VAT number SE556703748501.

curl
curl https://api.vatnode.dev/v1/vat/SE556703748501 \
  -H "Authorization: Bearer YOUR_API_KEY"
Node.js (fetch)
const res = await fetch(
  'https://api.vatnode.dev/v1/vat/SE556703748501',
  { headers: { Authorization: `Bearer ${process.env.VATNODE_API_KEY}` } }
)
const data = await res.json()
console.log(data.valid, data.companyName, data.consultationNumber)
Python (httpx)
import os, httpx

r = httpx.get(
    "https://api.vatnode.dev/v1/vat/SE556703748501",
    headers={"Authorization": f"Bearer {os.environ['VATNODE_API_KEY']}"},
)
data = r.json()
print(data["valid"], data["companyName"], data["consultationNumber"])

What you get back

A successful response for a valid Sweden VAT number looks like this:

{
  "valid": true,
  "vatId": "SE556703748501",
  "countryCode": "SE",
  "countryName": "Sweden",
  "companyName": "Spotify AB",
  "consultationNumber": "WAPIAAAAXk7ZpY3o",
  "source": "VIES",
  "countryVat": {
    "currency": "SEK",
    "standardRate": 25,
    "reducedRates": [6,12],
    "superReducedRate": null,
    "parkingRate": null
  },
  "verifiedAt": "2026-05-19T08:14:22Z"
}

When the number is not registered, valid is false and company fields are null. The consultationNumber is the EU VIES requestIdentifier — the documented audit reference for reverse-charge "reasonable care" evidence.

Sweden VAT rates

vatnode returns the current Sweden moms rates inline with every successful response. Today's rates (standard 25%, reduced 6%, 12%) are sourced from the European Commission TEDB feed and refreshed daily.

Rate typeValue
Standard25%
Reduced (1)6%
Reduced (2)12%

VIES vs national fallback for Sweden

VIES is the primary data source for Sweden validation — it is the authoritative EU register and the only source that produces a consultation number. When VIES returns a transient error (timeout, MS_UNAVAILABLE, SERVICE_UNAVAILABLE), vatnode automatically queries the Sweden national company registry as a fallback so your checkout or invoicing pipeline keeps working.

The response includes a source field that tells you which system answered — VIES for the EU register, or the Sweden national-registry source code when the fallback ran.

Sweden is one of the EU countries where vatnode keeps validating during EU VIES outages via a direct national registry adapter. See coverage matrix for the full list.

Sweden VAT API — FAQ

Is the Sweden VAT number the same as the company registration number?

No. The Sweden moms number is issued by the tax authority for VAT purposes; the national registry identifier is a separate ID issued by the company registry. vatnode returns both fields (registryCode + registryCodeName) for Sweden when the data is available.

How fast is Sweden VAT validation through vatnode?

Cached responses return in single-digit milliseconds. Live VIES lookups for Sweden typically complete in under one second; a 15-minute Redis cache is applied to identical VAT IDs.

Does the API work for Sweden sole traders and small businesses?

Yes. If a Sweden sole trader or small business is registered for moms and listed in VIES, vatnode validates the number and returns the same response shape as for corporate entities. The valid field is true regardless of legal form.

What happens if EU VIES is down for Sweden?

vatnode falls back to the Sweden national registry adapter when VIES returns a transient error (timeout, MS_UNAVAILABLE). Validation keeps working from the national source; the response includes a source field so you can tell which system answered.

What is the consultation number returned for Sweden checks?

The consultationNumber is the VIES requestIdentifier — a unique reference issued by the EU VIES service that proves the check was performed against the official EU register on a specific date. It is the EU's documented mechanism for "reasonable care" evidence under the reverse-charge rules and is returned on every successful VIES validation, including Sweden.

See also

Start validating Sweden VAT numbers

100 validations per month on the free plan, no credit card required. REST JSON over HTTPS, VIES consultation number on every check, Sweden national registry fallback, EU-hosted by default.