The Internal Passport of Russia. This page is generated from the registry metadata of the library.
| Property | Value |
|---|---|
| Country code | RUS, RU |
| ID type | Internal Passport |
| Official name | Внутренний паспорт (Internal Passport) |
| Also known as | Internal Passport; Passport Number; Паспорт гражданина РФ |
| Display format | SSSS NNNNNN |
| Input masks | #### ###### |
| Length | 10 |
| Example | 1234 567890 |
| Checksum | no |
| Checksum algorithm | None |
| Parsable | yes |
The root entry registers every country:
import { validateNationalId } from 'idnumbers';
validateNationalId('RUS', '1234 567890').isValid; // true
To bundle only this country, import its definition from idnumbers/countries/rus and pass it to register():
import { register, validateNationalId } from 'idnumbers/core';
import { country } from 'idnumbers/countries/rus';
register(country);
validateNationalId('RUS', '1234 567890').isValid; // true