Skip to main content

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:

PositionFieldLengthMeaningExample
1-4Location4 digitsDepartment and municipality0614
5-10Date6 digitsDate DDMMYY050707
11-13Series3 digitsCorrelative series104
14Check Digit1 digitModulo 11 check digit8

DGII Modulo 11 Algorithm

Ministry of Finance Rules:

Branching by correlative series value
  1. 1. Clean input and verify 14 digits length.
  2. 2. Compute weighted checksum according to series range.
  3. 3. Compare with the 14th check digit.

Frequently Asked Questions