# Delivering goods with a daily delivery run

Section: Selling. Address: https://vende.id/docs/jualan/daftar-antar-harian?lang=en

Arrange one driver's shops for a day, print the run with delivery notes, then record results and the money the driver took on the phone.

A delivery run is one day of deliveries for one driver or vehicle: the shops in route order, their goods and quantities, the empties to take back, and the unpaid notes to collect. When the run is printed, Vende makes each shop's delivery note and the stock leaves the warehouse. From then on the goods are the driver's.

This is an extra feature. If its menu is missing, contact the Vende team to switch it on.

A delivery run takes the notes sent in several deliveries and the sales orders whose goods have not been sent. See [Sending goods in several deliveries with delivery notes](https://vende.id/docs/jualan/surat-jalan?lang=en).

## Who does what

- **Cashier**, **Head Cashier** and **Warehouse Admin** make, arrange and print delivery runs, and record the results from the paper the driver brings back.
- **Driver** opens their delivery runs on the phone and records each stop's result. The Driver job title opens that screen only. A cashier who delivers can open it too.

A driver who only takes the paper needs no account.

## 1. Make a delivery run

1. Open **Transactions → Delivery Runs**, then press **Make Delivery Run**.
2. Pick **Sales notes** or **Sales orders** above the table. It lists the notes and orders of this branch whose goods wait to be sent and are on no other delivery run.
3. Filter if needed, for example by **Sales route** or **Address contains** for one area.
4. Tick the shops to deliver to, then pick **Make Delivery Run** in the bulk actions.
5. Fill in **Delivery date**, **From warehouse**, **Driver on the phone** (leave it empty when the driver only takes the paper), **Driver name** and **Vehicle**, then save.

The delivery run's page opens. To add other orders or notes, press **Add stops**.

## 2. Put the shops in order

In the **Stops** table, press the up and down arrows button (**Reorder records**), then drag the shops into their route order. On a phone, open the stop's row menu, then press **Up** or **Down**. **Take off** takes a stop off the run while it is not printed.

Each stop shows the address, phone number, goods and quantities, and the unpaid notes. While the Gallon exchange feature is on, it also shows the empties to take back and the gallons the customer still borrows. The number of empties follows the **Empty gallons swapped** field of the note, shared out over the goods that stop carries. A sales order takes back one empty for each full gallon.

## 3. Print and make the delivery notes

1. Press **Print & make delivery notes**, then **Print**.
2. Vende makes each shop's delivery note, with all the goods its note or order still waits for, from the chosen warehouse. The stock leaves then.
3. The delivery run PDF opens in a new tab. It holds the load of the whole vehicle, then each stop with boxes for Delivered, Partly and Failed, and for how the customer paid (Cash, Transfer, On credit).

Each shop's delivery note can be printed from its link in the table. Once printed, no stop can be added or taken off, but the order can still move. To print again, press **Print**. In the list of runs, the printer icon at the end of a row prints the run's sheet once it is no longer a draft, the same as the **Print** button on its page.

A run from a vehicle warehouse is loaded first with **Transactions → Fleet Loading & Settlement**. The **Fleet Run** button on the delivery run's page opens that vehicle's fleet run of the day. See [Fleet loading and settlement](https://vende.id/docs/jualan/muat-dan-setor-armada?lang=en).

## 4. The driver records the results on the phone

1. The driver opens **Transactions → Today's Deliveries** on the phone.
2. Each stop has **Map**, **Call** and **WhatsApp** buttons.
3. Press **Delivered** when all goods were received.
4. Press **Partly** when only some were received, then fill in what was received of each product.
5. Press **Failed** when nothing was received, then pick the reason. The reason Other needs a note.

This screen needs a signal. If a result is not sent, try again once the signal is back. The office can also record results from the paper in the **Stops** table.

The delivery run is done once every stop has its result.

## What changes in stock and receivables

- **Delivered**: the delivery note stays as printed.
- **Partly**: the delivery note carries only what was received. The rest goes back into the warehouse stock and waits for the next delivery run.
- **Failed**: the delivery note is taken back and all its goods go back into the warehouse stock.

Example: Toko Maju Jaya ordered 40 gallons but received only 25. Its delivery note becomes 25 gallons, and 15 gallons go back to the warehouse and wait to be delivered again.

A note sent in several deliveries is still billed in full, because the customer is still owed the goods that wait. If the customer cancels the rest, change the note. See [Correcting a wrong note](https://vende.id/docs/jualan/memperbaiki-nota?lang=en). An order is billed for what its delivery notes carry, with **Make Note from Delivery Notes**.

While Gallon exchange is on, the empties swapped on a note go into stock with its delivery note, for the goods the shop really took. Delivered takes all its empties back, Partly takes part of them (in proportion to the goods, rounded), and Failed takes none. The gallons the customer borrows follow the goods taken too. The rest of the empties are taken back when the goods are delivered again. See [A note whose goods are sent later](https://vende.id/docs/jualan/tukar-galon?lang=en#a-note-whose-goods-are-sent-later).

A result may be recorded again towards fewer goods, not the other way. Goods that came back are delivered again on a new delivery run.

## Money from the customer

The paper delivery run has boxes for **Cash**, **Transfer** and **On credit (not paid)** at every shop, with room to write the amount. The driver ticks how the customer paid and writes the amount received. The **Collect** column shows that shop's unpaid notes so the driver knows how much to ask for. Notes a collector is working on in a collection run, or already paid to a collector with the deposit not yet received by the office, are left out, so the customer is not asked to pay twice.

Recording the payment in Vende is **optional**. A delivery result never waits for a payment, and the paper can be used on its own.

### From the driver's phone

This needs **Collections**, a note to collect (not a sales order that is not billed yet), and **Driver on the phone** filled in on the run.

1. When you press **Delivered** or **Partly**, a **Money from the customer** block shows three big buttons: **Cash**, **Transfer** and **Not paid**. Nothing is picked at first, and you may skip it.
2. Press **Cash** or **Transfer** if the customer paid: **Amount received** is filled with what the note still owes and can be changed (empty on **Partly**, because only part of the goods arrived: fill it in yourself). If you clear the amount, the delivery result is saved anyway and the screen tells you the money was not recorded. **Not paid** records no money; the note stays a receivable of that shop.
3. If you had no time, press **Record payment** on that shop once the result is recorded (only Cash and Transfer there; if the office already recorded another method such as QRIS, picking no button keeps it). The amount can be changed until the office receives the money.
4. If the amount is refused, for example larger than what the note still owes, the delivery result is saved anyway and the reason shows on the screen.

### From the paper, at the office

In the **Stops** table, open the shop's row menu and press **Record payment**. Fill in the amount and method from the paper. **Delete payment** removes it while the office has not received it. The **Paid to driver** column shows the amount, the method and whether the office has received the money.

### The money is booked when the office receives it

A driver's payment note books nothing. Vende makes one **Collection List** for that delivery run in the driver's name, and the money waits as a collector's deposit. The office receives it in **Transactions → Finance → Collector Deposits** like any collector's money: pick the driver, then count the cash received. That is when the sale payment is made and the note's balance goes down. See [Collecting with collectors](https://vende.id/docs/pelanggan/penagihan-kolektor?lang=en).

Failed on a shop that has a payment recorded deletes that payment, as long as the office has not received the money.
