Skip to main content

Colombia NIT Validator

Online Colombia NIT validator. Verify DIAN Modulo 11 weights. QA tests.

About Colombia NIT

The NIT is Colombia's unique tax identification number assigned by the DIAN to individuals and companies.

This tool generates and validates NIT numbers using the official DIAN Modulo 11 check digit calculation.

Anatomy & Structure of Colombian NIT

The DIAN Tax Identification Number is composed of 2 functional sections:

PositionFieldLengthMeaning & RuleExample
1 to 9Base Number8 to 10 digitsSequential business or personal registration index123456789
Final (after hyphen)Check Digit (DV)1 digitDIAN Modulo 11 checksum calculated with prime weights0

NIT Check Digit Algorithm (DIAN Modulo 11)

The Colombian tax authority applies prime weights from right to left:

Weights: [3, 7, 13, 17, 19, 23, 29, 37, 41, 43, 47, 53, 59, 67, 71]
  1. 1. Extract base identification digits.
  2. 2. From right to left, multiply each digit by corresponding prime weight (last by 3, penultimate by 7, etc.).
  3. 3. Compute sum of all products.
  4. 4. Remainder = Sum % 11.
  5. 5. If Remainder is 0 or 1, Check Digit = Remainder.
  6. 6. If Remainder > 1, Check Digit = 11 - Remainder.

Frequently Asked Questions