The Resident Identity Card of Macau. This page is generated from the registry metadata of the library.
| Property | Value |
|---|---|
| Country code | MAC, MO |
| ID type | Resident Identity Card |
| Official name | Bilhete de Identidade de Residente (BIR) |
| Also known as | National ID Number; Permanent Resident Identity Card; BIRP; Non-Permanent Resident Identity Card; BIRNP |
| Display format | #######(#) |
| Input masks | #######(#) |
| Length | 8 |
| Example | 5215432(8) |
| Checksum | no |
| Checksum algorithm | None (parenthesised digit not algorithmically verified) |
| Parsable | yes |
The root entry registers every country:
import { validateNationalId } from 'idnumbers';
validateNationalId('MAC', '5215432(8)').isValid; // true
To bundle only this country, import its definition from idnumbers/countries/mac and pass it to register():
import { register, validateNationalId } from 'idnumbers/core';
import { country } from 'idnumbers/countries/mac';
register(country);
validateNationalId('MAC', '5215432(8)').isValid; // true