The National ID of Bangladesh. This page is generated from the registry metadata of the library.
| Property | Value |
|---|---|
| Country code | BGD, BD |
| ID type | National ID |
| Official name | জাতীয় পরিচয়পত্র (NID) |
| Also known as | Bangladesh national ID number; জাতীয় পরিচয়পত্র; NID; BD |
| Display format | YYYYDDRPPUUSSSSSS |
| Input masks | #################, ############# |
| Length | 13 to 17 |
| Example | 19841592824588424 |
| Checksum | no |
| Checksum algorithm | None (structural validation only) |
| Parsable | yes |
The root entry registers every country:
import { validateNationalId } from 'idnumbers';
validateNationalId('BGD', '19841592824588424').isValid; // true
To bundle only this country, import its definition from idnumbers/countries/bgd and pass it to register():
import { register, validateNationalId } from 'idnumbers/core';
import { country } from 'idnumbers/countries/bgd';
register(country);
validateNationalId('BGD', '19841592824588424').isValid; // true