Locale sr_BA

faker.providers.ssn

class faker.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()
...
'0311010170414'
'1509951194976'
'1506966159914'
'0909973145167'
'1508939137731'