Colombia Tax Identification Number
Detects Colombia Tax Identification Number patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Due to the numeric format, corroborative evidence keywords are essential for reliable detection.
- Type
- regex
- Engine
- universal
- Confidence
- medium
- Confidence justification
- Medium confidence: variable-length numeric patterns are common. Colombian NIT keywords like 'NIT' or 'DIAN' are required for reliable identification. Added context gating and exclusion rules improve precision and reduce incidental matches.
- Detection quality
- Mixed
- Jurisdictions
- co
- Regulations
- Habeas Data Law (Colombia)
- Frameworks
- ISO 27001, ISO 27701
- Data categories
- pii, financial, government-id
- Scope
- narrow
- Risk rating
- 5
- Platform compatibility
- Purview: Compatible, GCP DLP: Unsupported, Macie: Unsupported, Zscaler: Compatible, CrowdStrike DLP: Unsupported, Palo Alto: Unsupported, Netskope: Unsupported
Pattern
\b(?<!-)(\d{6,10}-?\d?)\b
Corroborative evidence keywords
NIT, número de identificación tributaria, DIAN, RUT, cédula, tax identification, [object Object], tax identification number, tax number, tax return, [object Object], [object Object], tax ID, inland revenue, taxpayer identification, αριθμός φορολογικού μητρώου, ΑΦΜ, φορολογικός, Abgabenkontonummer, adóazonosító (+47 more)
Proximity: 300 characters
Should match
900123456-7— Colombian NIT with check digit1234567890— Ten-digit Colombian tax ID123456-7— Short-form Colombian NITNIT: 900123456-7, razón social Ejemplo S.A.S., Bogotá, Colombia— Labelled NIT with independent Colombian tax context (85 tier)
Should not match
12345— Too few digits for Colombian tax ID123456789012— 12 digits exceeds maximum length for Colombian NITtemplate example placeholder record identifier— Template/sample context should be excluded even when anchor words are presentTAX INVOICE Invoice number: INV-204511 Customer reference: 204511 Amount due: $1,245.60— Australian invoice remittance block (2026-10-16 boilerplate run). The word "tax" used to satisfy both 85 evidence refs on its own; the prefixed INV-204511 is now rejected and the bare reference stays at 65 discovery.Factura número 204511, impuesto incluido— Spanish-language invoice number; generic tax words without a NIT/RUT/DIAN label stay at 65 discovery
Known false positives
- Generic numeric sequences in non-tax contexts such as reference numbers or account identifiers Mitigation: Require corroborative evidence keywords within the proximity window to distinguish tax identifiers from general numeric data.
- Invoice, order and customer reference numbers in any tax invoice: a 6-10 digit run next to "tax", "factura" or "impuesto" used to reach 85, because the word "tax" satisfied both 85 evidence refs at once. Mitigation: 75 needs a Colombian tax-ID label (NIT, RUT, DIAN, número de identificación tributaria) and 85 adds independent Colombian tax context; generic tax words alone stay at the 65 discovery tier. The regex also rejects a digit run that follows a hyphen, as in prefixed references like INV-204511.
- Numbers from other identification schemes with similar digit patterns Mitigation: Layer with jurisdiction-specific detection to prioritise matches in tax-related documents and cross-reference with other identifier types.