The National ID of Saudi Arabia. This page is generated from the registry metadata of the library.
| Property | Value |
|---|---|
| Country code | SAU, SA |
| ID type | National ID |
| Official name | National ID / Iqama |
| Also known as | National ID; Iqama; Saudi ID |
| Display format | ########## |
| Input masks | ########## |
| Length | 10 |
| Example | 1000000008 |
| Checksum | yes |
| Checksum algorithm | Luhn (mod 10) over the full number |
| Parsable | yes |
The root entry registers every country:
import { validateNationalId } from 'idnumbers';
validateNationalId('SAU', '1000000008').isValid; // true
To bundle only this country, import its definition from idnumbers/countries/sau and pass it to register():
import { register, validateNationalId } from 'idnumbers/core';
import { country } from 'idnumbers/countries/sau';
register(country);
validateNationalId('SAU', '1000000008').isValid; // true