Pular para o conteúdo
Tool

NIT Validator (Colombia)

Check online, for free, whether a Colombian NIT has the correct check digit, under the DIAN's algorithm.

This validation checks only the NIT's format and check digit. It does not query DIAN and does not indicate whether the NIT exists or who it belongs to.

The NIT Validator checks whether a Colombian Número de Identificación Tributaria matches its verification digit (DV), accepting the number with or without dots and hyphen. The calculation runs in the browser.

Notice: the tool validates only the math of the number. It does not query the DIAN, so it does not say whether the NIT is active or who it belongs to.

What the NIT is, and what the RUT is in Colombia

The NIT is Colombia's tax number, issued by the DIAN, the tax authority. It appears on invoices and contracts, in the format 800.197.268-4: the base, a hyphen and the verification digit. For individuals, the base is usually the cédula number, and for companies, a number assigned at registration.

There is a frequent mix-up with Chile. In Colombia, RUT means Registro Único Tributario, which is the registry, not the number. The number is the NIT. The Chilean RUT, validated by the other validator on the site, is something else.

How the digit is calculated

Write the base from right to left and multiply each digit by the matching weight from the list 3, 7, 13, 17, 19, 23, 29, 37, 41, 43, 47, 53, 59, 67, 71. Add the products, divide by 11 and look at the remainder. If the remainder is 0 or 1, the digit is the remainder itself. For any other remainder, the digit is 11 minus the remainder.

Worked example

For the base 123456789, from right to left: 9 × 3 = 27, 8 × 7 = 56, 7 × 13 = 91, 6 × 17 = 102, 5 × 19 = 95, 4 × 23 = 92, 3 × 29 = 87, 2 × 37 = 74 and 1 × 41 = 41. The sum is 665. The remainder of the division by 11 is 5, and the digit is 11 − 5 = 6. The NIT is 123.456.789-6, and the tool confirms it.

Note the rule: remainders 0 and 1 become the digits 0 and 1, without going through the subtraction. Only remainders from 2 to 10 become 11 minus the remainder.

How the tool reads what you type

Everything that is not a number is removed. The last digit is read as the DV and the earlier ones as the base. The base can have up to 15 digits, which is the size of the weight list. If you paste the base without the DV, the last number of the base will be treated as the check digit and the result will be invalid, unless it happens to coincide.

The tool validates, but does not calculate the DV of a base you have. If you need the DV of a real NIT, it appears on the company's documents or on the RUT issued by the DIAN.

What the tool does not check

  • The type of taxpayer. It does not tell an individual from a company.
  • The length. Any base of 1 to 15 digits with the right DV is accepted.
  • Existence in the DIAN registry.

Common invalid entries

  • A NIT without the verification digit.
  • The verification digit of another NIT, from copying the wrong line.
  • A number with letters or spaces in the middle, which are removed and misalign the weights.
  • A base with more than 15 digits.

How to use

Paste the NIT and click Validate. To generate fictitious NITs, use the Generator tab or the NIT Generator. In Argentina, the equivalent is the CUIT, in the CUIT Validator.

Frequently asked questions

What is the difference between NIT and RUT in Colombia?

The NIT is the tax identification number. The RUT (Registro Único Tributario) is the DIAN registry where that number is recorded. This tool validates the NIT.

Why can the verification digit be 0 or 1?

Because, when the remainder of the weighted sum by 11 is 0 or 1, the digit is the remainder itself. Only in the other cases is 11 minus the remainder used, and that is why the DV can go from 0 to 9.

Does the tool calculate the verification digit for a base I have?

No, it only checks whether the DV you typed matches the base. For a real NIT, the DV is on the company's documents and on the RUT. In the Generator tab, you can create complete fictitious NITs.

Are the weights applied from the left or from the right?

From right to left: the last digit of the base is multiplied by 3, the second to last by 7, the next by 13, and so on. Reversing the direction changes the sum and rejects correct NITs.

What is the maximum NIT length the tool accepts?

The base can have up to 15 digits, plus the DV. That is the size of the weight list used in the calculation. Longer numbers are rejected.

Can I paste the NIT with dots and a hyphen?

Yes. Everything that is not a number is removed. 800.197.268-4, 800197268-4 and 8001972684 are read the same way.

About this content

Written by:
Ferramenta Grátis

Related tools