Slovenia DDV-ID Validator

Validate Slovenian VAT numbers (SI + 8 digits) with the modulo-11 check digit.

Ad placeholder (leaderboard)

Slovenian DDV-ID at a glance

The DDV-ID is Slovenia’s VAT identification number, issued by FURS (Finančna uprava Republike Slovenije). For cross-border EU use it is written as the prefix SI followed by an 8-digit davčna številka (tax number) — for example SI12345679. The eighth digit is a check digit computed from the first seven using a weighted modulo-11 algorithm, which lets you catch typos before submitting an eDavki VAT filing.

How it works

The check digit uses a fixed weight vector applied to the first seven digits:

weights = [8, 7, 6, 5, 4, 3, 2]
sum     = Σ (digit[i] * weight[i])   for i = 0..6
rem     = sum mod 11
check   = 11 - rem
  if check == 10 → number is INVALID
  if check == 11 → check = 0

The computed check must equal the eighth digit. This scheme detects all single-digit substitution errors and most adjacent transpositions. The first digit cannot be 0, since valid tax numbers do not begin with a leading zero.

Tips and example

Take 15012557. Weighted sum = 1·8 + 5·7 + 0·6 + 1·5 + 2·4 + 5·3 + 5·2 = 8 + 35 + 0 + 5 + 8 + 15 + 10 = 81. 81 mod 11 = 4, so check = 11 − 4 = 7. The eighth digit is 7, so the number is valid. Remember that a correct check digit only guarantees the number is well-formed — use VIES to confirm the registration is real and active.

Ad placeholder (rectangle)