Deliver and bill a sales order in parts ​

You do not have to deliver or bill a Sales Order in one go. Create as many Delivery Notes and Sales Invoices from it as you need. ERPNext tracks the remaining quantity of each row and updates % Delivered and % Amount Billed on the order.

Prerequisites ​

  • A submitted Sales Order with an open quantity.
  • Stock in the source warehouse for the Items you ship now.
  • Permission to create and submit Delivery Notes and Sales Invoices.

Deliver part of the order ​

  1. Open the submitted Sales Order and select Create > Delivery Note. ERPNext fills the Delivery Note with the quantities still to deliver.
  2. Delete the rows that are not in this shipment.
  3. Reduce the Qty of rows that ship only in part.
  4. Check the warehouse, the posting date, and the shipping address.
  5. Save, then select Submit.

Repeat for each shipment. Do not reduce the quantity on the Sales Order to record a partial shipment. The order shows what the customer ordered. The Delivery Note shows what left this time.

Example: an order has 10 phones, 6 docks, and 4 headphones. The first shipment holds 4 phones and 2 docks. In the Delivery Note, delete the headphone row, and set the phone and dock quantities to 4 and 2.

Bill part of the order ​

  1. Open the submitted Sales Order and select Create > Sales Invoice.
  2. Delete the rows that you do not bill now, and reduce the quantities to bill.
  3. Check the taxes and payment terms.
  4. Save, then select Submit.

If you use Delivery Notes, create the invoice from the Delivery Note instead. The invoice then bills exactly what was delivered. Do not bill the same quantity from both the order and the Delivery Note.

An invoice created from the Sales Order does not change stock, unless you select Update Stock on it.

Bill services by milestone ​

For a service engagement, use one row with quantity 1 on the Sales Order. Then bill decimal quantities: for example 0.25 at the first milestone, 0.35 at the second, and 0.40 at the end. The order shows the billed percentage of the whole engagement.

For this method:

  • Use a service Item with Maintain Stock cleared.
  • Use a unit of measure without Must be Whole Number.
  • Agree with the customer what each fraction stands for.

If the schedule depends only on dates, use a payment terms template instead.

Check what is done ​

The Connections tab of the Sales Order lists its Delivery Notes, Sales Invoices, Pick Lists, and purchase documents. A sales return also appears as a Delivery Note with Is Return selected.

IndicatorMeaning
% DeliveredNet quantity delivered by submitted Delivery Notes, after returns.
% Amount BilledAmount billed by submitted Sales Invoices.
To Deliver and BillDelivery and billing are both incomplete.
To DeliverBilling is complete, delivery is not.
To BillDelivery is complete, billing is not.
CompletedDelivery and billing are complete.

A sales return lowers the delivered quantity, so a completed order can return to To Deliver.

End the open balance ​

  • The customer wants less, and the order should show the new total: use Update Items and enter the new total quantity.
  • The customer wants nothing more, and the order should keep the original commitment: close the order.

Orders with drop-shipped rows ​

One Sales Order can have rows that you ship from your warehouse and rows that a supplier ships to the customer. Ship the warehouse rows with Delivery Notes. For the supplier rows, create a Purchase Order. See Drop ship an order.

Troubleshooting ​

ProblemCause and fix
The remaining quantity looks wrongCheck the submitted and cancelled Delivery Notes, returns, and invoices on the Connections tab.
You cannot reduce the orderThe new total is below what is delivered, billed, picked, or in production.
The order is not CompletedOne of % Delivered or % Amount Billed is below 100.
A drop-ship row appears in a Delivery NoteDelete it. Drop-ship rows do not go through your warehouse.