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 ​

  1. Open the Sales Order list and select Add Sales Order. Or, on a submitted Quotation, select Create > Sales Order.
  2. Select the Customer and check the Company.
  3. Keep Order Type as Sales for a normal order. See Sales order types.
  4. Set the Delivery Date. Each Item row can have its own delivery date.
  5. Optional: set Set Source Warehouse to use one warehouse for all rows.
  6. Add the Items and quantities. Check the rate and the warehouse of each row.
  7. Check the taxes, addresses, payment terms, and terms and conditions.
  8. 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 ​

FieldWhat it does
Order TypeSales, Maintenance, or Shopping Cart.
Delivery DateThe promised date. Rows can have different dates.
Customer's Purchase OrderThe customer's order number, for matching documents.
Price List and CurrencyThe source of rates and the transaction currency.
Ignore Pricing RuleStops pricing rules from changing rates.
Scan BarcodeAdds an Item by its barcode. Scanning again increases the quantity.
Set Source WarehouseOne warehouse for all stock rows. A row's warehouse can override it.
Supplier delivers to Customer (row)Marks the row for drop shipping.
Reserve StockReserves available stock for the order when stock reservation is set up. See Stock reservation.
Shipping Address NameThe delivery address, if it differs from the billing address.
Incoterm and Named PlaceThe trade term. See Record Incoterms.
Apply Additional Discount OnWhether the order-level discount applies to Grand Total or Net Total.
Payment Terms TemplateCreates the payment schedule.
ProjectLinks 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.

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:

  1. Create a Print Heading named "Proforma Invoice", once.
  2. On the Sales Order, select it in Print Heading in the print settings section.
  3. 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 ​

StatusMeaning
DraftSaved, not submitted.
To Deliver and BillSubmitted. Delivery and billing are both pending.
To DeliverFully billed. Delivery is pending.
To BillFully delivered, or the order skips delivery. Billing is pending.
To PayA Payment Request for an advance is open.
CompletedFully delivered and billed.
On HoldPaused with Status > Hold.
ClosedClosed before full delivery or billing.
CancelledCancelled 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 ​

ProblemCause and fix
An Item has no rateThe Item has no price in this Price List and currency. Add an Item Price or enter the rate.
The address or contact is missingThe address or contact is not linked to this customer.
An option is missing from CreateThe 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 deliveryIt is not fully billed, or one row is not fully delivered. Check % Delivered and % Amount Billed.