stdnum.sk.dph

IČ DPH (IČ pre daň z pridanej hodnoty, Slovak VAT number).

The IČ DPH (Identifikačné číslo pre daň z pridanej hodnoty) is a 10-digit number used for VAT purposes. It has a straightforward checksum.

>>> validate('SK 202 274 96 19')
'2022749619'
>>> validate('SK 202 274 96 18')  # invalid check digits
Traceback (most recent call last):
    ...
InvalidChecksum: ...
Traceback (most recent call last):
    ...
InvalidChecksum: ...
stdnum.sk.dph.checksum(number)

Calculate the checksum.

stdnum.sk.dph.compact(number)

Convert the number to the minimal representation. This strips the number of any valid separators and removes surrounding whitespace.

stdnum.sk.dph.is_valid(number)

Checks to see if the number provided is a valid VAT number. This checks the length, formatting and check digit.

stdnum.sk.dph.validate(number)

Checks to see if the number provided is a valid VAT number. This checks the length, formatting and check digit.

Previous topic

stdnum.si.ddv

Next topic

stdnum.sk.rc