Practical guide
How to e-invoice directly from the order (DIAN)
By Katuq teamUpdated 6 min read
In many companies the invoice is made twice: the order is recorded in a system or a chat, and then someone retypes the same data into the invoicing software. Besides taking time, that double entry is the main source of errors in NIT, amounts and taxes. This guide explains how to issue the e-invoice from the order and what to have ready before you start.
1. What you need before you start
- An updated RUT with the electronic invoicer responsibility.
- Enablement in the DIAN e-invoicing service, stating the software you will use.
- A numbering range authorized by the DIAN for e-invoices.
- A digital signature certificate in the company's name (some providers handle it as part of the service).
- Products with their VAT (IVA) rate or the tax that applies.
2. Capture the customer data correctly in the order
If the customer needs an invoice in their name, collect in the order the ID document type and number, the legal business name, the email where they will receive the invoice and their tax responsibility if applicable. For sales to the final consumer, the generic data allowed by the regulation is used.
3. Issue the invoice from the order
- 1
Confirmed order
With products, quantities, prices, discounts and complete customer data.
- 2
Generation
The system builds the invoice with that data, calculates taxes and assigns the authorized sequential number.
- 3
DIAN validation
The invoice is sent to the DIAN for prior validation and receives its unique code (CUFE).
- 4
Delivery to the customer
The customer receives the graphic representation (PDF) and the XML file by email.
4. Returns and changes
A validated invoice can't be edited or voided. If the customer returns products or a later discount is applied, a credit note linked to the original invoice is issued. If an additional amount must be charged, a debit note is used.
5. Common mistakes
- NIT without the check digit, or a legal business name different from the one on the customer's RUT.
- Products with no VAT (IVA) rate set up, or with the wrong rate.
- Wrong customer email: the invoice is issued but the customer doesn't receive it.
- Invoicing before confirming payment or availability, which forces you to issue credit notes.
6. When to invoice
Set a clear rule for your company: for example, invoice when the order is confirmed with payment, or when it ships. What matters is that it's always the same moment and that it doesn't depend on someone remembering.
How it looks in Katuq
How an e-invoice is issued from the order.
1 / 5
The order already has everything
Customer, products, prices and taxes come from the order. Nothing to copy into another program.
Example · sample data
How Katuq solves it
Katuq includes unlimited DIAN e-invoicing: each business enables Katuq with the DIAN as its own software, with a digital certificate in the company's name that Katuq manages. The invoice is generated from the order, with the customer and product data already recorded, and the information can flow to Siigo, Alegra or World Office for accounting.
Frequently asked questions
- What is the CUFE on an e-invoice for?
- It's the e-invoice's unique code, generated from its data. With it, the invoice can be looked up on the DIAN portal.
- Can I edit an e-invoice that has already been sent?
- No. To correct amounts or record returns, a credit or debit note linked to the original invoice is issued.
- Do I need accounting software to invoice?
- Not necessarily. You can invoice from an enabled order management system and take the information to your accounting software for the books.