The EMŠO of Slovenia. This page is generated from the registry metadata of the library.
| Property | Value |
|---|---|
| Country code | SVN, SI |
| ID type | EMŠO |
| Official name | EMŠO (Enotna matična številka občana) |
| Also known as | EMŠO; Enotna matična številka občana; Unique Master Citizen Number |
| Display format | DDMMYYYRRSSSC |
| Input masks | ############# |
| Length | 13 |
| Example | 0101990500003 |
| 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('SVN', '0101990500003').isValid; // true
To bundle only this country, import its definition from idnumbers/countries/svn and pass it to register():
import { register, validateNationalId } from 'idnumbers/core';
import { country } from 'idnumbers/countries/svn';
register(country);
validateNationalId('SVN', '0101990500003').isValid; // true