Courier company · Orders
Delivery code and location check
Make sure the shipment is handed to the right person at the right address; the one-time delivery code sent to the recipient, delivery without code, location checks at pickup and delivery, exceptions and reports.
There are two separate safeguards. Both are off by default; turn on the ones you want.
- Delivery code: When the courier picks up the package, a one-time code is sent to the recipient by SMS (and by e-mail if they have one). At delivery the courier gets the code from the recipient and enters it in the app. If the code is wrong, the delivery is not completed.
- Location check: When the courier taps Picked up or Delivered, the phone's location is compared with the address coordinates. If it is too far, the order is flagged or the step is rejected.
Turning on the delivery code
- Go to the Couriers page.
- Click Courier settings at the top.
- In the Delivery code section, turn on Require a delivery code on orders.
- Click Save.
From now on every new order requires a delivery code. You can change this per customer or for a single order (see below). Orders opened earlier do not change.
Customer-specific setting
You may want to always require a code for some customers and never for others.
- Open the customer from Customers.
- Choose one in the Delivery code field:
- Follow company setting: The choice in courier settings applies (default).
- Always require: Orders sent by this customer require a code.
- Do not require: Orders sent by this customer do not require a code.
- Click Save.
The setting looks at the order's sender customer.
Delivery code on an order
- Open the New order window (or edit the order).
- Choose from the Delivery code list at the bottom:
- Delivery code: company/customer setting: The customer and company settings apply.
- Require delivery code: This order requires a code.
- No delivery code: This order does not require a code.
- Save the order.
When ordering on the portal, the customer can tick Ask the recipient for a delivery code. Customers can only turn the code on; they cannot turn off a code you required.
How does the code work?
- When the courier first taps Picked up, the system creates a 6-digit code.
- The code goes only to the recipient: by SMS, and by e-mail if the recipient has an e-mail address. It is not shown to the sender, the courier or you.
- At delivery the courier asks the recipient for the code and types it in the app.
- If the code is correct, the delivery is completed. If not, the courier tries again.
- After 5 wrong entries in a row the code is locked. While locked, even the correct code is not accepted.
The courier can also resend the code from the app (at most 5 times). On a round trip the code is required at the outbound delivery; the return leg and the return-to-sender delivery do not require a code.
Delivery code card
On the detail page of an order that requires a code, the Delivery code card shows:
- Status: Will be sent at pickup, Sent to recipient, Locked, Verified or Delivery without code allowed.
- Times sent and the time of the last send.
- Wrong entries and attempts left.
Buttons on the card:
- Resend: A new code is sent to the recipient; the old code stops working and the attempts are reset. There must be at least 60 seconds between two sends. Only for a job that is with a courier and not yet delivered.
- Unlock: Unlocks a locked code. The code stays the same and the attempts are reset. Use it when the recipient knows the code but the courier mistyped it.
- Allow delivery without code: See below.
In the order list, orders that require a code have a small shield icon in the status column; it is red when locked.
Delivery without code
If the recipient did not get the SMS or has no phone, you can allow delivery without the code. The reason is always recorded.
To allow the courier:
- Open the order and click Allow delivery without code on the Delivery code card.
- Write a short explanation in Reason (required) (e.g. the recipient did not get the SMS, verified by phone).
- Click Save. The courier can now deliver without entering the code.
When you deliver from the panel yourself:
- Click Deliver on the order.
- A yellow warning appears in the window. Fill in Reason for delivery without code (required).
- Fill in Received by and click Save.
In bulk delivery, if any of the selected orders require a code, one reason is asked for and written to all of them.
Notification template
The code is sent with the Delivery code event under Settings › Notifications › Event templates.
- Find the Delivery code row in the table and open the SMS or e-mail channel.
- You can change the text. The text must contain {delivery_code}; if the English text is filled in, it must contain it too.
- Click Save.
Rules:
- SMS cannot be turned off; e-mail can.
- The code cannot be used in the e-mail subject.
- The code is masked in the delivery log and cannot be resent from the log. Use Resend for a new code.
- This event cannot be selected as a webhook.
Turning on the location check
- Open Couriers › Courier settings.
- In the Location check section choose a mode for At delivery and At pickup:
- Off: No check.
- Warn: The step is accepted; if the location is far, the order is flagged.
- Block: If the location is far, the courier cannot complete the step.
- Enter meters in Radius (50–5000, default 300).
- Click Save.
We recommend starting with Warn. Watch the list for a few days; if the address coordinates are right, switch to Block.
Address coordinates
The location check needs the latitude and longitude of the address. Addresses without coordinates are not checked (it shows Address has no coordinates).
- In the order window each party has Latitude and Longitude fields.
- In a map app, long-press the address and copy the coordinates (e.g. 41.0082, 28.9784).
- Paste them into Latitude; they are split into the two fields automatically.
- Enter both or leave both empty. If only one is filled in, the order cannot be saved.
Coordinates are entered on each order (the customer card has no coordinates). On the order detail, the pin next to the stop opens the coordinates on a map.
Location checks
The Location checks card on the order detail shows every pickup and delivery step:
- Result: Within radius, Outside radius, Low location accuracy, No courier location or Address has no coordinates.
- Distance and the radius at that moment.
- Accuracy: The phone's location precision (± meters). If the accuracy is worse than the radius, the result is "low accuracy".
- The source of the location: sent with the step, or the last known location.
- The Courier location link opens the location on a map.
Location exception
In Block mode, if the courier is at the address but the step is rejected (e.g. the address coordinates are wrong):
- Open the order and click Grant location exception on the Location checks card.
- Fill in Reason (required).
- Click Save. The courier retries the step; pickup and delivery steps of this order are now accepted.
The exception is valid for the whole order. Checks are still recorded and show "accepted by exception". No exception can be granted on a completed or cancelled order.
List and dashboard
- On the Orders page click More filters.
- From the Location check list choose Outside radius, Low location accuracy, No courier location, Address has no coordinates, or Problematic (all) for all of them.
- Problematic orders show a red or yellow location badge in the status column.
- Export to Excel uses the same filter; the file also has delivery code and location columns.
On the Dashboard, if any orders were delivered outside the radius in the selected period, the Deliveries outside radius card appears. Click it to open the list of these orders.
Having trouble?
- The recipient did not get the code: Check that the recipient's phone is correct. Click Resend. If it still does not arrive, use Allow delivery without code and write the reason.
- Resend gave an error: It may have been less than 60 seconds; wait a little. Even if the SMS could not be sent, the code is renewed; check the notification log.
- The code is locked: Talk to the recipient. If the code is right, Unlock; if unsure, Resend.
- I cannot deliver from the panel: The Reason for delivery without code was left empty on an order that requires a code.
- The courier is told "too far" but is at the address: The address coordinates may be wrong. Use Grant location exception, then edit the order and fix the coordinates.
- It always says "No courier location": Location permission is off on the courier's phone. Ask the courier to allow location in the app.
- No check is done at all: The mode is Off in courier settings, or the address has no coordinates.