Locale sr_BA

faker2.providers.ssn

class faker2.providers.ssn.sr_BA.Provider(generator: Any)

Bases: Provider

Bosnia and Herzegovina JMB provider.

ssn() str

Generates a 13-digit Bosnia and Herzegovina SSN (JMB - Jedinstveni maticni broj). - https://mup.vladars.rs/lat/mup-servisi/jmb#jumptopost - https://sr.wikipedia.org/sr-el/Јединствени_матични_број_грађана

Structure: DD MM YYY RR BBB K - DD: day of month - MM: month - YYY: last three digits of year - RR: registration area code (10-19 for Bosnia and Herzegovina) - BBB: personal number where 000-499 for males and 500-999 for females - K: control digit

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ssn()
...
'2810010170418'
'0909951194970'
'0906966159919'
'0309973145178'
'0908939137736'