The JMBG of Serbia. This page is generated from the registry metadata of the library.
| Property | Value |
|---|---|
| Country code | SRB, RS |
| ID type | JMBG |
| Official name | Jedinstveni matični broj građana (JMBG) |
| Also known as | JMBG; Jedinstveni matični broj građana; Unique Master Citizen Number |
| Display format | DDMMYYYRRSSSC |
| Input masks | ############# |
| Length | 13 |
| Example | 0101990700002 |
| Checksum | yes |
| Checksum algorithm | JMBG weighted sum mod 11 (weights 7,6,5,4,3,2 x2) |
| Parsable | yes |
The root entry registers every country:
import { validateNationalId } from 'idnumbers';
validateNationalId('SRB', '0101990700002').isValid; // true
To bundle only this country, import its definition from idnumbers/countries/srb and pass it to register():
import { register, validateNationalId } from 'idnumbers/core';
import { country } from 'idnumbers/countries/srb';
register(country);
validateNationalId('SRB', '0101990700002').isValid; // true