E-invoicing in Colombia: what the DIAN validates before the sale exists
In Colombia the DIAN validates FIRST: no validation, no invoice. What the CUFE is, why a document gets rejected and what else you have to issue.
The difference that changes everything: validation comes first
Colombia has one of the strictest models in the region: pre-validation. The electronic sales invoice is transmitted to the DIAN and is only valid once the DIAN validates it. It isn't an informational filing: it's a permission.
In practice that means your system doesn't create the invoice: the DIAN creates it by accepting it. And that's why the document carries the CUFE, the unique code identifying that specific invoice and letting anyone verify it exists.
If you come from a country where you invoice and report afterwards, this is the shift in mindset: here a data error isn't a later correction, it's a sale you can't document on the spot.
Why the DIAN rejects a document
Rejections are hardly ever about the amount. They're about the detail nobody checks:
- Buyer data incomplete or malformed. A NIT with the wrong check digit, the person type set wrong, a tax responsibility that doesn't apply.
- Numbering outside the current resolution. The prefix and range are authorised by resolution, with a validity period. Outside that, there's no invoice.
- Taxes that don't match the base. VAT calculated on a base different from the one declared, or an exempt item carrying tax.
- Invalid units of measure. The standard requires specific codes; «unit» typed by hand isn't one.
The practical consequence: the quality of your customer master stops being an admin matter and becomes an operational one. A badly captured customer is an invoice that doesn't go out.
It isn't just the sales invoice
The commonest scoping mistake is preparing only the sales invoice. The Colombian system covers more:
- Electronic credit and debit notes, which reference the invoice they correct.
- Supporting document for purchases from those not required to invoice electronically. If you buy from someone not obliged, you issue the document.
- Electronic payroll, which is a separate filing, with its own periodicity, and which usually catches out anyone who thought this was only about invoicing.
- Buyer events — acknowledgement of receipt, acceptance — which in certain cases are what let the invoice circulate as a negotiable instrument.
If you'll be running payroll too, it's worth looking at how payroll is calculated in Colombia, because the electronic filing feeds off that calculation: if the calculation is wrong, so is the filing.
If you operate in several countries at once
Here's the problem almost nobody anticipates: tax rules aren't configured, they're implemented. Colombia validates first, the Dominican Republic has its own scheme, Guatemala works through certifiers and Costa Rica with its own format and receiver acceptance. They aren't variants of the same thing.
A system that says «multi-country supported» can mean two very different things: that it really has the four regimes implemented, or that it has a field where you type the tax's name. The question that tells them apart: show me an invoice issued and validated in each country.
Colombian rules are updated by resolution fairly often and there are deadlines that depend on your activity and size. Confirm your specific case with the DIAN or your accountant before making calendar decisions.