Selling flow setup

Docs › Setup guides

ERPNext Selling Setup

ERPNext selling setup, step by step: customers, price lists, pricing rules, credit limits, print formats and the quotation to sales invoice and payment flow.

5 min read · Updated November 2026 · By Vivek Choudhary

This guide covers the ERPNext selling setup and then walks one order through the full cycle: Quotation, Sales Order, Delivery Note, Sales Invoice and Payment Entry. Once this works for one customer, it works for all of them.

Menu paths follow the current ERPNext manual. The Selling workspace looks slightly different in v15 and v16. You can always reach any document by typing its name in the awesome bar.

Before you start

  • Company, accounts and GST are set up. See the accounts guide and GST guide.
  • Items, warehouses and opening stock are in. See the items and stock guide.
  • A clean customer list with GSTIN, billing and shipping address, contact person, and payment terms.
  • Your price lists (for example retail, wholesale, distributor) and standing discounts.
  • Your logo and invoice layout requirements.

Step 1: Selling Settings

Open Selling › Settings › Selling Settings. Set these first, because they affect every later step:

  • Customer Naming By: Customer Name, Naming Series or Auto Name.
  • Default Customer Group and Default Territory.
  • Default Price List (usually Standard Selling).
  • Whether a Sales Order is required before a Sales Invoice or Delivery Note, and whether a Delivery Note is required before a Sales Invoice.
  • Whether to keep the same rate through the sales cycle, and whether to block sales below purchase or valuation rate.

Exact labels vary a little by version. Create Customer Groups, Territories and Price Lists before you pick them here.

Step 2: Customer master

  1. Create Customer Groups (for example Retail, Dealer, Corporate) and Territories (states or regions).
  2. Create each Customer: name, customer type, group, territory, GSTIN and GST category.
  3. Add a billing and shipping Address with the correct state, and a Contact.
  4. Set a default price list and Payment Terms Template on the customer if they differ from the defaults.

For many customers, use Data Import. Import addresses and contacts separately, linked to the customer.

Step 3: Price lists and item prices

  1. Search for Price List. Create one per pricing level and tick Selling.
  2. Add rates through Item Price: item, price list, rate, and optional valid dates.
  3. Link the price list to a customer or customer group so it is picked automatically.

Step 4: Pricing rules

Go to Selling › Items and Pricing › Pricing Rule.

  • Apply On: Item Code, Item Group, Brand or the whole transaction.
  • Tick Selling, then set Applicable For (Customer, Customer Group, Territory) if the rule is for some customers only.
  • Set Min Qty and Max Qty for quantity breaks, and Valid From and Valid Up To for schemes.
  • Choose Price (rate, discount percentage or amount) or Product (free item).
  • Use Priority when more than one rule can match.

For tiered schemes, use a Promotional Scheme, which creates several pricing rules for you.

Step 5: Credit limits

  1. Open the customer, go to the Accounting tab and add a row in Credit Limit (labelled Credit & Overdue Limits in newer versions): company and amount.
  2. Optionally tick Bypass credit limit check at sales order to check only at invoice.
  3. You can also set a limit on the Customer Group. The customer's own limit wins.
  4. In Accounts Settings, choose the role allowed to approve transactions over the limit. It is called Credit Controller in older versions and Credit Manager in newer docs.

Step 6: Letter head and print format

  1. Search for Letter Head, create one based on an image (your logo) or HTML, and tick Default Letter Head.
  2. Open a Sales Invoice, click Print, and try the available print formats. India Compliance adds a GST tax invoice format.
  3. For changes, copy a format in the Print Format Builder rather than editing the standard one. Set your choice as the default.
  4. Add bank details and terms through Terms and Conditions templates.

Step 7: Walk through one order

Quotation

  1. Create a Quotation: select the customer (or a lead), add items. Rates come from the price list and pricing rules.
  2. Check the Sales Taxes and Charges Template is right (intra-state or inter-state) and set Valid Till.
  3. Submit and send it from the email button.

Sales Order

  1. From the submitted Quotation, click Create › Sales Order. Customer, items, rates, taxes and terms carry over.
  2. Set the Delivery Date and the source warehouse, then submit.

Delivery Note

  1. From the Sales Order, click Create › Delivery Note.
  2. Confirm quantities and warehouse; pick batches or serials if needed. Generate an e-Way Bill here if required.
  3. Submit. Stock goes down now.

Sales Invoice

  1. From the Delivery Note (or Sales Order), click Create › Sales Invoice.
  2. Check taxes, due date and payment terms. Submit. Income, tax and the customer receivable are posted, and the e-Invoice is generated if enabled.

Payment Entry

  1. When money arrives, open the invoice and click Create › Payment.
  2. Set the mode of payment, bank account, amount and reference number and date. Check the invoice is allocated in the references table, then submit.

Simple counter sales can skip steps. A Sales Invoice with Update Stock ticked does billing and stock in one document, if your Selling Settings allow it.

Check your work

  • Sales Order list: the test order should show Completed, with 100% delivered and billed.
  • Accounts Receivable: the invoice should appear, then clear after payment.
  • General Ledger filtered on the invoice: income, GST and debtors posted correctly.
  • Stock Ledger: the delivery reduced stock in the right warehouse.
  • Sales Analytics and Gross Profit reports show the sale.

Common mistakes

  • Typing rates by hand on every order instead of using price lists and pricing rules.
  • Missing state on customer addresses, giving the wrong GST template.
  • Making a fresh invoice instead of creating it from the Delivery Note, so the order never shows as billed.
  • Recording receipts as Journal Entries without linking the invoice, which leaves it outstanding.
  • Editing the standard print format directly; updates can overwrite it.
  • Giving everyone the credit approval role, which makes the limit useless.

More in the Selling module overview. The purchase side is in the buying flow guide.

Sources

Written from the official documentation and source code below. Menus and fields can differ between versions, so check the docs for your version.

Planning ERPNext or a Frappe app for your business? See our ERPNext implementation and Frappe development services, or talk to us.
ERPWork app icon
ERPWork: ERPNext on your phoneFree Android app for your ERPNext site: check in with location, approve documents, see sales and stock dashboards and get notifications.

Get it on Google PlayLearn more →