faker.providers.ssn.lv_LV
¶
Package Contents¶
Classes¶
- class faker.providers.ssn.lv_LV.SsnProvider(generator: Any)¶
Bases:
faker.providers.BaseProvider
- class faker.providers.ssn.lv_LV.Provider(generator: Any)¶
Bases:
faker.providers.ssn.Provider
- vat_id_formats = ('LV###########',)¶
- ssn(min_age: int = 0, max_age: int = 105) str ¶
Returns 11 character Latvian personal identity code (Personas kods). This function assigns random age to person.
Personal code consists of eleven characters of the form DDMMYYCZZZQ, where DDMMYY is the date of birth, C the century sign, ZZZ the individual number and Q the control character (checksum). The number for the century is either 0 (1800–1899), 1 (1900–1999), or 2 (2000–2099).
- vat_id() str ¶
http://ec.europa.eu/taxation_customs/vies/faq.html#item_11 :return: a random Latvian VAT ID