Colombia NIT Generator
Generate Colombian NIT numbers for companies and individuals with the DIAN check digit (DV) — synthetic test data only
For Development & Testing Purposes Only - Synthetic Mock Data
Settings
1 valueGenerates one value with a valid checksum. Press ⌘/Ctrl+Enter for a fresh one.
Generated value
No value yet
Set options, then press Generate.
Generated values are valid in shape but randomized (Test Data).
Examples
Company NIT
Company NIT · Generate899.999.068-1Nine digits starting with 8, followed by the DV that the prime-weight sum requires.
Individual NIT
Individual NIT · Generate213.123.432-1A cédula-based body with its DV; only the final digit is a check digit.
Wrong DV
899.999.068-2Invalid — DV is 2 but 899999068 requires 1The validator names the expected DV instead of rejecting the value as malformed.
About this tool
The Colombia NIT Generator produces Números de Identificación Tributaria in the layout DIAN uses: a body of digits followed by a check digit called the DV (dígito de verificación) after a hyphen. Choose a company NIT — nine digits starting with 8 or 9 — or an individual NIT, which is built from a cédula-style digit body. Dots are optional separators, so 899.999.068-1 and 899999068-1 describe the same value.
The DV is computed with the prime weights 3, 7, 13, 17, 19, 23, 29, 37, 41, 43, 47, 53, 59, 67 and 71 applied from the rightmost body digit leftwards. The weighted sum is taken mod 11; a remainder of 0 or 1 becomes the DV itself, and any other remainder gives 11 minus the remainder. Only the DV is checked, because the cédula inside an individual NIT has no check digit of its own.
These are synthetic values for QA and development, never for real applications, KYC checks, tax filings or identity documents; a random value can coincidentally match a real, issued number, and DevTools accepts no liability for how generated data is used. Everything runs locally in your browser.
What this tool does not do
- The tool validates the DV arithmetic only; it cannot confirm that DIAN ever issued the NIT.
- Generated individual NITs use a synthetic body, not a real cédula belonging to a person.
- Company NITs are generated with a 9 prefix; 8-prefix company values validate but are never emitted.
- There is no external lookup, so a passing value says nothing about the taxpayer's status.
How to use this tool
Choose the NIT type
Pick Company NIT for nine digits starting with 8 or 9, or Individual NIT for a cédula-based number.
Generate one value
Click Generate to create a single NIT body and append the DIAN DV computed with the prime weights.
Copy or validate
Copy the result or download it as a .txt file, or switch to Validate to recompute the DV for a pasted NIT.
Use cases
Colombian invoice forms
Fill NIT fields on billing and onboarding screens with values that pass DIAN check-digit validation.
Company versus person branches
Test that a form accepts a 9-digit company NIT and a cédula-based individual NIT through separate rules.
Separator handling
Check that your parser treats dotted and plain-digit NITs as the same value.
NIT structure and DV rule
| Part | Rule |
|---|---|
| Company NIT | 9 digits starting with 8 or 9, then the DV |
| Individual NIT | A cédula-style digit body, then the DV |
| DV weights | 3, 7, 13 … 71, applied from the rightmost body digit leftwards |
| DV formula | Sum mod 11; 0 and 1 stay as-is, otherwise 11 − remainder |
| Separators | Dots are optional, as in 899.999.068-1 |
| What validation checks | The DV only — the cédula has no check digit |
The tool never contacts DIAN; all checks are local arithmetic.
Common mistakes
Mistake:Looking for a check digit inside the cédula
Fix:Only the NIT has a DV; the cédula portion is plain digits.
Mistake:Assuming every 9-digit NIT starts with 9
Fix:Company NITs start with 8 or 9, and both prefixes are valid.
Mistake:Rejecting dotted input
Fix:Dots are optional separators and are stripped before the DV check.
Frequently asked questions
Are these real NITs, and can I use them in production?
No. Every value is synthetic test data for QA and development, never for real applications, KYC checks, tax filings or identity documents; a random value can coincidentally match a real, issued number, and DevTools accepts no liability for how generated data is used.
How is the Colombian DV check digit calculated?
The body digits are weighted with the primes 3, 7, 13 and the rest through 71 from the rightmost digit. The sum mod 11 is the DV when it is 0 or 1; otherwise the DV is 11 minus that remainder.
What is the difference between a company and an individual NIT?
A company NIT has nine digits starting with 8 or 9, and the generator emits a 9 prefix. An individual NIT uses a cédula-style digit body: the generator emits a 10-digit body starting with 10, and the DV is computed over the whole body.
Does the cédula inside an individual NIT have a check digit?
No. Only the NIT carries a DV, so validation recomputes the DV over the whole body and does not attempt to check the cédula separately.
Are dots required in a NIT?
No. Dots are optional separators, so 899.999.068-1 and 899999068-1 are the same value and both are accepted by the validator.
References & standards
Related tools
VAT Number Generator
Generate VAT numbers for EU, UK, Switzerland, Norway and global tax integration testing.
Tax Number Generator
Generate valid tax identification numbers for testing (TR, US, SG, etc.)
National Identity Generator
Generate and validate national ID numbers for testing (TR, US, DE, UK, SA, AE, QA, KW, CA, ES, BR, FR, IT, NL, SE, NO, EG, SG)
Tax ID Validator
Auto-detect and validate VAT, EIN, TIN and GST identifiers with batch checksum reporting.