26 - Driver portal and Driver app
Navigation: Index | previous: 25 - Admin marketing | next: 27 - Mobile app Last checked against the application: 25 Nov 2026
1. Who this guide is for
This guide is for the Driver and the Helper of a transport company (carrier or owner-operator) on Traincu. It covers two doors into the same work:
- the driver web portal at
/driver- a website that works in any browser on a computer or a phone; - the Traincu Driver app on the phone (screens D-01 to D-19). The phone app itself is built by the mobile team and is not part of this repository. This guide describes each app screen from the specification and from what the server accepts and refuses, so you can see what the phone sends and what answers come back.
Office people (dispatcher, fleet manager, finance, HR) do not use these pages. They add the driver, send the invitation and decide on claims, papers and leave. Their screens are in 09 - Dispatch and trips, 10 - Fleet and vehicles, 14 - HR and workforce and 15 - Payroll.
A Helper uses the same portal with fewer menus. A helper can look at trips, duty, leave, payslips, papers and notices. A helper cannot give expenses, see advances, change the vehicle or press the work buttons (status, loading, delivery, vehicle check). This guide says "driver" for both unless it says otherwise.
2. What you can do here (summary)
| Activity | Who | Screen(s) |
|---|---|---|
| Sign in to the portal with ID and password (or mobile and code) | Driver, Helper | DP-01 |
| Choose the language and sign in on the phone, pick the company | Driver, Helper | D-01, D-02 |
| See today's job, duty left, alerts, papers that run out | Driver, Helper | D-03, DP-02, DP-14 |
| Accept or decline a job the office gave you | Driver | D-04 |
| Read the job, the stops and the TGA document | Driver, Helper | D-05, DP-04 |
| Check the vehicle before the trip | Driver | D-06 |
| Open the route in Google Maps or Waze | Driver, Helper | D-07 |
| Press the next status (start, arrived, departed, delivered) | Driver | D-08 |
| Confirm that the goods are loaded | Driver | D-09 |
| Confirm delivery with code or signature, photos, condition | Driver | D-10 |
| Send an expense or a fuel fill with the receipt | Driver | D-11, DP-05 |
| Follow cash in hand and the advance statement | Driver | D-15, DP-06 |
| Report a problem or press SOS | Driver, Helper | D-12 |
| See duty hours, start and end a rest, check in to work | Driver, Helper | D-13, DP-07 |
| Send a renewed licence, card or other paper | Driver, Helper | D-14, DP-11 |
| See payslips and earnings | Driver, Helper | D-15, DP-09 |
| See finished trips | Driver, Helper | D-16, DP-03 |
| Chat with the dispatcher | - | D-17 (not available yet) |
| Upload what was done offline and see what is still waiting | Driver | D-18 |
| Change language, see the profile, save the emergency contact | Driver, Helper | D-19, DP-11 |
| Ask for leave | Driver, Helper | DP-08 |
| Ask for another vehicle or another helper | Driver | DP-10 |
| See fines, incidents and the driving score | Driver | DP-13 |
| Read notifications and office notices | Driver, Helper | DP-12 |
The screens that start with DP are the portal pages. They have their own code in the design of the portal. The screens that start with D are the Driver app screens of the Dev Pack.
3. Before you begin
- The office must have added you as a driver or helper. Your record (screen F-13 in the company workspace) must be linked to a login. The office does this with Invite to app or with the Driver portal access card on your staff profile. The login holds the role Driver portal. Without that link every page answers "This login is not linked to a driver or helper record." (403). See 14 - HR and workforce.
- The company must be an approved carrier or owner-operator (06 - Verification and documents). A truck, a trip and a job are given by the office (09 - Dispatch and trips).
- Your ID. You sign in with the staff code that is printed on your Traincu card (for example
DRV-1042) and your password. You choose the password yourself from the link in the invitation message. - Sign-in codes (OTP) are switched off by default. Staff of Traincu switch them on or off on the admin screen A-35 "Sign-in codes (OTP)". While they are off, the portal shows only the ID and Password form, and the app's code doors answer "codes are off". When they are on, the portal also offers Mobile number + 6-digit code. If your mobile number has no SMS gateway behind it, a code may not reach you: ask the office.
- Phone permissions. The app needs location (GPS), camera and notifications. On the web, the button Use my location asks the browser for your position. If you say no, the step is still recorded, only without a place.
- Rules that change what you see (they are set by the company or by Traincu, not by you):
- the company's trip-close rules (screen C-17) say what you must collect when you deliver: a receiver's code or a signature, and photos;
- the company setting "a trip may not start before the driver accepted it" is off by default;
- the TGA transport document must exist before you leave loaded when the platform has TGA switched on;
- the duty and rest limits come from the country pack. The Saudi figures are currently set to 5 hours continuous driving, a 30 minute break, 8 hours a day, 48 hours a week and 10 hours rest. These Saudi figures are a draft to be confirmed by the business.
4. Where to find it
Web portal. Open https://<your site>/driver. If you are not signed in, you are sent to /driver/login. After sign-in you land on the Dashboard. The left menu (the order is fixed) is:
| Menu item | Page | Helper sees it |
|---|---|---|
| Dashboard | /driver |
yes |
| My trips | /driver/trips |
yes |
| Expenses & claims | /driver/expenses |
no |
| Advance & settlement | /driver/advances |
no |
| Duty & attendance | /driver/duty |
yes |
| Leave | /driver/leave |
yes |
| Payslips | /driver/payslips |
yes |
| My vehicle | /driver/vehicle |
no |
| Fines & safety | /driver/safety |
no |
| Documents & profile | /driver/profile |
yes |
| Notifications & notices | /driver/notifications |
yes |
Small numbers beside Expenses & claims, Documents & profile and Notifications & notices tell you how many items need you (claims waiting or sent back, papers running out within 30 days, unread alerts). At the bottom of the menu are Help (not built yet - it only shows a short message) and Sign out.
The top bar has the Traincu logo, a search box ("Search trip no., date...") that searches My trips, one button for each of the other languages (AR, EN, BN), a theme menu (Light, Dark, Auto), the bell, and your name menu with Documents & profile, Payslips and Sign out.
Driver app. Download it with the link in the invitation message (an SMS with your name, the company name and the link; the exact store address is to be confirmed by the business). Sign in with the same staff code and password.
5. The big picture (flowchart)
flowchart TD o1(["Office adds the driver in F-13 and sends Invite to app"]) --> o2[["A login with the role Driver portal is made and linked to the driver"]] o2 --> w1["Web portal at /driver"] o2 --> a1["Driver app on the phone"] w1 --> w2["Trips, expenses, advances, duty, leave, payslips, papers"] w1 --> w3["The trip day on the web: check, status, loading, delivery"] a1 --> a2["D-01 and D-02: language, login, company"] a2 --> a3["D-03 to D-10: home, job, check, status, loading, delivery"] a3 --> a4["D-11 to D-19: expenses, problems, duty, papers, earnings, sync, settings"] a3 --> s1[["Server writes the trip, the shipment and the proof"]] w3 --> s1 s1 --> n1[/"Dispatcher, shipper and finance see every step"/] a4 --> n2[/"Office approves claims, papers and leave"/] w2 --> n2 n2 --> r1(["Driver is told by a notification"])
6. Activities, step by step
6.1 Sign in to the web portal (DP-01)
Purpose - open the portal with your own login. Who - Driver, Helper (a login that holds the role Driver portal and is linked to a driver or helper record). Guests only: a signed-in person is sent on to the dashboard.
Steps
- Open
/driver/login. The page title is Driver & helper portal and the first line is "See your trips, expenses, pay and papers from the browser of any computer or phone." If you have not chosen a language, the page opens in the platform's default language (normally Arabic). Use AR, EN or BN in the header to change it. - When sign-in codes are off (the default): type your ID (the staff code, for example
DRV-1042) and your Password, then press Sign in. The eye button shows or hides the password. Forgot password? opens the usual reset page. - When sign-in codes are on: type your Mobile number (the country code is shown in front; the example is the platform's own, for example
05X XXX XXXX) and press Send code. A 6-digit code is sent. On the next screen type the code, tick Trust this device for 30 days if you want, and press Sign in. Resend code asks for a new code once the short wait is over. A link Use another number starts again. Below the form, Sign in with your ID and password instead opens the ID and password form. - If your login needs a second step as well (a role set to ask for a code) and codes are on, the page shows the code step after the password.
- After a right sign-in you land on the Dashboard.
flowchart TD
s1(["Driver opens the page /driver/login"]) --> d1{"Sign-in codes switched on in A-35?"}
d1 -->|"No - the default"| a1["Type ID and password and press Sign in"]
d1 -->|"Yes"| a2["Type mobile number and press Send code"]
a2 --> sys1[["Server sends a 6-digit code - the page looks the same for any number"]]
sys1 --> a3["Type the code and press Sign in"]
a1 --> d2{"ID, password and account are right?"}
a3 --> d3{"Code is right and not expired?"}
d2 -->|"No"| e1["Red message with the tries left"]
d3 -->|"No"| e1
e1 --> d4{"Too many wrong tries?"}
d4 -->|"Yes"| e2(["Account locked for a time - ask the office to unlock it"])
d4 -->|"No"| s1
d2 -->|"Yes"| d5{"Login needs a code as well and codes are on?"}
d5 -->|"Yes"| sys1
d5 -->|"No"| ok1(["Portal opens on the Dashboard"])
d3 -->|"Yes"| ok1
Fields
| Field | What to enter | Rules |
|---|---|---|
| ID | your staff code, for example DRV-1042 |
Required. "The number on your Traincu card. The office can tell you what it is." The same code can exist in two companies; the password tells the two people apart. |
| Password | the password you chose | Required. |
| Mobile number | your mobile with no country code | Only when codes are on. A wrong shape: "Enter a valid mobile number, for example :example." |
| Code | the 6 digits | Valid 5 minutes. You may ask for a new one after about 45 seconds. At most 5 wrong checks. |
What happens next - the sign-in is written to your login history. A login that does not hold the portal permission is refused with the same words as a wrong password, so nobody can learn which IDs exist.
If something goes wrong
- "Wrong mobile/email or password." with how many attempts are left. After several wrong tries (5 by default) the account locks for a time (15 minutes by default): "Too many failed tries - the account is locked until HH:MM." It opens by itself, or an administrator can unlock it sooner.
- "This account is not active. Contact an administrator."
- "Sign-in codes are switched off. Use your password." - you tried the code way while codes are off.
- "Your sign-in timed out. Please sign in again." / "That code has expired. Please sign in again." / "Too many wrong codes. Please sign in again."
- "Cannot sign in? Ask the office to check your portal access." - the login may not be linked to your driver record, or the role is missing.
- "Not driving for a company yet?" with Register as a driver is the public page for people who have no company: they register, a company hires them, and this portal then opens for them.
6.2 Choose the language, sign in and pick the company on the phone (D-01, D-02)
Purpose - start the app. Who - Driver, Helper.
Steps
- The first thing the app does is ask the server for the language list and the app rules (no sign-in needed). If the app is older than the minimum version, the app shows its own update screen and does not sign anybody in.
- D-01 Language: choose one of five languages: Arabic, English, Urdu, Hindi, Bangla. Press Continue. The server has texts for Arabic, English and Bangla. If you choose Urdu or Hindi, the app is drawn in that language but the messages from the server come back in English until the business supplies the strings.
- D-02 Login: type your staff code and password. If sign-in codes are on, the app can also send a code to your Mobile number and ask for the One-time code (6 digits). Press Log in.
- The phone gets a sign-in token that lives 120 days. After that you sign in again. The phone also sends its notification token to the server.
- If you drive for more than one carrier, you pick the company on the home screen. If your carrier sent an invitation code, you can add the company by pasting the code. If a company shows as "not usable", you are a member there but the office has not linked you to a driver record yet.
flowchart TD
s1(["Driver opens the app"]) --> sys1[["App asks the server for languages and app rules - no token"]]
sys1 --> d1{"App version below the minimum?"}
d1 -->|"Yes"| e1(["App shows its own update screen and stops"])
d1 -->|"No"| a1["D-01: choose the language and press Continue"]
a1 --> a2["D-02: type staff code and password"]
a2 --> d2{"Right, active and not locked?"}
d2 -->|"No"| e2["Message - 401 wrong or 423 locked"]
e2 --> a2
d2 -->|"Yes"| d3{"Codes are on and this login needs a code?"}
d3 -->|"Yes"| a3["Type the code that was sent"]
a3 --> sys2
d3 -->|"No"| sys2[["Token made for this phone - valid 120 days"]]
sys2 --> sys3[["App sends the push notification token"]]
sys3 --> d4{"Drives for more than one carrier?"}
d4 -->|"Yes"| a4["Choose the company or paste an invitation code"]
d4 -->|"No"| h1(["Home screen D-03"])
a4 --> h1
Buttons and actions
| Button | What it does | Who sees it |
|---|---|---|
| Continue (D-01) | saves the language on the phone | everybody |
| Log in (D-02) | signs in and gets the token | everybody |
| Choose company | sends the company in the X-Organization header on every later call |
drivers of two carriers |
| Sign out | deletes this phone's token and notification token | signed-in |
If something goes wrong
- 401 with "Wrong mobile/email or password." or 423 when the account is locked. Several wrong tries in a minute answer 429 (wait).
- 422
otp_disabled- "Sign-in codes are switched off. Use your password." Show the password form only. - 403 "This login is not linked to a driver or helper record." - ask the office to link you.
- 403 "This login is not allowed to use the driver app." - the login does not hold the portal role.
- A token whose login was switched off or locked stops working at the next call (401); the app clears its token and shows the sign-in.
- Some roles may sign in on the web only or on the app only. "Your role can sign in from the mobile app only. Use the Traincu Driver app on your phone." is the message for the web side.
6.3 Home: today's job (D-03, DP-02, DP-14)
Purpose - one look at what you must do now. Who - Driver, Helper.
On the phone the home screen shows today's job (the shipment code and cargo), duty left, the next stop, alerts, papers that expire soon and one big action. The big action follows the trip status (the "next step"):
| Trip status | Big button says | Who can press it |
|---|---|---|
| Planned | "Waiting for the office to confirm the trip" (no button) | nobody |
| Assigned, no check yet | "Check the vehicle" (with the number of checks and minutes) | driver |
| Assigned, check waiting for the office | "Waiting for the office to review the vehicle check" | nobody |
| Inspection done | "Start the trip" (needs the odometer) | driver |
| In transit | "Arrived at the loading point" (or "I have arrived" on an empty trip) | driver |
| Loading | "Loading finished" | driver |
| In transit (loaded) | "Arrived - start unloading" | driver |
| Unloading | "Delivered" (needs the end odometer) | driver |
| Delivered, no proof yet | "Take the proof of delivery" | driver |
| Delivered with proof | "Waiting for the office to complete the trip" | nobody |
| On hold | "The trip is on hold" and the reason | driver may check the vehicle again |
| Cancelled | "This trip was cancelled" | nobody |
On the web the Dashboard shows four tiles (Trips this month, Duty hours, Cash in hand and Pending claims for a driver; Present and Estimated pay for a helper), the card Today's trip (or Next trip) with the status rail and the four work buttons (Vehicle check, Update status, Loading proof, Delivery proof), the list To do (papers to renew, claims sent back, new trips), and for drivers the chart Last 6 months and the table This month's money (an estimate until the salary sheet is made, with a link See payslips). A helper sees a note that the helper portal has fewer menus.
6.4 Accept or decline a job (D-04)
Purpose - answer the job the office gave you. Who - the Driver of the trip (a helper's list is empty). Only on the app: the web portal has no accept screen.
Steps
- Open Assignments. It lists the jobs that wait for your answer, soonest first (at most 50): trip code, lane such as "Riyadh -> Jeddah", truck, planned start and the job card (shipper name unless hidden, cargo, stops with contacts, pickup and delivery times).
- Read the job. You never see the price, the VAT, the contract or the award note.
- Press Accept, or press Decline and type a reason (3 to 255 characters).
flowchart TD
s1(["Office gives a truck and driver to a job"]) --> sys1[["Job appears in Assignments and waits for your answer"]]
sys1 --> a1["Driver reads pickup, drop, cargo and time"]
a1 --> d1{"Can the driver take it?"}
d1 -->|"Yes"| a2["Press Accept"]
d1 -->|"No"| a3["Press Decline and write a reason"]
a2 --> sys2[["Answer saved as accepted"]]
sys2 --> o1[/"Dispatcher sees that the driver accepted"/]
a3 --> d2{"Truck already at the pickup or job cancelled?"}
d2 -->|"Yes"| e1["Refused - cannot be declined any more"]
d2 -->|"No"| sys3[["Truck comes off the job and the job waits for another truck"]]
sys3 --> o2[/"Dispatchers get an alert with the driver's own words"/]
What happens next - A decline, in one step: the reason is saved, the truck and driver come off the job, the shipment goes back to "awarded" and waits for another truck, the work order is cancelled while the flow still allows it, and the carrier's dispatchers get an alert. The next list is empty for that job. A resent answer (same request id) gives the first answer and does nothing twice. If your company switched on "a trip may not start before the driver accepted", Start the trip stays closed until you accept.
If something goes wrong
- 404 - the trip is not yours (the same answer as a trip that does not exist).
- 403 "Only the driver of this trip can do this." - you are the helper.
- 422 "this trip is the company's own work: there is no marketplace job on it", "the truck has already reached the pickup: the assignment can no longer be declined", "this shipment was cancelled", or a missing reason.
- 409 - the same tap arrived twice at the same moment; the app tries again.
6.5 Check the vehicle before the trip (D-06)
Purpose - answer the company's checklist for your truck. Who - the Driver of the trip (a helper only reads the result). On the app and on the web (Vehicle check, /driver/trips/{trip}/inspection).
Steps
- Open the trip and press Vehicle check. The page shows the number of checks. The checks are the company's checklist for the type of this truck, in groups: Engine and fluids, Tyres and brakes, Lights, Body and safety, Papers, Other checks. The Dev Pack shows Tyres, Lights, Brakes, Straps and curtains and Photo as examples.
- Type the Odometer (km) if you know it.
- Answer every check: OK or Problem. Mark everything OK sets all of them at once.
- For a Problem, choose How serious (minor or major), write a Note (up to 255 characters) and add a Photo (JPG, PNG or WEBP, up to 5 MB; the phone camera opens directly).
- Press Save the check.
flowchart TD
s1(["Trip is Assigned and the truck is known"]) --> a1["Open Vehicle check"]
a1 --> a2["Answer every check with OK or Problem"]
a2 --> d1{"Any Problem?"}
d1 -->|"Yes"| a3["Choose Minor or Major, add a note and a photo"]
d1 -->|"No"| a4["Press Save the check"]
a3 --> a4
a4 --> d2{"All checks answered once?"}
d2 -->|"No"| e1["Message lists what is still missing"]
e1 --> a2
d2 -->|"Yes"| sys1[["Check saved - every problem becomes a defect for the workshop"]]
sys1 --> d3{"Any Major problem?"}
d3 -->|"Yes"| sys2[["Check is Failed and the trip is put on hold"]]
d3 -->|"No"| sys3[["Check waits as Pending for the office"]]
sys3 --> o1[/"Office approves the check"/]
o1 --> sys4[["Trip becomes Inspection done - Start the trip opens"]]
sys2 --> o2[/"Workshop repairs the truck, then a new check is recorded"/]
o2 --> a1
What happens next - A clean check, or one with only minor problems, waits for the office to review it; there is no automatic approval. Only after the office approves does the trip become Inspection done. A major problem fails the check and holds the trip until the workshop clears the truck. Every problem raises a defect in the workshop. The same checklist also exists as a periodic check of your own truck from the phone (not tied to a trip).
If something goes wrong
- "Answer every check. Still missing: ..." - answer the listed checks.
- "Choose how serious it is: minor or major." - a problem needs a level.
- "Each check can be answered only once."
- "An inspection can only be recorded before the trip starts."
- "This trip has no vehicle yet." / "There is no checklist for this truck" - the office has to set it up.
- "This truck has a major problem that is still open" is shown with the list of open major defects.
- A photo larger than 5 MB or a wrong file type is refused with a message.
6.6 The trip day: status moves (D-05, D-07, D-08)
Purpose - move the trip forward and keep the shipper and the office informed. Who - the Driver of the trip. On the app one large button shows only the next step. On the web, Update status (/driver/trips/{trip}/status) shows the same.
This is the whole day of a driver, from the job to the end of the trip.
flowchart TD s1(["Office gives the job"]) --> a1["Accept the job in Assignments"] a1 --> a2["Vehicle check"] a2 --> o1[/"Office approves the check"/] o1 --> a3["Start the trip with the odometer"] a3 --> a4["Drive to the pickup - GPS goes up every 30 seconds"] a4 --> a5["Arrived at pickup"] a5 --> a6["Loading proof - photos, seal number, count"] a6 --> a7["Departed - loading finished"] a7 --> a8["Drive to the delivery - show the TGA document at road checks"] a8 --> a9["Arrived at delivery"] a9 --> a10["Delivery proof - code or signature, photos, condition"] a10 --> a11["Delivered with the end odometer"] a11 --> o2[/"Office completes the trip and finance invoices it"/] o2 --> a12["Send expenses and look at earnings"] a12 --> fin1(["Day is closed"]) a4 -.->|"when a break is due"| b1["Take a break or start rest in D-13"] b1 -.-> a4
The trip statuses
| Status | Meaning | Who moves it |
|---|---|---|
| Planned | the office planned the trip | office |
| Assigned | truck and driver given | office |
| Inspection done | the vehicle check was approved | office |
| In transit | the trip started and the truck drives to the pickup | driver (Start the trip, odometer needed) |
| Loading | the truck is at the pickup | driver (Arrived at pickup) |
| In transit (loaded) | the goods are loaded and the truck drives to the delivery | driver (Departed) |
| Unloading | the truck is at the delivery | driver (Arrived at delivery) |
| Delivered | goods handed over (an empty positioning trip says "Arrived") | driver (end odometer needed; the proof rule is asked) |
| Completed | the office closed the trip | office |
| Invoiced | finance billed the trip | finance |
| Cancelled | only before the trip started | office |
stateDiagram-v2 state "Planned" as planned state "Assigned" as assigned state "Inspection done" as inspection_done state "In transit" as in_transit state "Loading" as loading state "In transit loaded" as in_transit_loaded state "Unloading" as unloading state "Delivered" as delivered state "Completed" as completed state "Invoiced" as invoiced state "Cancelled" as cancelled [*] --> planned planned --> assigned: Office gives truck and driver assigned --> inspection_done: Office approves the vehicle check inspection_done --> in_transit: Driver starts the trip in_transit --> loading: Driver arrived at pickup loading --> in_transit_loaded: Driver departed in_transit_loaded --> unloading: Driver arrived at delivery unloading --> delivered: Driver delivered delivered --> completed: Office completes completed --> invoiced: Finance invoices planned --> cancelled: Office cancels assigned --> cancelled: Office cancels inspection_done --> cancelled: Office cancels
Buttons you see (phone and web)
| Moment | Phone button | Web button | Extra input |
|---|---|---|---|
| Inspection done | Start the trip | Start the trip | odometer (km) |
| In transit | Arrived at the loading point (empty trip: I have arrived) | Arrived at pickup | - |
| Loading | Loading finished | Departed (and the side button Loaded) | - |
| In transit (loaded) | Arrived - start unloading | Arrived at delivery | - |
| Unloading | Delivered | Delivered | end odometer (km) |
| While running | break buttons, Report delay | Report delay (choose a reason, optional note) | reason |
The delay reasons are: Traffic, Weather, Breakdown, Checkpoint or inspection, Waiting at loading, Waiting at unloading, Customs or port, Accident, Driver rest, Other (the list is to be confirmed by the business).
Every press carries your position (GPS on the phone, Use my location on the web) and the real time of the press. On the phone the same press can wait in the offline queue (see 6.14).
What the server checks before it moves the trip:
flowchart TD
a1["Driver presses the status button"] --> sys1[["Server checks that the trip is this driver's"]]
sys1 --> d1{"Trip on hold or shipment cancelled or on hold?"}
d1 -->|"Yes"| e1["Refused - one sentence is shown under the button"]
d1 -->|"No"| d2{"Does the flow allow this move now?"}
d2 -->|"No"| e1
d2 -->|"Yes"| d3{"Odometer given where needed and not lower than before?"}
d3 -->|"No"| e1
d3 -->|"Yes"| d4{"Starting the trip - is the vehicle check approved?"}
d4 -->|"No"| e1
d4 -->|"Yes"| d5{"Needed paper in place - TGA document to leave loaded, proof to deliver?"}
d5 -->|"No"| e1
d5 -->|"Yes"| sys2[["Trip moves - history, vehicle timeline and duty hours are updated"]]
sys2 --> sys3[["Shipment follows the trip"]]
sys3 --> o1[/"Shipper and dispatcher see the new status"/]
What happens next - The trip is the master: the shipment (the record the shipper reads) follows it. Loading -> "at pickup"; In transit (loaded) -> "in transit"; Unloading -> "at delivery"; Delivered -> "delivered". The shipper is told at the main steps (assigned, at pickup, in transit, at delivery, delivered). A move the shipment cannot follow is refused first, so the two never disagree. The same press done twice changes nothing the second time.
If something goes wrong (the sentence appears under the button; the phone gets it as a 422)
- "The trip can start only after the vehicle check is approved."
- "This trip is on hold: ..." with the reason (for example a major defect).
- "Enter the odometer reading." / "The odometer cannot be lower than the last reading of this vehicle (...)" / "The end odometer cannot be lower than the start odometer (...)".
- "Shipment SHP-... was cancelled. Call the office before you move the truck." / "Shipment SHP-... is on hold: ..."
- The transport document has not been issued (before leaving loaded) and the proof of delivery is missing (before Delivered). The same sentences are shown in advance in the job card so the button can be greyed out.
- "There is no step to give from here right now. The office takes the trip on from this point."
- A helper sees "Only the driver gives the trip status".
Reading the route (D-07). Navigation shows the stops with coordinates, the distance and the time, and two buttons: Open in Google Maps and Open in Waze (the phone's own map app takes over). If the platform cannot measure the road (maps switched off, down, or no road), the page still shows the stops and the distance agreed for the job. Rest areas and roads closed to trucks are not shown (the platform has no data for them). The web portal has no navigation page.
Reading the job (D-05). Trip detail shows the job card (cargo, weight, stops, contacts, windows, ETA) and the TGA document for road checks: number, status, issue date, plate, and a link to the PDF (the link lives one hour). The phone keeps both answers so they open without a network. On the web, Trip :code has the tabs Summary, Expenses, Delivery proof, Weighbridge slip and History, a Trip sheet PDF button and, for a driver, Add expense.
6.7 Confirm that the goods are loaded (D-09)
Purpose - make a record of the loading, with photos that carry time and place, as evidence if there is a dispute. Who - the Driver. On the phone and on the web (Loading proof, /driver/trips/{trip}/loading).
Steps
- Open Loading proof. If the page says the loading cannot be recorded, read the reason.
- Take up to 4 photos (each up to 8 MB; JPG, PNG or WEBP).
- Type the Seal number (optional, up to 60 characters), How many and Counted in (pallets, pieces, boxes, bags, drums, rolls or bundles) and a Note (optional, up to 1000).
- Allow the location (Use my location on the web).
- Press Confirm loaded.
flowchart TD
s1(["Truck is at the pickup place"]) --> a1["Open Loading proof"]
a1 --> d1{"Page says the loading can be recorded?"}
d1 -->|"No"| e1(["Reason shown - not started, past loading, cancelled or empty trip"])
d1 -->|"Yes"| a2["Take up to 4 photos, type seal number, count and note"]
a2 --> a3["Share the location and press Confirm loaded"]
a3 --> sys1[["Record saved once - a second press does not save twice"]]
sys1 --> sys2[["Server adds flags - no photo, no position, far from the stop - flags never refuse"]]
sys2 --> d2{"Trip still In transit to the pickup?"}
d2 -->|"Yes"| sys3[["Trip moves to Loading"]]
d2 -->|"No"| sys4[["Trip is left as it is"]]
sys3 --> sys5[["Shipment becomes Loaded"]]
sys4 --> sys5
What happens next - A record is never edited. A trip that is already past loading is not pulled back by a late upload. The Recorded loadings list shows each record with its flags: "No photo was taken", "No position was recorded", "Recorded away from the loading place" (more than 500 m from the stop's pin), "A photo was taken long before or after the loading was confirmed" (more than 30 minutes). Records from the web are marked From the web portal. The shipment moves from "at pickup" to "loaded".
If something goes wrong
- "This trip was cancelled." / "An empty positioning leg carries no cargo to load." / "The loading can be recorded once the trip has started." / "The trip is past loading; the loading can no longer be recorded."
- "Only the driver confirms the loading" - you are the helper.
- A photo that is not an image or larger than the limit is refused.
6.8 Confirm delivery with proof (D-10)
Purpose - prove that the goods were handed over, in the way the company's rule asks. Who - the Driver. On the phone and on the web (Delivery proof, /driver/trips/{trip}/delivery).
The page starts with one sentence that says what is required for this job, for example "Required: the receiver's one-time code or signature and at least one photo of the delivered goods." or "No proof of delivery is required for this job." The rule comes from the customer's rule, else the company's rule (screen C-17), else the platform's default (proof required, code or signature, no photo rule). For a marketplace job it is never weaker than the platform floor (proof required, code or signature, and at least one photo).
Steps
- Open Delivery proof. The card The receiver's code (when a code is asked for) shows where the code was sent (the last digits only), its state, and the tries left.
- Ask the receiver for the 6-digit code they received by SMS. Type it in The code the receiver read out, or press Check the code first (the page says "The code is right." or "The code is wrong. N tries left."). If the code did not arrive, press Send the code again (3 times an hour at most).
- Or let the receiver sign in The receiver signs here with a finger. Clear the signature starts again.
- Type Who received the goods (required), the Designation (optional), the Condition of the goods (Good, Damaged or Short), the Quantity received and Counted in. For Short the box How much is missing appears. For Damaged the box How much is damaged appears.
- Take up to 4 photos (Photos of the delivered goods), type a Note, and give the Odometer (km) if you can - "The reading that closes the trip." (it is optional on this page).
- Press Confirm delivery.
flowchart TD
s1(["Truck is at the delivery place"]) --> a1["Open Delivery proof"]
a1 --> sys1[["Page shows what the company rule asks for"]]
sys1 --> d1{"Proof of delivery required?"}
d1 -->|"Yes"| a2["Collect the receiver's code or signature as the rule says"]
d1 -->|"No"| a3["Take photos - at least one if the rule says so"]
a2 --> a3
a3 --> a4["Type who received, choose the condition, add quantity and note"]
a4 --> a5["Press Confirm delivery"]
a5 --> d2{"Does the proof satisfy the rule?"}
d2 -->|"No"| e1["A sentence names what is missing - nothing is saved"]
e1 --> a2
d2 -->|"Yes"| sys2[["Proof saved - it can never be edited, only corrected by a new record"]]
sys2 --> d3{"Typed code was wrong?"}
d3 -->|"Yes"| sys3[["Proof kept and marked for review by the office"]]
d3 -->|"No"| sys4[["Server moves the trip to Delivered when the rules allow"]]
sys3 --> sys4
sys4 --> d4{"Condition is Damaged or Short?"}
d4 -->|"Yes"| o1[/"A dispute opens for a marketplace job"/]
d4 -->|"No"| fin1(["Delivery is done"])
o1 --> fin1
The delivery code. The code is made when the shipment leaves loaded (shipment "in transit") and is sent by SMS to the contact of the last drop stop. A job of the company's own goods with no marketplace shipment has no code: take the signature ("No code was issued for this job. Take the receiver's signature instead.").
stateDiagram-v2 state "Waiting" as waiting state "Verified" as verified state "Locked" as locked state "Expired" as expired [*] --> waiting: Code sent to the receiver when the truck leaves loaded waiting --> verified: Right code typed waiting --> waiting: Wrong code and the tries left go down waiting --> locked: 5 wrong tries waiting --> expired: 48 hours pass verified --> verified: Same right code again is not counted
| Statuses of the code | Meaning | What you can do |
|---|---|---|
| Waiting | sent, not yet checked | type the code, Check the code, Send the code again |
| Verified | the receiver's code was right | confirm the delivery |
| Locked | 5 wrong tries | take the receiver's signature |
| Expired | older than 48 hours | take the receiver's signature |
What happens next - The proof is saved once for the job. If you press Confirm delivery again with the same request id nothing is saved twice; a second delivery for a trip that already has one is refused ("A delivery is already recorded for this trip."). A code typed wrong while offline is kept and the delivery is marked for review - the work you did is never thrown away. A Damaged or Short delivery of a marketplace job opens a dispute for the shipper against the carrier; a company's own-customer job opens none. The trip moves to Delivered (passing through Unloading if you never pressed Arrived at delivery) and the shipment follows.
If something goes wrong
- "This delivery still needs the receiver's one-time code or signature and at least one photo of the delivered goods." (the sentence lists what is missing; nothing is saved).
- "The proof of delivery can be recorded once the goods are loaded and on the way." / "An empty positioning trip carries no goods, so it has no proof of delivery."
- "The code is locked after too many wrong tries. Take the receiver's signature instead." / "This delivery code is not valid any more."
- "Delivery recorded, but the trip could not be closed: ..." - the proof is saved; the reason is a paper the office must finish (for example the TGA document).
- "Delivery recorded. The code was wrong, so the delivery is held for review."
- 403 "Only the driver of this trip can do this." for a helper.
6.9 Expenses, fuel, cash and advances (D-11, D-15, DP-05, DP-06)
Purpose - tell the company what you spent on a trip, with the receipt, and follow the cash you hold. Who - the Driver only. A helper gets 403 on these pages and endpoints.
On the phone (D-11 Expenses and fuel). Steps:
- Open Expenses and fuel. The screen first asks the server for the options: your own trips of the last 60 days, the company's expense heads (for example Fuel, Tolls and road fees, Loading, Driver allowance, Parking), the ways of paying (cash, card, fuel card, credit, transfer), the receipt rule, and the pumps near you (the nearest pump within 500 m is chosen by itself).
- Choose the Type (Fuel, parking, wash, repair, other - the heads of your company), type the Amount (SAR) (it includes VAT), and take a Receipt photo.
- For Fuel also type the Litres and the Odometer; the pump and the rate are filled in when known. The litres times the rate must equal the amount.
- Press Save.
On the web (DP-05 Expenses & claims). The page is for expenses you forgot to send from the phone. Press New expense to open the drawer Send a new expense: choose the Trip (your trips of the last 60 days), the Kind of expense (fuel is not offered here: "A fuel fill is entered from the mobile app or by the office: it needs the litres and the pump."), the Amount, the Date & time (not in the future, not older than 60 days), a Receipt photo (JPG, PNG, WebP or PDF up to 5 MB) and a Note (up to 150 characters). Press Send. The web claim is marked as a late claim.
The top of the page has four tiles (Approved, Pending, Needs fixing, Sent for the chosen month), a month filter, a status filter (Approved, Pending, Needs a photo, Rejected, Reversed) and a kind filter. A red banner shows a claim that was sent back, with Fix and send again.
flowchart TD
s1(["Driver spent money on the trip"]) --> d1{"Using the phone app?"}
d1 -->|"Yes"| a1["D-11: choose type, amount and take the receipt photo"]
d1 -->|"No - web portal"| a2["DP-05: press New expense and fill the drawer"]
a1 --> d2{"Fuel?"}
d2 -->|"Yes"| a3["Add litres, odometer and pump"]
d2 -->|"No"| a4["Press Save"]
a3 --> a4
a2 --> a5["Press Send"]
a4 --> d3{"Amount above the receipt limit and no photo?"}
a5 --> d3
d3 -->|"Yes"| e1["Refused - a receipt photo is needed"]
e1 --> d3
d3 -->|"No"| sys1[["Expense saved in the driver's name against the trip"]]
sys1 --> d4{"Approval rule for this amount?"}
d4 -->|"No"| sys2[["Approved at once and posted to the books"]]
d4 -->|"Yes"| o1[/"Fleet manager decides in F-19"/]
o1 --> d5{"Decision"}
d5 -->|"Approved"| sys2
d5 -->|"Sent back with a reason"| a6["Driver presses Fix and send again"]
a6 --> a5
stateDiagram-v2 state "Pending" as pending state "Approved" as approved state "Rejected" as rejected state "Reversed" as reversed [*] --> pending: Driver sends the claim pending --> approved: Office approves or no rule applies pending --> rejected: Office sends it back with a reason rejected --> pending: Driver sends a corrected copy approved --> reversed: Office reverses the entry
Fields
| Field | What to enter | Rules |
|---|---|---|
| Trip | one of your trips of the last 60 days (not cancelled) | Required on the web. On the phone the running trip is taken when you leave it out. |
| Kind of expense / Type | one of the company's expense heads | Required. |
| Amount | amount including VAT, at most 2 decimals | Greater than zero. |
| Date & time | when you paid | Not in the future; not older than 60 days. |
| Receipt photo | JPG, PNG, WebP (PDF on the web), up to 5 MB | Required above the receipt limit (currently SAR 500; the owner can change it). |
| Note | why or what | Up to 150 characters. |
| Litres, Odometer, pump | fuel only, phone only | Litres required for fuel. |
Statuses of a claim
| Status | Meaning | What you can do |
|---|---|---|
| Pending | waiting for the office | wait |
| Needs a photo | pending or sent back, over the limit, and no receipt | send a corrected copy with the photo |
| Approved | accepted (also at once when no rule applies) | nothing |
| Rejected (shown as sent back) | the office refused it, with a reason | press Fix and send again |
| Reversed | the office reversed the entry | nothing |
What happens next - An expense from the phone is saved in your name against the trip and enters the same approval chain as an office entry (Z-05). With no rule for the amount it is approved at once and posted to the books. A claim sent late from the web goes to the fleet manager when your company has an approval rule for it. The fleet manager works in F-19 (09 - Dispatch and trips). The claim stays in your list; Fix and send again makes a new copy and the old one stays.
Cash and advances (D-15, DP-06). Advance & settlement shows Cash in hand, Advance received, Spent and Earlier balance, an Account book (date, description, trip, received, spent, returned, balance) and the list Your advances. Statement PDF gives the statement of the advance. At the end of the trip you hand the cash that is left to the branch cashier; when the office settles the advance it shows as closed. If you spent more than you were given, the page says "The office owes you the difference". The phone has the same facts: cash in hand and the month's lines, and a list of advances with their statement.
If something goes wrong
- "Choose the trip." / "Choose the kind of expense." / "Enter the amount." / "The amount must be more than zero." / "The amount can have at most two decimals."
- "A claim can be filed for the last 60 days only." / "The date and time of the expense cannot be in the future."
- "The receipt must be a JPG, PNG, WebP or PDF file." / "The receipt must not be larger than 5 MB."
- "You have no trip of the last 60 days to file a claim against."
- On a fuel fill: the litres are missing, or the amount does not divide by the litres into a clean rate (send the rate from the slip).
- "This claim cannot be fixed any more: it was sent again, or it is too old."
6.10 Report a problem or press SOS (D-12)
Purpose - tell the office at once when the truck or the road is in trouble. Who - Driver and Helper. Phone only (the web page Fines & safety says "To report a problem or an accident, use the driver app").
Steps
- Open Report a problem. Choose what happened: Breakdown, Accident, Delay, Road closed or Medical.
- For a Breakdown or Accident, add a Note (optional), the number of injuries if any, a photo (optional) and press Send to dispatcher. The place comes from the phone. The trip and the truck are found from your work when you do not name them.
- For a Delay, Road closed or Medical, add a Note (optional) and send it the same way (a delay may name a reason). It is not an incident: it is written on your running trip as a delay with that reason, and the office on call is told at once with the place, your name and your phone (a medical problem as a critical alert). With no running trip the office is still told. During a trip you may also use Report delay (see 6.6).
- Call emergency 911 dials from the phone. The server places no call itself.
- SOS works with an empty form: one press is enough. It never refuses over a missing detail.
flowchart TD
s1(["Something goes wrong on the road"]) --> d1{"Danger to life?"}
d1 -->|"Yes"| a1["Call emergency 911 and press SOS"]
d1 -->|"No"| a2["Open Report a problem and choose what happened"]
a2 --> d2{"Which kind?"}
d2 -->|"Breakdown or Accident"| a3["Add note, photo and injuries and press Send to dispatcher"]
d2 -->|"Delay, road closed or medical"| a4["Add a note and press Send to dispatcher"]
a3 --> sys1[["An incident of priority P1 is made for the truck"]]
a1 --> sys2[["Critical alert with place, name and phone"]]
sys1 --> o1[/"Office on call is alerted at once"/]
sys2 --> o1
a4 --> sys3[["Delay with its reason saved on the running trip"]]
sys3 --> o2[/"Office on call is alerted"/]
o1 --> o3[/"Office calls the driver back"/]
What happens next - A breakdown or an accident becomes a P1 incident of the truck (screen F-29) and the owner and the operations managers are alerted at once. The answer says whether somebody heard. An SOS alert text carries the place ("Location not available." when there is none), your name and your phone, so the office can call you back. A person with no truck at all still reaches the office. Photos come back only as short-lived signed links. Your own reports are listed on the phone (GET lists) - another person's report is 404.
If something goes wrong
- "Choose what happened."
- "We could not tell which vehicle this is about. Choose the trip or the vehicle."
- A photo larger than the limit, or a voice note larger than 2 MB (older door), is refused.
6.11 Duty, rest and check-in (D-13, DP-07)
Purpose - see how long you have driven, take your breaks and mark your day at work. Who - Driver and Helper.
On the phone (D-13 Duty and rest). The four figures are Driving now, Break due, Duty today and This week, with the limits beside them. A rest timer, the warnings and the button Start rest (then End rest) complete the screen. A short line says whether you are following the rules, near a limit, or over it.
Steps
- Look at Break due. When the limit is near (30 minutes before), a warning appears.
- Press Start rest when you stop. The rest timer counts.
- When you drive again, press End rest. Rest is saved as a break on the trip and the truck.
- If your company uses attendance, Check in and Check out record your day with your location. The screen shows today's row, the month's figures (present, absent, late days, overtime, leave days) and the shift.
flowchart TD
s1(["Driver is on duty"]) --> sys1[["Clock counts driving since the last proper break"]]
sys1 --> d1{"Close to a limit?"}
d1 -->|"No"| a1["Screen says Following the rules"]
d1 -->|"Yes"| sys2[["Warning - Near a duty limit or Over a duty limit"]]
a1 --> a2["Press Start rest when you stop"]
sys2 --> a2
a2 --> d2{"On duty and not already resting?"}
d2 -->|"No"| e1["Refused - off duty or already resting"]
d2 -->|"Yes"| sys3[["Rest timer starts and a break is written on the trip and truck"]]
sys3 --> d3{"Rest reached the break length - 30 minutes?"}
d3 -->|"No"| a3["Press End rest - a short stop does not count as a break"]
d3 -->|"Yes"| a4["Press End rest - the break counts"]
a3 --> sys4[["Driver goes back to driving or waiting"]]
a4 --> sys4
sys4 --> o1[/"Office sees duty hours and any limit breach"/]
What you see on the web (DP-07 Duty & attendance). Four tiles (Days present, Total duty, Overtime, Over the limit), an Attendance calendar of the month (Duty, Over the daily limit, Leave, Weekly day off), the list What happened and the card Duty and rest rules: "Driving without a break", "In a day", "In a week". Arrow buttons move to the previous or next month and PDF prints the month. "Duty time comes by itself from the tracker and the app. If a figure looks wrong, tell your branch office." If no duty was recorded yet the page says so. The weekly day off in the calendar is Friday.
Figures and limits - Limits are set by the country pack and can be overridden by the company in Z-06. For Saudi Arabia the draft figures are 5 hours of continuous driving, then a 30 minute break, 8 hours a day, 48 hours a week, 10 hours rest, and a warning 30 minutes before a limit. They are a draft to be confirmed by the business (TGA and GCC rules); the screens say so.
If something goes wrong
- Start rest while off duty: refused with the code
off_duty. End rest when not resting:not_resting. - A resend of the same press is not an error.
- Check-in or check-out refused: "The attendance of :month was approved and is locked.", "There is no check-in to close for that day.", "That day is closed already.", or a day that has not come yet.
6.12 Keep your papers up to date (D-14, DP-11)
Purpose - send a renewed licence, professional card, medical certificate, iqama or other paper before it runs out. Who - Driver and Helper (a helper has no driving licence). Phone and web (Documents & profile).
What you see. Every kind of paper the company asks you for (for a Saudi driver: driving licence, professional card, iqama if you are not a citizen, and so on), the current paper with its number (only for the licence and the professional card), its Expires date, the state (valid, due soon, expired), how many older copies the history holds, and a renewal that waits for the office. Expiry alerts come at 60, 30, 15 and 7 days before the date. They reach you on your phone and the office is told as well.
Steps
- Open My papers (web: Documents & profile; phone: My documents). If a paper runs out, the dashboard To do list says "renew it".
- Press Send a paper (web) or Upload renewal (phone). Choose the Document kind.
- Type the Document number, the Issue date and the Expiry date (required for a licence or a medical certificate), attach the Photo or scan (PDF, JPG or PNG, up to 5 MB) and add a Note (up to 300 characters).
- Press Send to the office.
flowchart TD
s1(["Reminder at 60, 30, 15 or 7 days or the paper is expired"]) --> a1["Open My papers"]
a1 --> a2["Press Send a paper and choose the kind"]
a2 --> a3["Type number and dates, attach PDF, JPG or PNG up to 5 MB"]
a3 --> d1{"Fewer than 10 renewals already waiting?"}
d1 -->|"No"| e1["Refused - wait until the office checks the others"]
d1 -->|"Yes"| sys1[["Renewal saved as waiting - the profile does not change yet"]]
sys1 --> o1[/"Office staff who hold the vault are alerted"/]
o1 --> d2{"Office decision"}
d2 -->|"Accepted"| sys2[["It becomes the new current paper - old copies stay as history"]]
d2 -->|"Sent back"| sys3[["Driver sees the reason and sends a new copy"]]
sys2 --> r1(["Driver is told by a notification"])
sys3 --> r1
What happens next - A renewal waits for the office. Nothing on your profile changes until the office accepts it. The old copies stay in the history. You are told of the decision in your notifications. The scan of a paper is opened only by you (a signed-in link, never public) and every opening is logged. The national ID and the bank numbers are shown only masked (the last digits).
If something goes wrong
- "You already have 10 renewals waiting for the office. Wait until they are checked."
- "Choose the kind of paper." / the expiry date is required for a licence or a medical certificate / the expiry must be after the issue date.
- A file that is not a PDF, JPG or PNG, or larger than 5 MB, is refused.
- "The office sent your last copy back." with the reason.
6.13 Earnings, payslips and finished trips (D-15, D-16, DP-09, DP-03)
Purpose - see what you earned and what you did. Who - Driver and Helper (cash and advances: driver only).
- Payslips (DP-09). Choose a Year and a month. Only payslips the office has approved (the salary sheet approved or paid) appear. The page shows Gross pay, Earnings (basic salary, allowances, trip allowance, overtime), Deductions (unpaid leave, advance, fine and so on, or No deductions), Net pay, In words, Days on duty and Trips. Download PDF is the same payslip HR prints. If you have none: "Your payslip appears here once the office has approved the salary of a month."
- Earnings on the phone (D-15). The phone has the cash in hand, the month's account lines, the advances and the same payslips. See details opens a payslip. Amounts show only to a login whose role may see money; the Driver portal role may see its own.
- My trips (DP-03, D-16). The list has the tiles Total trips, Total distance, Time driven and Trip expenses (not for a helper), the columns Trip no., Date, Route, Vehicle, Kind, Km, Time, Cost, Status, filters Month, Status, Kind, Vehicle, a search, a Print button and PDF export of your own list. On the phone the history keeps the last 90 days; older jobs are in the company workspace. Filter by month with the Filter button.
- Estimated pay. The dashboard shows an estimate until the salary sheet is made: basic pay and allowances, trip allowance, overtime, advance adjustment, other deductions.
6.14 Work offline and sync (D-18)
Purpose - the phone works without a network, stores what you do, and sends it later in the right order. Who - Driver and Helper.
What you do - nothing special. Every press (status, break, accept, decline, SOS, GPS points, expense) is stored on the phone with the real time it happened. Sync status lists what is still waiting (for example "4 photos - SHP-0123", "1 expense", "2 status events"). Retry now sends it again.
The rules in one place
- The queue is per trip, oldest first. Whatever order the phone sends, the server runs the items of one trip in the order they really happened.
- A move, break, accept or decline is taken as of its own moment when it is at most 48 hours old. Older: refused for good (
too_late) - the driver must call the office. - A GPS point is taken when it is at most 24 hours old. An older point is skipped; the rest of its batch is kept.
- Every answer has
retry.retrytrue (the server was busy or down) - keep the item and send it later.retryfalse (the data is the problem) - drop it and show the message. The phone never loops onretryfalse. - If the office cancelled, reassigned, closed or removed the trip while you were offline, every queued event of that trip answers
trip_changed. Nothing is recorded again. The GPS points are kept for a trip that was cancelled or closed (the truck did drive); not for a trip given to another driver. - Files are never in the queue. Photos and signatures are sent on their own, after the status event they belong to, with the same request id. The server stores the file once.
- One call carries at most 50 items; a longer day is several calls. A GPS item carries 1 to 100 points, each accurate to 100 m, not older than 24 hours and not more than 5 minutes ahead of the server.
flowchart TD
s1(["Network is back"]) --> a1["Phone sends the queue oldest first - up to 50 items a call"]
a1 --> sys1[["Server groups the items by trip and orders them by their real time"]]
sys1 --> d1{"Trip cancelled, reassigned, closed or gone?"}
d1 -->|"Yes"| e1["Items answer trip_changed - dropped and GPS points kept"]
d1 -->|"No"| d2{"Is it a GPS batch?"}
d2 -->|"Yes"| d3{"Point older than 24 hours?"}
d3 -->|"Yes"| e2["That point is skipped and the rest is kept"]
d3 -->|"No"| sys2[["Point stored - a point already held counts as a duplicate"]]
d2 -->|"No"| d4{"Move, break, accept or decline older than 48 hours?"}
d4 -->|"Yes"| e3["too_late - dropped, call the office"]
d4 -->|"No"| sys3[["Runs through the same route as a live call, at its own moment"]]
sys3 --> d5{"What does the server answer?"}
d5 -->|"Done"| ok1(["Phone removes the item"])
d5 -->|"Refused by a rule"| e4["refused - dropped and the message is shown"]
d5 -->|"Busy or server error"| r1["retry true - keep it and send again later"]
sequenceDiagram participant P as Phone participant S as Server participant O as Office P->>S: Send the queue to sync replay oldest first S-->>P: One result per item with code and retry and a list of trips P->>S: Ask sync changes since the last next_since S-->>P: Trips that changed, trips that are gone and a new next_since P->>P: Drop items with retry false and keep items with retry true S-->>O: Statuses, proofs and GPS appear on the trip and the shipment
What you see after the replay. The answer names each trip as ok or changed (cancelled, reassigned, finished, gone). If a trip changed, the phone drops its events, asks what changed and redraws. A phone that was away for more than 7 days is told everything that is open ("full"). A trip that is no longer yours is listed as not_yours; the server never says what the trip is now.
Error words the phone switches on
| Word | Retry | Meaning |
|---|---|---|
ok |
no | done |
duplicate |
no | already done before (same request id) |
trip_changed |
no | the trip changed while you were offline |
too_late |
no | older than 48 hours |
refused |
no | a rule said no (flow, hold, odometer) |
not_allowed |
no | a helper tried a driver action |
not_found |
no | not your record |
not_syncable |
no | a file or a read cannot be queued |
still_processing |
yes | the first copy is still running |
rate_limited |
yes | wait |
server_error |
yes | try later |
unavailable |
yes | tracking is switched off in this installation: keep the GPS batch |
6.15 Leave, vehicle change and fines (DP-08, DP-10, DP-13)
Leave (DP-08). Who - Driver and Helper. Open Leave. The top cards show your leave left for the year by kind and the days waiting for a decision. The kinds and the days come from your company's own leave rules, the same balances the office sees (guide 14); which kinds you can choose depends on your country and company, a leave that builds up month by month (annual leave) can show part days, and unpaid leave is registered by the office. Press Apply for leave, choose the Kind of leave, the First day and the Last day (a leave may start up to 3 days in the past and may cover at most 60 days), write the Reason (3 to 500 characters), optionally an Attachment (for sick leave) (up to 5 MB) and press Send application. While it is Pending you may Cancel it ("Cancel this leave application?").
Note While the company's leave figures are not confirmed, the page says so under the cards ("Leave days are a draft, to be confirmed"). Asking for more days than are left is allowed with a warning; the office decides every application.
flowchart TD
s1(["Driver or helper needs a day off"]) --> a1["Open Leave and press Apply for leave"]
a1 --> a2["Choose kind, first day, last day, reason and optional attachment"]
a2 --> d1{"Dates and reason are valid?"}
d1 -->|"No"| e1["Fix the red fields"]
e1 --> a2
d1 -->|"Yes"| d2{"Overlaps another pending or approved leave?"}
d2 -->|"Yes"| e2["Refused - the message names the other leave"]
e2 --> a2
d2 -->|"No"| sys1[["Application saved as Pending - warnings if more days than left or a trip falls on those days"]]
sys1 --> o1[/"Office decides in H-06"/]
o1 --> d3{"Decision"}
d3 -->|"Approved"| sys2[["You show On Leave from the first day and get no trips on those days"]]
d3 -->|"Rejected"| sys3[["The reason is shown to the driver"]]
sys1 --> a3["Driver may press Cancel while the application is Pending"]
Asking for more days than you have left is allowed with a warning; the office decides. The office approves or refuses in H-06 (14 - HR and workforce). Only a Pending application can be cancelled: "Only an application that is still waiting for a decision can be cancelled."
My vehicle (DP-10). Who - Driver. Shows the vehicle you are the default driver of: number, brand, model, type, load, ownership (Own vehicle, Rented vehicle, Leased vehicle), Meter, Driven this month, Vehicle papers with Valid until and a warning for papers that run out, Last service, Next service, Service and open defects, My vehicle history. Press Request a change to ask for Another vehicle or A different helper, for Only today's trip or Permanent (new default), choose the New vehicle or New helper and give a Reason; press Send request. "The office decides; you will be told." One request per kind can wait at a time ("You already asked for this ... and the office has not answered yet."). You may Cancel a request that waits. If you are not a default driver the page says "You are not the default driver of a vehicle now" and you can still ask for one.
Fines & safety (DP-13). Who - Driver. Read only. Shows My driving score (out of 100, worked out by itself; a dash until trips, fuel and inspections of the month are recorded), Duty-limit breaches, To come off your salary, Fines and cases (the office decides who pays; if it is yours it is taken from your salary) and Incidents I was driving in for the last 12 months. To report a problem use the driver app (6.10).
6.16 Notifications, language and profile (DP-12, D-19, DP-11)
Notifications & notices (DP-12). The bell shows unread alerts. The page has chips All, trips, money, papers, notices. Mark all as read marks everything. An Office notice has the button I have read and understood; after pressing it you see "You confirmed on :date". A notice that leads to a page of the portal opens that page when you tap it. On the phone the same alerts arrive as push notifications; tapping one opens the right screen (trip, expense, payslip, papers).
Language. On the web press AR, EN or BN in the top bar. On the phone choose the language in Profile and settings (D-19). The server remembers your language for the messages and SMS it writes for you; until you choose one, the language of the page or of the phone is used (not Bangla by itself), and a new portal login of a Saudi company starts in the language of the person who made it. The number format (Western or Arabic-Indic digits) and the sound and vibration of alerts stay on the phone.
Profile and settings (D-19, DP-11). Your name, staff code, branch, joined date, licence number and class, expiry, the masked national ID and your default vehicle are read only. You may change the Emergency contact (name), the Emergency mobile and the Address (up to 500 characters). Anything else: "To change anything else, ask the office. The NID and bank numbers stay hidden: only the office can open them, and every opening is logged." Password and devices ("Change your password and see where you are signed in.") opens the account security page.
7. Screen by screen
The D screens are the Driver app (phone). The phone app is not in this repository, so each block says what the screen asks the server and what the server answers or refuses. Where the web portal has the same work, the block names it.
D-01 - Language
- Address - app screen
driver://language; the app's first call isGET /api/v1/meta(no sign-in, 30 calls a minute). Web twin: the buttons AR, EN, BN in the portal's top bar. - Who - Driver, Helper (before sign-in).
- What you see - five languages with their own names: العربية, English, اردو, हिन्दी, বাংলা. Each row says whether the server has texts in that language (Arabic, English and Bangla do; Urdu and Hindi come back in English for now) and whether the app lays the screen out right to left.
- What you can do - choose a language and press Continue.
- What the server also tells the app in the same answer - the app's minimum and latest version (an older app must show its own update screen), the country (Saudi Arabia, calling code 966, example mobile number, currency SAR, time zone Asia/Riyadh), how often to send GPS (every 30 seconds, at most 100 points a call, accuracy 100 m, points up to 24 hours old), the days of history to keep (90), the words of every shipment status in your language, and the server time. The phone may keep the answer for 60 minutes.
- Which language the server answers in - the language you asked for (
?lang=), else the phone's language header, else the language saved on your login, else the platform's default, else Arabic. - Notes - the number format (Western or Arabic-Indic digits) is a phone setting and never goes to the server. See 6.2.
D-02 - Login
- Address - app screen
driver://login. Web twin: Driver & helper portal at/driver/login(DP-01). - Who - Driver, Helper with a login linked to a driver or helper record.
- What you see - the Mobile number field (the platform's calling code and example) and the One-time code boxes, or the staff code and password. A link from the carrier's invitation pre-fills the company.
- What you can do - press Log in. Calls:
POST /auth/login(staff code, password, device name),POST /auth/otpandPOST /auth/verify(only while sign-in codes are on). The phone also callsGET /me(your name, language and the list of tabs you may open),GET /organizations(the carriers you drive for),POST /auth/invitation(add a carrier with an invitation code; 20 a minute),POST /devices(notification token) andPOST /auth/logout. - Notes - a login that does not need a code gets the token at once. The token lives 120 days. A person with no login at all opens the invitation link in the SMS once (it also sets the first password); the invitation call needs a token. See 6.2 for the errors.
D-03 - Home
- Address - app screen
driver://home(callGET /today). Web twin: Dashboard at/driver(DP-02 for a driver, DP-14 for a helper). - Who - Driver, Helper.
- What you see - the job of today (shipment code, cargo), Duty left, Next stop, Alerts, the list "Licence expires in 40 days" and the one big action. The server answer holds: the trip card (running trip first, else the next one assigned), whether it is today, the
next_action(see the table in 6.3), the duty clock with its limits, cash in hand (not for a helper), the next leg of the same journey when the office is still arranging it, and the number of unread alerts. - What you can do - press the big button (Start trip, Check the vehicle, and so on).
- Notes - it never shows the price of the job.
D-04 - Assignments
- Address - app screen
driver://assignments; callsGET /assignments,POST /trips/{trip}/accept,POST /trips/{trip}/decline. The web portal has no assignment screen; new trips appear in the To do list of the dashboard. - Who - Driver (a helper's list is empty).
- What you see - up to 50 jobs waiting for your answer, soonest first.
- What you can do - Accept; Decline (asks for a reason of 3 to 255 characters; the dispatcher is notified).
- Notes - see 6.4. Both buttons may wait in the offline queue.
D-05 - Trip detail
- Address - app screen
driver://trip/{code}; callsGET /trips/{trip},GET /trips/{trip}/shipment,GET /trips/{trip}/transport-document. Web twin: Trip :code (DP-04),/driver/trips/{trip}. - Who - Driver and Helper of that trip. Somebody else's trip answers 404.
- What you see - code, status, route, planned start, truck and plate, the other person of the crew, goods and weight, the steps (Vehicle check, Trip started, Loading, Loaded - on the way, Arrived - unloading, Delivered), the timeline with the time spent in each status, the job card with the stops (city, address, contact name and mobile, windows, arrival and departure) and the TGA document (number, status, issue date, plate, driver name, shipment code and a link to the PDF).
- What you can do - Open document shows the TGA document for a road check. Both answers are small and the phone keeps them, so they open offline.
- Notes - the identity numbers of people and the TGA paperwork never reach the phone. A trip with no document says so ("none issued") instead of an error.
D-06 - Pre-trip inspection
- Address - app screen
driver://trip/{code}/inspection; callsGETandPOST /trips/{trip}/inspection(multipart, not queued) andGET /trips/{trip}/inspection/items/{item}/photo. Web twin: Vehicle check,/driver/trips/{trip}/inspection. A periodic check of your own truck:GETandPOST /vehicles/{vehicle}/inspection. - Who - the Driver of the trip.
- What you see - the groups of checks for this truck type, the last result, and the list of open major defects of the truck.
- What you can do - answer every check, add notes and photos, press Next (phone) or Save the check (web). See 6.5.
D-07 - Navigation
- Address - app screen
driver://trip/{code}/route; callGET /trips/{trip}/route. No web page. - Who - Driver, Helper.
- What you see - the stops with coordinates, which stop is next, the distance and the duration, and the road line.
- What you can do - Open in Google Maps, Open in Waze (each stop has a link for both and a
geo:link). - Notes - when no road can be measured the page still gives the stops and the agreed distance (reasons: maps off, maps unavailable, no road, no coordinates, no shipment). None of them is an error. Rest areas and roads closed to trucks are not available.
D-08 - Status update
- Address - app screen
driver://trip/{code}/status; callsPOST /trips/{trip}/status,POST /trips/{trip}/events,POST /trips/{trip}/breaks,POST /trips/{trip}/locations. Web twin: Update status,/driver/trips/{trip}/status. - Who - the Driver of the trip.
- What you see - one large button for the next status only, the steps with their times, and the reason if the button is closed.
- What you can do - Departed and the other next-step buttons; Loaded and Report delay (these two move nothing); break start and end; the phone also sends GPS points in the background.
- Notes - GPS and the real time are saved with every press. See 6.6.
D-09 - Loading proof
- Address - app screen
driver://trip/{code}/loaded; callsGETandPOST /trips/{trip}/loading(multipart). Web twin: Loading proof,/driver/trips/{trip}/loading. - Who - Driver (a helper may only read).
- What you see - up to 4 photos, Seal number, pallets or pieces, Note, and the records so far with their flags.
- What you can do - Confirm loaded. See 6.7.
D-10 - Delivery proof
- Address - app screen
driver://trip/{code}/delivered; callsGETandPOST /trips/{trip}/delivery-proof(multipart),POST .../delivery-proof/otpandPOST .../delivery-proof/resend. Web twin: Delivery proof,/driver/trips/{trip}/delivery. - Who - the Driver of the trip.
- What you see - the rule for this job, the receiver's name and the masked number the code went to, the state of the code, and the proof if there is one.
- What you can do - type the One-time code from receiver, or take a signature drawn by the receiver, give Quantity received, choose Condition (good, damaged, short), take photos, press Confirm delivery. With proof of delivery switched off for the job (company setting C-17), you may confirm without a code or signature. Damaged or short opens a dispute for a marketplace job.
- Notes - an older door (
GETandPOST /trips/{trip}/delivery, with a signature or photo file) is still in the system from the earlier HR version; the Driver app uses thedelivery-proofdoors. See 6.8.
D-11 - Expenses and fuel
- Address - app screen
driver://expenses/new; callsGET /expense-options,POST /expenses(multipart),GET /expenses,GET /expenses/{expense},GET /expenses/{expense}/receipt. Web twin: Expenses & claims,/driver/expenses(DP-05). - Who - Driver only.
- What you see - Type (the company's heads), Amount (SAR), Litres (fuel), Odometer, Receipt (camera), your list of expenses with their status.
- What you can do - Save. The phone expense is sent on its own with a request id (the file is never put in the queue), and "queued offline" means the phone retries it itself until it is accepted. Finance approves in F-19. See 6.9.
D-12 - Report a problem
- Address - app screen
driver://problem; callsPOST /incidents(multipart),GET /incidents,GET /incidents/{incident},POST /sos. An older doorPOST /problems(with a voice note) and its read calls still exist. - Who - Driver and Helper.
- What you see - Breakdown, Accident, Delay, Road closed, Medical.
- What you can do - Call emergency 911 (the phone dials), Send to dispatcher, SOS. A breakdown or an accident creates a P1 incident with the location; the other three are written on the running trip as a delay and alert the office (
POST /incidentsanswers withkind,recorded_on_tripandoffice_notified; see 6.10).
D-13 - Duty and rest
- Address - app screen
driver://duty; callsGET /duty/now,POST /duty/rest,POST /duty/rest/end,GET /duty(the month),GETandPOST /work/attendance. Web twin: Duty & attendance,/driver/duty(DP-07). - Who - Driver, Helper.
- What you see - Driving now, Break due, Duty today, This week, the rest timer, the warnings, the limits and where they come from (country pack, draft).
- What you can do - Start rest, End rest, Check in, Check out. See 6.11.
D-14 - My documents
- Address - app screen
driver://documents; callsGET /profile/documents,GET /profile/documents/{document},POST /profile/documents(multipart). Web twin: Documents & profile,/driver/profile(DP-11). - Who - Driver, Helper.
- What you see - each kind of paper the company asks you for, its status, expiry, older copies, what waits for the office and what the office sent back.
- What you can do - Upload renewal. Expiry alerts at 60, 30, 15 and 7 days. See 6.12.
D-15 - Earnings
- Address - app screen
driver://earnings; callsGET /cash,GET /advances,GET /advances/{advance},GET /advances/statement,GET /payslips,GET /payslips/{line},GET /payslips/{line}/pdf. Web twins: Advance & settlement (DP-06) and Payslips (DP-09). - Who - Driver (cash and advances); Driver and Helper (payslips).
- What you see - cash in hand, the month's lines (advances in, expenses out, cash returned), the newest payslip, advances and the payslip details.
- What you can do - See details of a payslip, download the payslip or the advance statement as PDF. Amounts are hidden for a login whose role may not see money.
D-16 - Trip history
- Address - app screen
driver://history; callGET /trips?status=done(withmonth=YYYY-MM). Web twin: My trips,/driver/trips(DP-03). - Who - Driver, Helper.
- What you see - finished trips ("SHP-0101 - Yanbu -> Jeddah - delivered"), newest first. The phone keeps 90 days; older ones are in the company workspace.
- What you can do - Filter by month.
D-17 - Messages
- Not available yet. The Dev Pack shows a chat with the dispatcher and voice notes. No plan or server endpoint covers it: the company chat of the platform is between two companies, and a driver talking to the dispatcher of his own company has no door yet. Until it is decided, the phone shows nothing here. Use the office phone, the notifications and Report a problem.
D-18 - Sync status
- Address - app screen
driver://sync; callsPOST /sync/replay,GET /sync/changes,POST /sync/batch. The list of waiting items is kept on the phone. - Who - Driver, Helper.
- What you see - what still waits to be uploaded (photos, expenses, status events).
- What you can do - Retry now. Events upload in order when the network returns. See 6.14.
D-19 - Profile and settings
- Address - app screen
driver://settings; callsGET /profile,PATCH /profile,GET /settings,PATCH /settings,GET /notifications,GET /notifications/unread-count,POST /notifications/read,POST /devices,DELETE /devices/{device}. Web twin: Documents & profile and the language buttons in the top bar. - Who - Driver, Helper.
- What you see - Language, Numbers (Western or Arabic-Indic), Notifications on or off, Mobile number, the app versions.
- What you can do - Save. The server keeps only your language; the number format, theme, text size and alert sounds live on the phone.
PATCH /profilechanges only the emergency contact name and mobile and the address. Changing the language is refused when the code is not on the list of languages that are switched on.
Other phone doors with no D code
- Weighbridge slip - a driver can send the photo of a weighbridge slip and its weight (
GETandPOST /trips/{trip}/weighbridge, picture file). The page shows the permitted load of the truck and the limit. A slip over the limit is saved as pending and the people who approve it are told (the Fleet Manager). You can read the slip photo again withGET /trips/{trip}/weighbridge/{entry}/slip. On the web the slip is seen in the Weighbridge slip tab of the trip. - Older delivery proof -
GETandPOST /trips/{trip}/deliveryand the file linkGET /trips/{trip}/delivery/{kind}come from the earlier HR version (receiver name, quantity, signature or photo, no receiver code). The Driver app uses the newerdelivery-proofdoors (D-10). - Older problem door -
POST /problemswith kinds such as puncture, police check, cargo damage and a voice note, plus its list and file calls. The Driver app usesPOST /incidents(D-12) for breakdown and accident and keepsPOST /sos. - Attendance check-in - see D-13.
Portal pages (web, DP codes)
Each of these pages belongs to the driver web portal. Every page shows your own records only; another person's record answers 404.
DP-01 - Sign in (/driver/login)
See 6.1. Guests only.
DP-02 and DP-14 - Dashboard (/driver)
Four tiles, the card Today's trip or Next trip with the status rail and the four work buttons, the list To do, and (driver) the chart Last 6 months and the table This month's money. The helper dashboard (DP-14) shows Present and Estimated pay, a note that this is the helper portal, and the card What a helper sees. See 6.3.
DP-03 - My trips (/driver/trips)
The list described in 6.13. The row button opens the trip detail. Search looks in trip code, vehicle, pickup and delivery names. PDF export and Print only (the portal role has no other export format).
DP-04 - Trip detail (/driver/trips/{trip})
Header: trip code, status, kind, vehicle. Buttons: Trip sheet PDF (/driver/trips/{trip}/sheet), Add expense (driver, only while a claim is possible). The card Do the work has Vehicle check, Update status, Loading proof and Delivery proof (drivers only). Tabs: Summary (the timeline with the time spent in each status, Trip facts: vehicle, helper or driver, client, goods, challan, meter start and end, distance, started, ended or estimated arrival, and your expenses on this trip), Expenses, Delivery proof (the proof recorded on D-10: time, code, signature, photos and View the delivery proof; an older proof shows receiver, phone, time, status, receiver code, location, photo and signature links), Weighbridge slip (station, declared weight, permitted weight, status, slip photo) and History (every status stretch with its time).
Vehicle check, Update status, Loading proof and Delivery proof pages
They are the web twins of D-06, D-08, D-09 and D-10 (6.5 to 6.8). Each page has Back to the trip and the card The rest of the day with links to the other three.
DP-05 - Expenses & claims (/driver/expenses)
See 6.9. The receipt of a claim opens in a new tab at /driver/expenses/{expense}/receipt (a private file; only yours).
DP-06 - Advance & settlement (/driver/advances)
See 6.9. /driver/advances/statement is the PDF of one advance (or of all) and is written to the activity log when printed. Not for a helper.
DP-07 - Duty & attendance (/driver/duty)
See 6.11. ?month=YYYY-MM shows another month and ?pdf=1 prints it.
DP-08 - Leave (/driver/leave)
See 6.15.
DP-09 - Payslips (/driver/payslips)
See 6.13. /driver/payslips/{line} is the payslip PDF (inline, or ?download=1).
DP-10 - My vehicle (/driver/vehicle)
See 6.15. Driver only.
DP-11 - Documents & profile (/driver/profile)
Personal details (Joined, Mobile, NID masked, Salary goes to masked, licence, trips in 3 months), Emergency contact, Address, the table My papers (document, number, expiry, status, View opens the scan at /driver/profile/documents/{document}, New copy, older copies) and the form Send a paper. Messages: "Your driving licence is about to expire." / "Your driving licence has expired." / "Send the renewed licence with 'New copy' below. The office will check it." See 6.12 and 6.16.
DP-12 - Notifications & notices (/driver/notifications)
See 6.16. Mark all as read posts to /driver/notifications/read.
DP-13 - Fines & safety (/driver/safety)
See 6.15. Driver only.
8. Tips and common questions
1. I cannot sign in. What do I check?
Check the ID (your staff code, for example DRV-1042), then the password. After several wrong tries the account is locked for a time (15 minutes by default) and unlocks by itself. If the page says the account is not active, or the login is not linked to a driver record, ask the office: they fix it on your staff profile (Invite to app or Driver portal access).
2. Why is the Start the trip button closed? The most common reason is that the office has not yet approved your vehicle check ("The trip can start only after the vehicle check is approved."). Other reasons: the trip is on hold (a major defect), your company asks you to accept the job first, or the shipment was cancelled or put on hold.
3. Do I need the internet all day? No. The phone keeps what you press and sends it later, oldest first. A move is accepted up to 48 hours late and a GPS point up to 24 hours late. Photos and signatures are sent on their own once the network returns. See 6.14.
4. The office cancelled my trip while I had no network. What happens to what I pressed?
The queued events of that trip are dropped (trip_changed) and the phone shows a message. The GPS points of the drive are kept. Call the office if you were already driving.
5. The receiver says the code did not come. What do I do? Press Send the code again (3 times an hour at most). The code is sent by SMS to the contact of the last stop. If the code is locked or expired, take the receiver's signature instead (when the rule allows it). A job with no code at all (the company's own goods) always uses the signature.
6. What is required to confirm a delivery? The sentence at the top of Delivery proof says it: the company's rule asks for a code, a signature, or either, and sometimes at least one photo. For marketplace jobs the platform never allows less than "code or signature" plus one photo. If the company turned proof off for its own customer, you may confirm without a code or signature.
7. I marked the delivery Damaged or Short. What happens? The proof is saved with the quantities and your note. For a marketplace job a dispute opens by itself, for the shipper against the carrier, and the office reviews it. For the company's own customer no dispute is opened, but the invoice line may be held for review.
8. My expense was sent back. What now? Open Expenses & claims, read the reason in the red banner, press Fix and send again, change what is wrong (for example attach the receipt photo) and press Send. A new copy goes to the office; the old one stays in the list.
9. A receipt photo is required. How big can it be? Up to 5 MB. It is required for an amount above the company's receipt limit (currently SAR 500). A fuel fill with litres and the pump is entered from the phone app.
10. Where do I see the proof I recorded? On the trip page, tab Delivery proof: for a proof taken on Delivery proof (code, signature, photos) it shows Recorded, the time, whether the receiver's code was verified, the signature and the number of photos, with View the delivery proof. A proof of the older kind shows the receiver's name, phone and files as before. A finished trip with no proof says so.
11. Does the app track me all day? The phone sends GPS points while a trip is running (about every 30 seconds, in groups). Points less accurate than 100 m, older than 24 hours, or more than 5 minutes ahead of the server clock are skipped. Without GPS a step is still recorded, only without a place.
12. I drive for two companies. Which one do I see? The phone shows one company at a time: choose it on the home screen (the phone sends the company on every call). A company that shows as not usable has not linked you to a driver record yet.
13. Can I chat with the dispatcher in the app? Not yet (D-17 is not available). Use the office phone, Report a problem for a breakdown or an accident, and Report delay for a delay.
14. Why does the app show Urdu or Hindi but the messages come in English? The server has texts in Arabic, English and Bangla only. Urdu and Hindi messages stay in English until the business supplies the translations.
15. Why can I not see the price of my job? A driver is told what to do, not what the job is worth. The price, the VAT, the contract and the award note never reach the phone or the portal.
9. Page reference (for support and testing)
All portal pages need a signed-in login that holds the role Driver portal (permission portal.driver) and is linked to a driver or helper record. The guard is auth + driver.portal; the login page is for guests. A page that shows someone else's record answers 404. A helper gets 403 on the expense, advance, vehicle and safety pages.
Pages
| Page | Address | Route name | Who can open | Described in |
|---|---|---|---|---|
| Sign in | /driver/login |
driver.login |
guests (not signed in) | DP-01, 6.1 |
| Dashboard | /driver |
driver.dashboard |
Driver, Helper | DP-02, DP-14, 6.3 |
| My trips | /driver/trips |
driver.trips.index |
Driver, Helper | DP-03, 6.13 |
| Trip detail | /driver/trips/{trip} |
driver.trips.show |
Driver, Helper of that trip | DP-04, 6.6 |
| Trip sheet (download) | /driver/trips/{trip}/sheet |
driver.trips.sheet |
Driver, Helper of that trip | DP-04 |
| Proof photo or signature (download) | /driver/trips/{trip}/proof/{kind} |
driver.trips.proof |
Driver, Helper of that trip (kind is photo or signature) |
DP-04 |
| Weighbridge slip photo (download) | /driver/trips/{trip}/slip/{entry} |
driver.trips.slip |
Driver, Helper of that trip | DP-04 |
| Vehicle check | /driver/trips/{trip}/inspection |
driver.trips.inspection |
Driver of the trip (Helper reads) | D-06, 6.5 |
| Photo of one check (download) | /driver/trips/{trip}/inspection/items/{item}/photo |
driver.trips.inspection.photo |
Driver, Helper of that trip | D-06 |
| Update status | /driver/trips/{trip}/status |
driver.trips.status |
Driver of the trip (Helper reads) | D-08, 6.6 |
| Loading proof | /driver/trips/{trip}/loading |
driver.trips.loading |
Driver of the trip (Helper reads) | D-09, 6.7 |
| Delivery proof | /driver/trips/{trip}/delivery |
driver.trips.delivery |
Driver of the trip (Helper reads) | D-10, 6.8 |
| Expenses & claims | /driver/expenses |
driver.expenses.index |
Driver only | DP-05, 6.9 |
| Receipt of a claim (download) | /driver/expenses/{expense}/receipt |
driver.expenses.receipt |
the Driver who made it | DP-05 |
| Advance & settlement | /driver/advances |
driver.advances.index |
Driver only | DP-06, 6.9 |
| Advance statement (PDF) | /driver/advances/statement |
driver.advances.statement |
Driver only | DP-06 |
| Duty & attendance | /driver/duty |
driver.duty |
Driver, Helper | DP-07, 6.11 |
| Leave | /driver/leave |
driver.leave.index |
Driver, Helper | DP-08, 6.15 |
| Payslips | /driver/payslips |
driver.payslips.index |
Driver, Helper | DP-09, 6.13 |
| Payslip (PDF) | /driver/payslips/{line} |
driver.payslips.show |
the person whose payslip it is (released only) | DP-09 |
| My vehicle | /driver/vehicle |
driver.vehicle |
Driver only | DP-10, 6.15 |
| Fines & safety | /driver/safety |
driver.safety |
Driver only | DP-13, 6.15 |
| Documents & profile | /driver/profile |
driver.profile |
Driver, Helper | DP-11, 6.12 |
| Scan of a paper (download) | /driver/profile/documents/{document} |
driver.profile.documents.show |
the person whose paper it is | DP-11 |
| Notifications & notices | /driver/notifications |
driver.notifications |
Driver, Helper | DP-12, 6.16 |
Actions (buttons and forms of the web portal)
| Action | Route name | Permission |
|---|---|---|
| Send the mobile number (code step) | driver.login.otp |
guests; only while sign-in codes are on |
| Check the sign-in code | driver.login.verify |
guests; only while sign-in codes are on |
| Sign in with ID and password | driver.login.password |
guests |
| Send a new expense or a corrected copy | driver.expenses.store |
Driver only |
| Apply for leave | driver.leave.store |
Driver, Helper (own) |
| Cancel a pending leave | driver.leave.cancel |
the person who asked |
| Mark notifications read or acknowledge a notice | driver.notifications.read |
own notifications |
| Save emergency contact and address | driver.profile.update |
own profile |
| Send a renewal of a paper | driver.profile.documents.store |
own papers |
| Save the vehicle check | driver.trips.inspection.store |
Driver of the trip |
| Give a status step | driver.trips.status.store |
Driver of the trip |
| Record Loaded or Report delay | driver.trips.events |
Driver of the trip |
| Confirm loaded | driver.trips.loading.store |
Driver of the trip |
| Check the receiver's code | driver.trips.delivery.code |
Driver of the trip |
| Send the receiver's code again | driver.trips.delivery.resend |
Driver of the trip |
| Confirm delivery | driver.trips.delivery.store |
Driver of the trip |
| Ask for another vehicle or helper | driver.vehicle.change.store |
Driver only |
| Cancel a waiting vehicle request | driver.vehicle.change.cancel |
the Driver who asked |
API endpoints of the Driver app (grouped by screen)
Every path starts with /api/v1. All calls except the sign-in group need Authorization: Bearer <token> of a login with the Driver portal role linked to a driver or helper record. "Driver only" means a helper gets 403. "Queue" says whether a JSON call may wait in the phone's offline queue. A file call is sent on its own with a request id and is never queued. Somebody else's record is a 404. Answers always have the same envelope: success, message, data (or errors).
D-01 and D-02 - language, sign in, company, phone
| Endpoint | Route name | Who | Queue | What it does |
|---|---|---|---|---|
GET /meta |
api.v1.meta |
nobody signed in | no | languages, country, app version rules, GPS rules, status words |
POST /auth/login |
api.v1.auth.login |
guests | no | staff code and password and device name give the token (or ask for a code) |
POST /auth/otp |
api.v1.auth.otp |
guests | no | send a code (only while codes are on) |
POST /auth/verify |
api.v1.auth.verify |
guests | no | code gives the token (only while codes are on) |
POST /auth/logout |
api.v1.auth.logout |
signed in | no | delete this phone's token and push token |
GET /me |
api.v1.me |
signed in | no | who I am, my language, the tabs I may open |
GET /organizations |
api.v1.organizations |
signed in | no | the carriers I drive for and whether each is usable |
POST /auth/invitation |
api.v1.auth.invitation |
signed in | no | accept a carrier's invitation code (20 a minute) |
POST /devices |
api.v1.devices.store |
signed in | yes | save the Firebase push token |
DELETE /devices/{device} |
api.v1.devices.destroy |
signed in | no | remove my own push token |
D-03 - Home
| Endpoint | Route name | Who | Queue | What it does |
|---|---|---|---|---|
GET /today |
api.v1.today |
Driver, Helper | no | the home screen in one call: trip, next action, duty, cash, alerts |
D-04 - Assignments
| Endpoint | Route name | Who | Queue | What it does |
|---|---|---|---|---|
GET /assignments |
api.v1.assignments |
Driver (helper gets an empty list) | no | jobs waiting for my answer |
POST /trips/{trip}/accept |
api.v1.trips.accept |
Driver only | yes | accept the job |
POST /trips/{trip}/decline |
api.v1.trips.decline |
Driver only | yes | decline with a reason of 3 to 255 characters |
D-05 and D-16 - trips and the job
| Endpoint | Route name | Who | Queue | What it does |
|---|---|---|---|---|
GET /trips |
api.v1.trips.index |
Driver, Helper | no | my trips; status=open or done or all, month=YYYY-MM, q, page |
GET /trips/{trip} |
api.v1.trips.show |
Driver, Helper of the trip | no | trip detail with next step, steps and timeline |
GET /trips/{trip}/shipment |
api.v1.trips.shipment |
Driver, Helper of the trip | no | the job card with stops and what may not be done next |
GET /trips/{trip}/transport-document |
api.v1.trips.transport-document |
Driver, Helper of the trip | no | the TGA document for road checks |
D-06 - Pre-trip inspection
| Endpoint | Route name | Who | Queue | What it does |
|---|---|---|---|---|
GET /trips/{trip}/inspection |
api.v1.trips.inspection.show |
Driver only | no | the checklist of the truck, the last result, open major defects |
POST /trips/{trip}/inspection |
api.v1.trips.inspection.store |
Driver only | no (files) | save the answers and photos |
GET /trips/{trip}/inspection/items/{item}/photo |
api.v1.trips.inspection.photo |
Driver only | no | the private photo of one check |
GET /vehicles/{vehicle}/inspection |
api.v1.vehicles.inspection.show |
Driver only | no | the periodic checklist of my own truck |
POST /vehicles/{vehicle}/inspection |
api.v1.vehicles.inspection.store |
Driver only | no (files) | save a periodic check |
GET /vehicles/{vehicle}/inspection/items/{item}/photo |
api.v1.vehicles.inspection.photo |
Driver only | no | photo of one periodic check |
D-07 - Navigation
| Endpoint | Route name | Who | Queue | What it does |
|---|---|---|---|---|
GET /trips/{trip}/route |
api.v1.trips.route |
Driver, Helper of the trip | no | stops with coordinates, Google, Waze and geo links, distance, duration |
D-08 - Status update
| Endpoint | Route name | Who | Queue | What it does |
|---|---|---|---|---|
POST /trips/{trip}/status |
api.v1.trips.status |
Driver only | yes | one status move with odometer, position and the real time at |
POST /trips/{trip}/events |
api.v1.trips.events |
Driver only | yes | Loaded or Delay with a reason |
POST /trips/{trip}/breaks |
api.v1.trips.breaks |
Driver only | yes | start or end a break |
POST /trips/{trip}/locations |
api.v1.trips.locations |
Driver only | yes | 1 to 100 GPS points |
D-09 - Loading proof
| Endpoint | Route name | Who | Queue | What it does |
|---|---|---|---|---|
GET /trips/{trip}/loading |
api.v1.trips.loading |
Driver, Helper of the trip | no | can it be recorded, units, records so far |
POST /trips/{trip}/loading |
api.v1.trips.loading.store |
Driver only | no (files) | record the loading with up to 4 photos |
D-10 - Delivery proof (and the older doors of the same work)
| Endpoint | Route name | Who | Queue | What it does |
|---|---|---|---|---|
GET /trips/{trip}/delivery-proof |
api.v1.trips.delivery-proof.show |
Driver only | no | the rule, the code state, the proof so far |
POST /trips/{trip}/delivery-proof |
api.v1.trips.delivery-proof.store |
Driver only | no (files) | record the proof and move the trip to Delivered |
POST /trips/{trip}/delivery-proof/otp |
api.v1.trips.delivery-proof.otp |
Driver only | no | check the receiver's code now |
POST /trips/{trip}/delivery-proof/resend |
api.v1.trips.delivery-proof.resend |
Driver only | no | send the code again (3 an hour) |
GET /trips/{trip}/delivery |
api.v1.field.delivery.show |
Driver only | no | older proof door (challans and receiver) |
POST /trips/{trip}/delivery |
api.v1.field.delivery.store |
Driver only | no (files) | older proof door (receiver, signature or photo) |
GET /trips/{trip}/delivery/{kind} |
api.v1.field.delivery.file |
Driver only | no | signature or photo of the older proof |
GET /trips/{trip}/weighbridge |
api.v1.field.weighbridge.show |
Driver only | no | weight limit of the truck and the last slip |
POST /trips/{trip}/weighbridge |
api.v1.field.weighbridge.store |
Driver only | no (files) | send a weighbridge slip photo and weight |
GET /trips/{trip}/weighbridge/{entry}/slip |
api.v1.field.weighbridge.slip |
Driver only | no | the slip image |
D-11 - Expenses and fuel
| Endpoint | Route name | Who | Queue | What it does |
|---|---|---|---|---|
GET /expense-options |
api.v1.field.expenses.options |
Driver only | no | heads, trips, receipt rule, pumps near me |
GET /expenses |
api.v1.field.expenses.index |
Driver only | no | my expenses |
POST /expenses |
api.v1.field.expenses.store |
Driver only | no (files) | send an expense or a fuel fill with the receipt |
GET /expenses/{expense} |
api.v1.field.expenses.show |
Driver only | no | one expense |
GET /expenses/{expense}/receipt |
api.v1.field.expenses.receipt |
Driver only | no | the receipt image |
D-12 - Report a problem and SOS
| Endpoint | Route name | Who | Queue | What it does |
|---|---|---|---|---|
POST /incidents |
api.v1.fleet.incidents.store |
Driver, Helper | no (photo) | breakdown or accident as a P1 incident |
GET /incidents |
api.v1.fleet.incidents.index |
Driver, Helper | no | what I reported |
GET /incidents/{incident} |
api.v1.fleet.incidents.show |
Driver, Helper | no | one of my reports |
POST /sos |
api.v1.field.sos.store |
Driver, Helper | yes | the SOS button (works with an empty body) |
POST /problems |
api.v1.field.problems.store |
Driver, Helper | no (files) | older problem door with kinds such as puncture, police check |
GET /problems |
api.v1.field.problems.index |
Driver, Helper | no | what I reported through the older door |
GET /problems/{incident} |
api.v1.field.problems.show |
Driver, Helper | no | one report |
GET /problems/{incident}/photos/{index} |
api.v1.field.problems.photo |
Driver, Helper | no | a photo of the report |
GET /problems/{incident}/voice |
api.v1.field.problems.voice |
Driver, Helper | no | the voice note of the report |
D-13 - Duty and rest, attendance
| Endpoint | Route name | Who | Queue | What it does |
|---|---|---|---|---|
GET /duty |
api.v1.duty |
Driver, Helper | no | the month calendar, week bars and the clock |
GET /duty/now |
api.v1.duty.now |
Driver, Helper | no | the live clock, warnings, rest timer, limits |
POST /duty/rest |
api.v1.duty.rest.start |
Driver, Helper | yes | start a rest |
POST /duty/rest/end |
api.v1.duty.rest.end |
Driver, Helper | yes | end the rest |
GET /work/attendance |
api.v1.work.attendance |
Driver, Helper | no | today's attendance, the month's figures, the shift |
POST /work/attendance |
api.v1.work.attendance.store |
Driver, Helper | yes | check in or check out with a location |
D-14 - My documents
| Endpoint | Route name | Who | Queue | What it does |
|---|---|---|---|---|
GET /profile/documents |
api.v1.profile.documents.index |
Driver, Helper | no | my papers with state and what waits for the office |
GET /profile/documents/{document} |
api.v1.profile.documents.show |
Driver, Helper | no | the scan of my own paper |
POST /profile/documents |
api.v1.profile.documents.store |
Driver, Helper | no (file) | send a renewal; waits for the office |
D-15 - Earnings (and the other work and pay pages)
| Endpoint | Route name | Who | Queue | What it does |
|---|---|---|---|---|
GET /cash |
api.v1.cash |
Driver only | no | cash in hand, the month's lines, the newest payslip |
GET /advances |
api.v1.advances.index |
Driver only | no | my advances and the figures |
GET /advances/statement |
api.v1.advances.statement |
Driver only | no | the advance statement as PDF |
GET /advances/{advance} |
api.v1.advances.show |
Driver only | no | one advance with its ledger |
GET /payslips |
api.v1.payslips.index |
Driver, Helper | no | released payslips by year |
GET /payslips/{line} |
api.v1.payslips.show |
Driver, Helper | no | one payslip in detail |
GET /payslips/{line}/pdf |
api.v1.payslips.pdf |
Driver, Helper | no | the payslip PDF |
GET /leave |
api.v1.leave.index |
Driver, Helper | no | leave balances and my applications |
POST /leave |
api.v1.leave.store |
Driver, Helper | yes | apply for leave |
POST /leave/{leave}/cancel |
api.v1.leave.cancel |
Driver, Helper | yes | withdraw a pending application |
GET /vehicle |
api.v1.vehicle |
Driver only | no | my vehicle, papers, defects, requests |
POST /vehicle/change |
api.v1.vehicle.change.store |
Driver only | yes | ask for another vehicle or helper |
POST /vehicle/change/{changeRequest}/cancel |
api.v1.vehicle.change.cancel |
Driver only | yes | withdraw a waiting request |
GET /safety |
api.v1.safety |
Driver only | no | score, fines and incidents |
D-18 - Sync
| Endpoint | Route name | Who | Queue | What it does |
|---|---|---|---|---|
POST /sync/batch |
api.v1.sync.batch |
Driver, Helper | no | the first, simpler way to send queued items (1 to 50) |
POST /sync/replay |
api.v1.sync.replay |
Driver, Helper | no | the queue in order per trip with at windows and retry per item |
GET /sync/changes |
api.v1.sync.changes |
Driver, Helper | no | what changed while the phone was away |
D-19 - Profile, settings, notifications
| Endpoint | Route name | Who | Queue | What it does |
|---|---|---|---|---|
GET /profile |
api.v1.profile.show |
Driver, Helper | no | my profile in one call |
PATCH /profile |
api.v1.profile.update |
Driver, Helper | yes | emergency contact and address only |
GET /settings |
api.v1.settings.show |
Driver, Helper | no | my language, the languages on offer, the app versions |
PATCH /settings |
api.v1.settings.update |
Driver, Helper | yes | save my language |
GET /notifications |
api.v1.notifications.index |
Driver, Helper | no | my alerts with filters |
GET /notifications/unread-count |
api.v1.notifications.unread-count |
Driver, Helper | no | the number for the bell |
POST /notifications/read |
api.v1.notifications.read |
Driver, Helper | yes | mark read or acknowledge an office notice |
Related reading: the shipper's and the office's side of the same work is in 11 - Shipments, delivery and proof; the company's phone app (Traincu app) is in 27 - Mobile app.