stdnum.nl.btw

BTW-nummer (Omzetbelastingnummer, the Dutch VAT number).

The BTW-nummer is the Dutch number for VAT. It consists of a RSIN or BSN followed by a B and two digits that identify the unit within the organisation (usually 01).

>>> is_valid('004495445B01')
True
>>> is_valid('NL4495445B01')
True
>>> is_valid('123456789B90')
False
stdnum.nl.btw.compact(number)

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

stdnum.nl.btw.is_valid(number)

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

Previous topic

stdnum.nl.bsn

Next topic

stdnum.nl.onderwijsnummer