faker.providers.ssn.nl_BE

Package Contents

Classes

SsnProvider

Provider

class faker.providers.ssn.nl_BE.SsnProvider(generator: Any)

Bases: faker.providers.BaseProvider

ssn_formats: faker.providers.ElementsType[str] = ('###-##-####',)
ssn() str
class faker.providers.ssn.nl_BE.Provider(generator: Any)

Bases: faker.providers.ssn.Provider

vat_id_formats = ('BE##########',)
ssn() str

Returns a 11 digits Belgian SSN called “rijksregisternummer” as a string

The first 6 digits represent the birthdate with (in order) year, month and day. The second group of 3 digits is represents a sequence number (order of birth). It is even for women and odd for men. For men the range starts at 1 and ends 997, for women 2 until 998. The third group of 2 digits is a checksum based on the previous 9 digits (modulo 97). Divide those 9 digits by 97, subtract the remainder from 97 and that’s the result. For persons born in or after 2000, the 9 digit number needs to be proceeded by a 2 (add 2000000000) before the division by 97.

vat_id() str

http://ec.europa.eu/taxation_customs/vies/faq.html#item_11 :return: A random Belgian VAT ID