---
id: "si_ddv"
kind: "datatype"
status: "draft"
is_pii: true
categories: ["finances"]
country: ["SI"]
langs: ["sl"]
quality: 100
url: "http://registry.apicrafter.io/datatype/si_ddv"
---

# Slovenian VAT number (ID za DDV) (`si_ddv`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Identifikacijska številka za DDV, the VAT number in Slovenia: SI followed by the 8-digit tax number (davčna številka) of the payer. The first digit is not 0 and the last is a weighted modulo 11 check digit.

- Parent datatype: `vatin`
- Personal data (PII): yes
- Categories: Finances and banking (finances)
- Countries: Slovenia (SI)
- Languages: Slovenian (sl)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:SI[ -]?)?[1-9]\d{7}$
```

Check digit algorithm: `si_ddv`

## Examples

- `SI50223054` — python-stdnum reference value
- `50223054` — The same number without the country prefix
- `SI50223055` (invalid example) — Check digit does not match
- `SI5022305` (invalid example) — One digit short

## Mappings

- schema_org: `vatID`
- stdnum: `si.ddv`

## Supported by tools

- `awsglue`
- `pythonstdnum`

## Translations

- sl: Identifikacijska številka za DDV

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/VAT_identification_number>
- doc: <https://ec.europa.eu/taxation_customs/vies/>
- other: <https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.si.ddv.html>

## Quality

Score 100/100.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/si_ddv.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/SI/finances/si_ddv.yaml>
