El Salvador NIT Generator (DGII)
Generate valid 14-digit Número de Identificación Tributaria (NIT) numbers for legal entities in El Salvador.
Waiting for generation...
About El Salvador NIT (Legal Entities)
The NIT is the official corporate tax identifier maintained by the Dirección General de Impuestos Internos (DGII) under El Salvador's Ministry of Finance.
Structured in 14 digits across 4 blocks (MMMM-DDMMAA-SSS-Y): 4-digit municipal code, 6-digit establishment date, 3-digit correlative series, and 1 Modulo 11 check digit.
Anatomy & Structure of El Salvador NIT
The 14-digit NIT is divided into 4 key blocks:
| Position | Field | Length | DGII Normative Meaning | Example |
|---|---|---|---|---|
| 1st to 4th digits | Geographic Code | 4 digits | Department and municipality registration code. | 0614 |
| 5th to 10th digits | Date | 6 digits | Founding or registration date (DDMMYY). | 050707 |
| 11th to 13th digits | Correlative Series | 3 digits | Sequential series determining weighting matrix (001 to 999). | 104 |
| 14th digit | Check Digit | 1 digit | Check digit computed via DGII Modulo 11. | 8 |
DGII Modulo 11 Algorithm
Conditional weight branching by correlative series:
Series <= 100: weights [14..2]; Series > 100: weights [2, 7, 6, 5, 4, 3, 2, 7, 6, 5, 4, 3, 2]
- 1. Inspect correlative digits 11 to 13.
- 2. If series <= 100: apply descending weights 14 to 2, DV = (Sum % 11) % 10.
- 3. If series > 100: apply DGII cyclic weights, DV = ((11 - (Sum % 11)) % 11) % 10.
- 4. Format as MMMM-DDMMAA-SSS-Y.