The ERPNext sales cycle, from first enquiry to cash in the bank
How a sale moves through ERPNext v16: lead, opportunity, quotation, sales order, delivery, invoice and payment, plus returns, pricing rules and point of sale.
Published 17 November 20266 min read
Why the order of documents matters
ERPNext treats a sale as a chain of documents. Each one is created from the one before it, so the customer, items, prices and taxes carry forward without retyping. That chain is also your audit trail: from any invoice you can open the delivery, the order and the quotation it came from.
Companies that skip steps, for example by raising invoices directly with no sales order, lose the ability to see what was promised against what was delivered and billed. Use the full chain where it reflects how you work, and switch off only the steps you truly do not need.
The chain, step by step
In ERPNext v16 the standard sales flow has seven documents:
- 1.Lead: a person or company that showed interest, before you qualify them.
- 2.Opportunity: a qualified need with expected items and value, linked to the lead or an existing customer.
- 3.Quotation: your offer with prices, taxes and validity. Send it from the system so the customer's reply is tied to it.
- 4.Sales Order: the customer's confirmation. It reserves stock and sets the delivery date.
- 5.Delivery Note: the goods leave the warehouse. Stock and the cost of goods sold are posted here.
- 6.Sales Invoice: the receivable and the revenue are posted. Taxes such as VAT are calculated from the tax template.
- 7.Payment Entry: the money arrives and is matched to the invoice, so the customer's balance is always current.
Returns, discounts and point of sale
A return is not a new invoice. In ERPNext you create it from the original Delivery Note or Sales Invoice, so the credit note references what was sold, and stock and accounts reverse correctly.
Discounts belong in Pricing Rules rather than in edited prices on each document. A rule can apply by customer, customer group, item, item group or quantity, and the same rule then works on quotations, orders and invoices.
Retail outlets use the Point of Sale screen. Cashiers open a shift, sell from a fast screen that works with barcodes, and close the shift; the closing entry consolidates the day's sales into the accounts.
Reports to watch every week
Accounts Receivable shows who owes what and for how long. Sales Analytics shows trends by customer, item and territory. Gross Profit shows margin per invoice and per item, which is where pricing problems show up first.

