Create a sales order
A Sales Order records a customer's confirmed order: the Items, quantities, prices, delivery dates, and terms. When you submit it, the warehouse, purchasing, production, and billing teams all work from the same document. ERPNext tracks how much of the order is delivered and billed.
A Sales Order does not change stock or the ledger. The Delivery Note changes stock, and the Sales Invoice posts to the ledger.
Prerequisites
- A Customer and the Items.
- Item prices in a selling Price List, or permission to enter rates.
- A source Warehouse for stock Items.
- Taxes, payment terms, and shipping rules if your process uses them.
Create the sales order
- Open the Sales Order list and select Add Sales Order. Or, on a submitted Quotation, select Create > Sales Order.
- Select the Customer and check the Company.
- Keep Order Type as Sales for a normal order. See Sales order types.
- Set the Delivery Date. Each Item row can have its own delivery date.
- Optional: set Set Source Warehouse to use one warehouse for all rows.
- Add the Items and quantities. Check the rate and the warehouse of each row.
- Check the taxes, addresses, payment terms, and terms and conditions.
- Save, then select Submit.
The dot before each Item Code shows stock: green means in stock, red means out of stock. To see all fields of a row, select the pencil icon at the end of the row.
Key fields
| Field | What it does |
|---|---|
| Order Type | Sales, Maintenance, or Shopping Cart. |
| Delivery Date | The promised date. Rows can have different dates. |
| Customer's Purchase Order | The customer's order number, for matching documents. |
| Price List and Currency | The source of rates and the transaction currency. |
| Ignore Pricing Rule | Stops pricing rules from changing rates. |
| Scan Barcode | Adds an Item by its barcode. Scanning again increases the quantity. |
| Set Source Warehouse | One warehouse for all stock rows. A row's warehouse can override it. |
| Supplier delivers to Customer (row) | Marks the row for drop shipping. |
| Reserve Stock | Reserves available stock for the order when stock reservation is set up. See Stock reservation. |
| Shipping Address Name | The delivery address, if it differs from the billing address. |
| Incoterm and Named Place | The trade term. See Record Incoterms. |
| Apply Additional Discount On | Whether the order-level discount applies to Grand Total or Net Total. |
| Payment Terms Template | Creates the payment schedule. |
| Project | Links the order to a project. |
After you submit
The order's status becomes To Deliver and Bill. The Create menu then offers the next documents. Which ones appear depends on the order, its Items, and your permissions:
- Pick List and Delivery Note, to pick and ship the goods.
- Sales Invoice, to bill the customer.
- Payment Request and Payment, to collect money in advance.
- Material Request, Purchase Order, and Request for Raw Materials, for purchasing. See Request raw materials for a sales order.
- Work Order and Production Plan, for manufacturing.
- Project, for project work.
- Maintenance Schedule and Maintenance Visit, for a Maintenance order.
You can deliver and bill the order in several parts. See Deliver and bill a sales order in parts.
To change, hold, or end an order after you submit it:
- Update Items: change the quantity, rate, or delivery date. See Change a submitted sales order.
- Status > Hold: pause the order. Status > Resume continues it.
- Status > Close: stop the rest of the order. See Close sales orders.
- Cancel and Amend: replace the whole order with a corrected copy.
Print a proforma invoice
A proforma invoice is a preliminary bill that you send before delivery, for example to request an advance. ERPNext version 16 has no separate proforma document. Print the Sales Order with a proforma heading instead:
- Create a Print Heading named "Proforma Invoice", once.
- On the Sales Order, select it in Print Heading in the print settings section.
- Select Print, check the preview, and send or download the PDF.
The heading changes only the printed title. The document stays a Sales Order, with no ledger effect. To request the money, select Create > Payment Request.
ERPNext version 17 adds a separate Proforma Invoice document. See Issue a proforma invoice from a sales order.
Sales order status
| Status | Meaning |
|---|---|
| Draft | Saved, not submitted. |
| To Deliver and Bill | Submitted. Delivery and billing are both pending. |
| To Deliver | Fully billed. Delivery is pending. |
| To Bill | Fully delivered, or the order skips delivery. Billing is pending. |
| To Pay | A Payment Request for an advance is open. |
| Completed | Fully delivered and billed. |
| On Hold | Paused with Status > Hold. |
| Closed | Closed before full delivery or billing. |
| Cancelled | Cancelled after submission. |
The list shows Overdue for orders that are not delivered by their delivery date. Use the % Delivered and % Amount Billed columns to see progress.
Troubleshooting
| Problem | Cause and fix |
|---|---|
| An Item has no rate | The Item has no price in this Price List and currency. Add an Item Price or enter the rate. |
| The address or contact is missing | The address or contact is not linked to this customer. |
| An option is missing from Create | The option depends on the order status, the order type, the Items, and your role. For example, a fully delivered order has no Delivery Note option. |
| The order stays open after delivery | It is not fully billed, or one row is not fully delivered. Check % Delivered and % Amount Billed. |