OdooWiki OCA HUB

Colombia - Verification Digit

l10n_co_verification_digit folder_open OCA/l10n-colombia open_in_new
Accounting License: AGPL-3

This module extends the Colombian localization to compute the verification digit (dígito de verificación) of the NIT, as defined in Orden Administrativa 4 of 1989 by the DIAN.

It adds a computed field on the partner form that automatically calculates the check digit from the NIT and displays it next to the identification number with a hyphen separator when the identification type is NIT.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Automatically calculates the Colombian NIT verification digit (DV) on the contact form, so users no longer compute it by hand. The digit appears next to the NIT when the identification type is NIT.

This module extends the Colombian localization so that Odoo calculates the verification digit (dígito de verificación) of a NIT for you.

On the contact form, when the country is Colombia and an identification number is filled in, the system computes the digit using the official DIAN algorithm and stores it in a new field labelled "DV". The digit is shown right after the NIT, separated by a hyphen, but only when the identification type is the Colombian NIT (RUT). For any other identification type or country, the field stays empty.

The calculation ignores any non-numeric characters in the number, applies the official multipliers, and reduces the result modulo 11 to obtain a single digit. The value is stored and recalculated automatically whenever the NIT or the country changes.

The field is read-only, so users cannot type over it, and it is hidden on child contacts where the parent company holds the identification. It is added to the standard Latin American partner form, so it appears wherever contacts are edited in Odoo.

Depends on

l10n_latam_basel10n_co
Models and fields (1)
  • res.partner · extends an existing modell10n_co_verification_digit (DV)

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/l10n-colombia.

terminal Installation and usage

OCA documentation · Odoo 18.0

To use this module, you need to:

  • Go to Contacts > select a partner
  • Set the country to Colombia
  • Select NIT as the identification type
  • Enter the NIT in the identification number field (base number without the verification digit)
  • The verification digit is computed automatically and displayed next to the number with a hyphen (e.g., 900123456 - 8)

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.