OdooWiki OCA HUB

Colombia - VAT Validation

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

This module extends the functionality of the VAT validation in Odoo to support Colombian tax identification numbers (NIT and Cédula).

By default, Odoo does not include a validator for Colombian VAT numbers, which causes constraint errors when saving partners with a Colombian country set. This module adds a check_vat_co method that Odoo automatically picks up during its standard validation flow, accepting any numeric identifier between 3 and 11 digits.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds Colombian VAT validation to Odoo so partners with a Colombian country can be saved with a NIT or Cédula number. It accepts any identifier of 3 to 11 digits, ignoring spaces, dots and hyphens.

This module extends the standard VAT validation of Odoo so that Colombian tax identifiers are accepted when saving a contact.

Without it, Odoo has no validator for Colombian numbers and shows a constraint error when you set the country to Colombia and enter a NIT or Cédula on a partner.

  • It works on the contact form (res.partner), in the Tax ID / VAT field.
  • The check is picked up automatically by Odoo's normal VAT validation flow, so no extra button or menu is needed.
  • A Colombian identifier is considered valid when, after removing every non-digit character (spaces, dots, hyphens, etc.), it contains between 3 and 11 digits.
  • Letters or other characters are simply ignored during the check, so the number of digits is what matters.
  • No new fields, menus, reports, emails or scheduled actions are added.

In practice, users can register Colombian customers, suppliers and companies with their NIT or Cédula without being blocked by a validation error, while still keeping a basic format check on the number.

Depends on

base_vat
Models and fields (1)
  • res.partner · extends an existing model

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

This module does not impact the user interface.

It works automatically in the background: once installed, Odoo will accept Colombian NIT and Cédula numbers without raising a validation error when the partner's country is set to Colombia.

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.