| Code | Scope | Length | Check digit | Confidence |
|---|---|---|---|---|
HN_DNI |
personal | 13 | none (structural validation) | low |
HN_RTN |
tax | 14 | none | unconfirmed |
HN_DNI — Documento Nacional de IdentificaciónNational personal identity document issued by the Registro Nacional de las Personas (RNP). The number embeds the holder's municipio of registration and birth year, but the RNP does not publish a check-digit algorithm.
0000-0000-00000No check-digit algorithm is publicly documented. This spec validates format and structure only:
01..18 — Honduras has 18 departamentos.1900..2099.valid iff
digits.length == 13 AND
01 <= int(digits[0:2]) <= 18 AND
1900 <= int(digits[4:8]) <= 2099
valid:
- 0801-1990-12345
- 0501-1985-00001
- 1801-2000-99999
- 1001-1955-01234
- 0301-1945-00005
- 0701-2010-99999
invalid (format):
- "" (empty)
- 1234 (too short)
- 08011990123456 (too long)
- ABCD-EFGH-IJKLM (non-digits)
- 0001-1990-12345 (departamento 00)
- 1901-1990-12345 (departamento 19, not assigned)
- 0801-0000-12345 (año implausible)
- 0801-1899-12345 (año implausible)
HN_RTN — Registro Tributario NacionalTax identifier issued by the Servicio de Administración de Rentas (SAR). For persona natural, the RTN is typically the 13-digit DNI plus 1 secuencial digit; for persona jurídica the RTN is a 14-digit correlativo.
0000-0000-000000No public check-digit algorithm. This spec validates length only, plus a standard all-same-digit placeholder rejection.
valid iff
digits.length == 14 AND
not allSameDigit(digits)
valid:
- 0801-9990-123456
- 1234-5678-901234
- 9988-7766-554433
- 0801-1990-000001
- 0501-1985-123456
invalid (format):
- "" (empty)
- 1234 (too short)
- 0801-9990-1234567 (too long)
- ABCDEFGHIJKLMN (non-digits)
- 00000000000000 (all-same-digit placeholder)
unconfirmed until either SAR publishes documentation or in-country reverse-engineering converges.HN_DNI. This spec keeps the documents independent for clarity.HN_PASAPORTE — PasaporteTravel document issued by the Instituto Nacional de Migración and consulates.
Most-cited modern format is 1 uppercase letter + 7 digits (often E or A),
with legacy 9-digit numeric issues still circulating.
None on the printed number. MRZ check digit lives in
algorithms/icao-9303.ts.
low — no first-party publication.