The Cédula de Identidad y Electoral of Dominican Republic. This page is generated from the registry metadata of the library.
| Property | Value |
|---|---|
| Country code | DOM, DO |
| ID type | Cédula de Identidad y Electoral |
| Official name | Cédula de Identidad y Electoral |
| Also known as | Cedula; Cédula de Identidad y Electoral |
| Display format | NNN-NNNNNNN-N |
| Input masks | ###-#######-# |
| Length | 11 |
| Example | 40200000012 |
| Checksum | yes |
| Checksum algorithm | Luhn (mod 10), with a documented exception list of legitimately-issued numbers that fail it |
| Parsable | yes |
The root entry registers every country:
import { validateNationalId } from 'idnumbers';
validateNationalId('DOM', '40200000012').isValid; // true
To bundle only this country, import its definition from idnumbers/countries/dom and pass it to register():
import { register, validateNationalId } from 'idnumbers/core';
import { country } from 'idnumbers/countries/dom';
register(country);
validateNationalId('DOM', '40200000012').isValid; // true