Skip to main content
Katuq

cufe dian

DIAN CUFE lookup: how to verify your e-invoice

The Unique Electronic Invoice Code explained in plain language, with the exact steps to verify any invoice with the DIAN.

CUFE stands for Código Único de Factura Electrónica (Unique Electronic Invoice Code): it identifies each electronic sales invoice in Colombia. The DIAN lets you use this code to look up the document and its validation status. You'll find it in the PDF, next to the QR code, or in the XML; you can paste it into catalogo-vpfe.dian.gov.co or scan the QR code to run the lookup.

✓ Free plan with 15 orders a month · ✓ No credit card · ✓ Support over WhatsApp

Everything you need to sell, invoice and grow

Unique identifier

Every e-invoice has a one-of-a-kind CUFE.

Validity

It lets you verify that the invoice was validated by the DIAN.

Public lookup

Anyone can verify a CUFE on the DIAN portal.

In PDF and XML

It appears in the graphic representation and as a QR code.

Tamper protection

Any change to the data produces a different CUFE.

Free validator

Check a CUFE with our tool, no sign-up.

Look up your CUFE now (3 steps)

  1. Find the CUFE: it's in the invoice PDF, below or next to the QR code, and in the cbc:UUID tag of the XML. It's 96 characters long.
  2. Open the DIAN's official lookup: catalogo-vpfe.dian.gov.co and paste the code. You can also scan the invoice's QR code, which leads to the same lookup.
  3. Check the result: the DIAN shows the document, the issuer, the amount and its validation status.

If you'd like to first check that the code is complete and correctly written, use our free CUFE validator, no sign-up.

What is the CUFE?

The CUFE (Código Único de Factura Electrónica, or Unique Electronic Invoice Code) is an alphanumeric digital fingerprint that identifies each electronic sales invoice in Colombia. It guarantees that the document is unique and that it wasn't altered after validation.

How is the CUFE generated?

It's calculated with the SHA-384 algorithm over invoice data: number, date and time, amounts, taxes, the NIT of the issuer and the buyer, and the technical key, among others. The result is 96 characters. Any tiny change to that data produces a different CUFE.

How do you look up a CUFE with the DIAN?

  1. Go to catalogo-vpfe.dian.gov.co.
  2. Paste the CUFE shown on the invoice (PDF or XML).
  3. The system shows the document and its status.

You can also scan the QR code on the graphic representation, which leads to the same lookup.

Why does the CUFE matter?

  • Validity: an invoice that isn't validated can't be used to support costs or deduct VAT (IVA).
  • Traceability: the DIAN cross-checks information from issuers and buyers.
  • Trust: your customer can verify that the invoice is real.

What to do if an invoice doesn't show up at the DIAN

If you issued an invoice that was rejected, correct the data and issue a new one. If you received it from a supplier and it doesn't show up, ask them to review it before you record it in your accounting.

CUFE and invoicing in Katuq

With Katuq's e-invoicing, each invoice is sent to the DIAN from the order, and the CUFE and QR code appear on the graphic representation your customer receives.

Where the CUFE is on an invoice

You'll find it in three places, and it's best to copy it from the one that allows the fewest errors:

  • In the invoice XML: the most reliable source, because it copies without reading errors. Look for it as UUID or CUFE.
  • In the QR code on the graphic representation (the PDF): scanning it with your phone opens the document lookup.
  • Printed on the PDF, usually at the bottom or next to the invoice number. It's a long string of letters and numbers; when copying it by hand it's easy to mix up characters.

CUFE, CUDE, CUDS and CUNE: which one goes with each document

CodeDocument
CUFEElectronic sales invoice.
CUDEOther electronic documents, such as credit and debit notes and the electronic equivalent document (for example, the electronic POS ticket).
CUDSSupport document for purchases from parties not required to invoice.
CUNEElectronic payroll payment support document.

All of them are looked up in the same DIAN document search. If you have a code and don't know which document it belongs to, search it anyway: the lookup shows the document type.

What the DIAN lookup shows

When you search the code in the DIAN electronic document lookup you'll see, depending on the case, the issuer and the recipient, the date, the amount and the document's validation status. Invoices also show the events recorded by the buyer, such as acknowledgment of receipt, receipt of the goods or service, and acceptance or claim. Those events matter when the invoice is used as a negotiable instrument.

Common mistakes when looking up a CUFE

  • Copying the invoice number instead of the CUFE. The number (for example, FE-1234) doesn't work for the lookup: you need the long code.
  • Spaces or line breaks when copying from the PDF. Paste the code into a text editor and check that it stays on a single line.
  • Looking it up too soon. If the issuer just sent the invoice, wait a moment and try again.
  • Invoice issued in contingency mode: when the issuer couldn't transmit on time, the document appears after it's sent to the DIAN.

If it still doesn't show up, ask the issuer for the XML and the DIAN validation response. An invoice that wasn't validated has no effect as an e-invoice.

If you receive invoices from suppliers

Verifying the CUFE before paying or booking the expense keeps you from recording documents the DIAN didn't validate. If you receive many invoices, review them with your accountant or in your accounting software, which usually includes e-invoice reception. For a single invoice, use the CUFE validator or the DIAN lookup.

If you issue invoices

The CUFE is generated by your invoicing software from the invoice data; it isn't typed by hand. What does depend on you is choosing e-invoicing software that validates each document with the DIAN and lets you find each invoice's XML, PDF and status later. See how to choose e-invoicing software and how much e-invoicing costs.

Frequently asked questions

No. The CUFE identifies electronic sales invoices. The CUDE identifies other electronic documents, such as notes, equivalent documents, support documents and electronic payroll.

96 hexadecimal characters, generated with the SHA-384 algorithm.

In practice, no: it's generated by the invoicing software with your resolution's technical key.

It's in the invoice XML and PDF; your invoicing software also keeps it.

No. It identifies the invoice permanently.

Copy the full CUFE from the invoice XML or PDF, go to the DIAN electronic document lookup (catalogo-vpfe.dian.gov.co), paste it into the search box, complete the verification and search. You'll see the issuer, the recipient, the date, the amount and the document's status.

In the invoice XML, in the QR code on the graphic representation and, usually, printed on the PDF next to the invoice number. The XML is the most reliable source for copying it without errors.

The CUDS identifies the support document for purchases from parties not required to invoice, and the CUNE identifies the electronic payroll document. They're looked up in the same DIAN document search as the CUFE.

No. The DIAN's public lookup asks for the document's unique code (CUFE or CUDE). The invoice number helps identify it with the issuer, but not for the lookup.

Start with 15 free orders

No credit card and no lock-in. Guided implementation by our team and support over WhatsApp.

  • DIAN e-invoicing included
  • Support over WhatsApp
  • Unlimited warehouses