Free tool

Validate the CUFE of an e-invoice

Got an invoice and not sure the code is complete? Check the CUFE in seconds and get to the DIAN lookup without wasting time on copy errors.

Fast. Simple. Accurate. And best of all, free.

This tool follows Colombian rules (DIAN e-invoices). If your business is in another country, the result may not apply.

  • Built for Colombia
  • No sign-up
  • Your data never leaves your browser

Instructions

Paste the CUFE or CUDE exactly as it appears on the invoice. We check the format right here and take you to the official DIAN lookup.

Validation result

Length--
Characters--
Format--

100 % private

The code is checked in your browser and isn't sent to any server.

Instant format check

Length and characters checked as you paste the code.

Straight to DIAN

Copy the code and open the official lookup in one click.

What is the CUFE and how do you know if an e-invoice is valid?

The CUFE is the digital fingerprint of every e-invoice in Colombia: a 96-character code that identifies it with DIAN. Notes and electronic POS documents carry a similar one, the CUDE.

Check it before you pay a new supplier or record a large purchase: the invoice backs up your costs and the VAT you deduct.

A one-minute check keeps you from paying for or recording an invoice that doesn't exist.

What this tool checks

That the code has 96 characters and that all of them are 0–9 or a–f. If something's off, it tells you what's extra or what's missing.

DIAN validation

A valid format doesn't prove the invoice exists. Confirm it in the DIAN catalog, under Buscar documento, with the issuer's or recipient's NIT at hand.

CUFE with a valid format=96 charactersonly 0–9 and a–f

Tiendana Enseña tip

Check your suppliers' invoices before you pay them

Make checking a fixed step in your payment routine: when an invoice comes in, it gets checked. Confirm that the supplier's NIT, the amounts and the CUFE match what you ordered before you send the money, not after.

Save the XML and the PDF of every purchase in a folder by month, named with the supplier and the invoice number. When your accountant asks for the records, or when you need to file a claim with a supplier, you'll find them in seconds.

Did you know?

The CUFE isn't chosen or assigned by hand: it's calculated from the invoice data. If someone changes the total in the PDF, the printed code no longer matches the document DIAN validated.

Step by step

How to validate the CUFE of an e-invoice

  1. Copy the code

    Find the CUFE or CUDE on the invoice and copy all of it, from start to finish.

  2. Paste it here

    Paste the code into the field; spaces and line breaks are removed automatically.

  3. Check the format

    We tell you if it has all 96 characters and if they're all valid, or what's missing.

  4. Check with DIAN

    Open the official lookup and paste the code and the issuer's or recipient's NIT.

We answer your questions

Frequently asked questions

How many characters does a CUFE have?

96 hexadecimal characters: numbers from 0 to 9 and letters from a to f. It's the output of the SHA-384 algorithm, which produces 384 bits.

Does this tool confirm that the invoice exists at DIAN?

No. It checks the code's format in your browser. To confirm that the invoice exists and what its status is, look it up in DIAN's e-invoice catalog; the Check with DIAN button takes you there.

What's the difference between the CUFE and the CUDE?

The CUFE identifies an electronic sales invoice. The CUDE identifies other electronic documents, such as credit and debit notes and equivalent documents, including the electronic POS receipt.

Why does DIAN ask me for a NIT to look up a CUFE?

Since July 28, 2026, the Buscar documento option in the e-invoice catalog asks for the issuer's or recipient's ID number as a security check. If you want to download the document, it asks for it again.

What do I do if DIAN can't find the invoice?

Make sure you copied the full code and the correct NIT. If the format is valid and DIAN can't find it, ask the issuer to confirm the invoice's status, and don't record it as a cost until it's cleared up.

Why does my CUFE have 97 characters?

Almost always because of a space, a line break or a stray character picked up while copying. This tool removes spaces automatically; if there's still an extra character, check the start and end of the code.

Can a CUFE have uppercase letters?

For the format it doesn't matter: in hexadecimal, A and a are worth the same, so the tool accepts both. In the DIAN lookup, paste the code exactly as it appears on the invoice.

Can I paste the DIAN link instead of the code?

Yes. If you paste a lookup link that includes the documentkey parameter, the tool extracts the code and checks only that part.

Is the CUFE sent to any server?

No. The format check happens in your browser. The code only leaves your device if you paste it on the DIAN page yourself.

Meet Tiendana

More than software: simplicity and growth for your business in one place.