El Salvador NIT Validator (DGII)
Validate 14-digit Número de Identificación Tributaria (NIT) numbers for El Salvador via Modulo 11 check digit.
How does El Salvador NIT validation work?
Validation checks 14 decimal digits, verifies municipal prefixes, and calculates the 14th check digit via DGII Modulo 11.
Supports both hyphenated format (MMMM-DDMMAA-SSS-Y) and raw 14-digit numbers.
NIT Structure
14-digit tax number:
| Position | Field | Length | Meaning | Example |
|---|---|---|---|---|
| 1-4 | Location | 4 digits | Department and municipality | 0614 |
| 5-10 | Date | 6 digits | Date DDMMYY | 050707 |
| 11-13 | Series | 3 digits | Correlative series | 104 |
| 14 | Check Digit | 1 digit | Modulo 11 check digit | 8 |
DGII Modulo 11 Algorithm
Ministry of Finance Rules:
Branching by correlative series value
- 1. Clean input and verify 14 digits length.
- 2. Compute weighted checksum according to series range.
- 3. Compare with the 14th check digit.