The Social Security Number / Tax Registration of San Marino. This page is generated from the registry metadata of the library.
| Property | Value |
|---|---|
| Country code | SMR, SM |
| ID type | Social Security Number / Tax Registration |
| Official name | Social Security Number (SSI) |
| Also known as | Social Security Number; SSI |
| Display format | ######### |
| Input masks | #########, LL##### |
| Length | 7 to 9 |
| Example | 123456789 |
| Checksum | no |
| Checksum algorithm | None (format/length only) |
| Parsable | no |
The root entry registers every country:
import { validateNationalId } from 'idnumbers';
validateNationalId('SMR', '123456789').isValid; // true
To bundle only this country, import its definition from idnumbers/countries/smr and pass it to register():
import { register, validateNationalId } from 'idnumbers/core';
import { country } from 'idnumbers/countries/smr';
register(country);
validateNationalId('SMR', '123456789').isValid; // true