The Personal Number of Bahrain. This page is generated from the registry metadata of the library.
| Property | Value |
|---|---|
| Country code | BHR, BH |
| ID type | Personal Number |
| Official name | الرقم الشخصي (CPR) |
| Also known as | Personal number; Identification card number; بطاقة الهوية; الرقم الشخصي; Central population registration number; CPR; الرقم السكاني |
| Display format | YYMMSSSSC |
| Input masks | ######### |
| Length | 9 |
| Example | 800101001 |
| Checksum | no |
| Checksum algorithm | None (check digit algorithm not publicly documented; format-only validation) |
| Parsable | yes |
The root entry registers every country:
import { validateNationalId } from 'idnumbers';
validateNationalId('BHR', '800101001').isValid; // true
To bundle only this country, import its definition from idnumbers/countries/bhr and pass it to register():
import { register, validateNationalId } from 'idnumbers/core';
import { country } from 'idnumbers/countries/bhr';
register(country);
validateNationalId('BHR', '800101001').isValid; // true