28 - Customer portal: your customers' own window, and the carrier's side of it

Navigation: Index | previous: 27 - Mobile app | next: 29 - Developer and integrations Last checked against the application: 25 Nov 2026

1. Who this guide is for

Two groups of people use this area.

Marketplace shippers and consignees do not use this portal: shippers use their normal company workspace, consignees use a tracking link (see 11 - Shipments, delivery and proof).

2. What you can do here (summary)

Activity Who Screen(s)
Switch the portal on for a customer and invite a person Carrier: settings.client-users Z-14 Client portal users
First sign-in, home page, search, notices, own profile Customer-portal user CP-00, CP-01, CP-14, CP-16
Ask for trucks: draft, submit, cancel, order again, address book Customer with key Orders CP-02, CP-03, CP-04, CP-18
Confirm an order by assigning a truck, or decline it Carrier dispatcher CPA-01 Orders tab, then Requisitions
Follow trips, estimated arrival and live position Customer with key Trips CP-05, CP-06
Open and download proofs of delivery Customer with key Proof of delivery CP-07, CP-08
Read invoices and the statement, pay an invoice Customer with key Invoices and statements CP-09, CP-10, CP-11, CP-12
Share papers with a customer; the customer downloads them and sees its own rates Carrier: customer_documents.*; customer key Documents and rates CPA-03, CP-13
Ask a question and read the answer Any customer-portal user; carrier: customer_requests.* CP-15, CPA-01
Manage the customer's own team Customer with key Manage team CP-17
Choose what customers can do and see Carrier: settings.client-users CPA-02 card on Z-14

3. Before you begin

4. Where to find it

Who Where Address
Customer Sidebar of the portal: Overview (Home), Work (Orders, Trips, Proofs of delivery), Money (Invoices, Statement of account), Library (Documents, Address book), Help (Messages), Account (Team, Profile). Top bar: search, language, bell, your menu /portal
Carrier Settings > Client portal users (Z-14) /settings/client-users
Carrier Settings > Client portal users > Shared documents /settings/client-users/documents
Carrier Workspace sidebar > Outside people > Customer requests (also a tile "Customer requests waiting" on the company home) /app/customer-requests
Carrier Portal settings card at the bottom of Z-14 (shown once at least one portal person exists) /settings/client-users

Under 992 pixels the sidebar becomes a drawer and a bottom bar holds the four main places.

5. The big picture (flowchart)

flowchart TD
  s1(["Carrier switches Portal access on for a customer"]) --> a1["Carrier invites a person on Client portal users"]
  a1 --> o1[/"Person gets an e-mail, chooses a password"/]
  o1 --> a2["Customer signs in and lands on the portal home"]
  a2 --> a3["Customer submits an order for trucks"]
  a3 --> o2[/"Carrier dispatcher sees it in Customer requests"/]
  o2 --> d1{"Carrier can serve it?"}
  d1 -->|"No"| x1(["Declined with a reason the customer reads"])
  d1 -->|"Yes"| sys1[["Truck and driver are assigned: a trip is made"]]
  sys1 --> sys2[["Customer sees the trip, estimated arrival and live position"]]
  sys2 --> sys3[["Driver delivers: proof of delivery appears"]]
  sys3 --> sys4[["Carrier invoices: invoice appears in the portal"]]
  sys4 --> a4["Customer pays online or by bank transfer"]
  a4 --> e1(["Statement shows the payment, the balance goes down"])

6. Activities, step by step

6.1 Carrier: switch the portal on for a customer and invite a person (Z-14)

Purpose - create the login of a customer's person. Who - carrier staff with settings.client-users.

Steps

  1. Open Customers, open the customer (or add it) and set Portal access to Yes - invite a portal user. Save.
  2. Open Settings > Client portal users and press Invite. (If no customer has portal access you see "No client has portal access yet" with a link Open clients.)
  3. Choose the Client (it cannot be changed later: invite the person again for another client).
  4. Fill Full name, Email (this is the sign-in and where the invitation goes), Mobile (optional: the invitation is also sent by SMS).
  5. Under Access tick what the person may open: Orders, Trips, Proof of delivery, Invoices and statements, Documents and rates, Manage team. A new person gets everything except Manage team. Home, search, notifications, messages and the profile are open to everybody.
  6. Press Save and send invitation. The toast says "Invitation sent to ..." or warns that it could not be sent.
  7. The list shows User, Client, Email, Access, Last login ("never" at first), Status.
flowchart TD
  s1(["Carrier opens Client portal users"]) --> a1["Press Invite, choose client, name, e-mail, access"]
  a1 --> a2["Press Save and send invitation"]
  a2 --> d1{"Client has portal access and e-mail is new?"}
  d1 -->|"No"| e1["Red message: fix the form"] --> a1
  d1 -->|"Yes"| sys1[["Login with the Client portal role is made"]]
  sys1 --> sys2[["A portal user row links the login to this customer"]]
  sys2 --> sys3[["Invitation e-mail, and SMS if a mobile was given"]]
  sys3 --> o1[/"Person opens the link and chooses a password within 7 days"/]
  o1 --> a3["Person signs in at the normal sign-in page"]
  a3 --> sys4[["Workspace addresses send a portal login to the portal"]]
  sys4 --> e2(["Status Active, Last login is filled"])

Buttons and actions on the list

Button What it does Who sees it
Invite Opens the invitation form settings.client-users
Edit Changes name, mobile and access boxes same
Resend invite Sends the invitation again (one a minute) same
Deactivate / Activate The person cannot sign in until activated again; a deactivated login is signed out at its next click. Nothing is deleted same

Statuses - Active, Inactive, Locked (shown on the list).

If something goes wrong - "This portal user is not active. Activate the login first." (resending to an inactive login); "The invitation could not be sent to ..." (check the e-mail address).

6.2 Customer: first sign-in, home, search, notices and profile (CP-00, CP-01, CP-14, CP-16)

Purpose - know where your trucks are, get your paperwork, see what you owe and ask for a truck, without calling.

Steps

  1. Open the link in the invitation, choose a password, then sign in. You land on Home.
  2. On Home read the greeting and the Your carrier card (phone, and "Usually replies within N hours" when the carrier set it). Quick actions: Ask for a truck, track a trip, pay an invoice.
  3. The tiles (each only if you hold its key): Active trips, Next arrival, Delivered this month, Orders waiting, New proofs, Open invoices, Overdue, Balance due. Two charts (six months) have their figures in a table under them. Panels: Needs your attention (overdue invoices, declined orders, delayed trips, answered questions, new documents), Arriving soon, Recent proofs of delivery.
  4. Search (top bar): type at least 2 characters of a trip, order or invoice number, your own reference or a plate. If nothing is found: "No match. Try the number from your document."
  5. Notifications (bell): everything that happened to your orders, trips and invoices, unread first; filter Unread only; Mark as read or Mark all as read.
  6. Profile: change Full name, Mobile (optional, used only for delay notices by SMS), Language (Arabic or English), password (Current password, New password, Confirm the new password, tick Sign me out of my other devices), and which notices also reach you by Email or SMS (the portal bell is always on). Your e-mail is read-only: ask the carrier to change it. You also see what you may open.
flowchart TD
  s1(["Person signs in"]) --> d1{"Is it a customer-portal login?"}
  d1 -->|"No"| e1["Page: This area is for our customers"]
  d1 -->|"Yes"| d2{"Login active and customer active with portal on?"}
  d2 -->|"No"| e2["Page: Your access is paused, with the carrier's phone"]
  d2 -->|"Yes"| a1["Portal home opens"]
  a1 --> a2["Person clicks a section"]
  a2 --> d3{"Does the login hold the key of that section?"}
  d3 -->|"No"| e3["Friendly page: This part of the portal is not on your account"]
  d3 -->|"Yes"| e4(["Section opens, only this customer's records"])

What you see when a section is not yours - another customer's record is simply "not found". A section whose key you do not hold shows This part of the portal is not on your account; ask the person who manages your team, or the carrier.

6.3 Customer: ask for trucks (orders and address book) (CP-02, CP-03, CP-04, CP-18)

Purpose - send the carrier a transport request and follow it. Who - key Orders.

Steps - new order

  1. Open Orders and press New order (or Order again on an old order: it fills the form with the old one).
  2. Pickup: choose a Saved address or Type a new address, then City, Address, and the Pickup contact (name and mobile of the person the driver calls).
  3. Delivery: the same, with the Delivery contact.
  4. Pickup time and load: Pickup day, Pickup time (at least N hours from now, set by the carrier; 2 by default), Type of truck, Number of trucks (up to the carrier's limit, 10 by default), Goods, Estimated weight (tons).
  5. Reference and notes: Your reference (your purchase order or job number; it is printed on the invoice) and Notes for the carrier.
  6. The Price guide panel shows "about SAR ... before VAT" from your own agreed rate card when the carrier allows prices and a rate exists; otherwise "Price confirmed by the carrier". The invoice is the only binding amount.
  7. Press Submit request (or Save draft to finish later).
flowchart TD
  s1(["Customer opens New order"]) --> a1["Fill pickup, delivery, day and time, truck type and number, goods"]
  a1 --> d1{"Draft or submit?"}
  d1 -->|"Save draft"| w1["Order stays Draft: only its author sees it"]
  d1 -->|"Submit request"| d2{"Valid: day not in the past, lead time met, trucks within limit?"}
  d2 -->|"No"| e1["Red messages: fix the form"] --> a1
  d2 -->|"Yes"| sys1[["Request is raised once: a second press gives back the first"]]
  sys1 --> w2["Status Submitted, waiting for confirmation"]
  sys1 --> o1[/"Carrier is told: Customer requests, bell and e-mail"/]
  sys1 --> o2[/"Customer gets: We received your request"/]
  w1 --> a2["Open the draft later and submit it"] --> d2

Order page (CP-04) - status chip and a stepper (Request sent, Confirmed, In progress, Completed), the request, Trucks on this order (each links to its trip), and buttons: Edit and Submit request and Delete this draft? (drafts), Cancel this order (with Why do you cancel it?), Order again, PDF (transport request, customer copy), Ask the carrier.

stateDiagram-v2
  [*] --> Draft : Save draft
  Draft --> Submitted : Submit request
  [*] --> Submitted : Submit request
  Draft --> [*] : Delete draft
  Submitted --> PartlyConfirmed : Some trucks assigned
  Submitted --> Confirmed : All trucks assigned
  PartlyConfirmed --> Confirmed : Rest assigned
  Confirmed --> InProgress : A truck is on its way
  InProgress --> Completed : Delivered
  Submitted --> Declined : Carrier declines with a reason
  Submitted --> Cancelled : Customer cancels, no truck yet
  Declined --> [*]
  Cancelled --> [*]
  Completed --> [*]

Statuses (customer words)

Status Meaning What you can do next
Draft Saved, not sent Edit, Submit request, Delete draft
Submitted, waiting for confirmation Sent, no truck yet Cancel this order, wait
Partly confirmed (n of m) Some trucks are assigned Follow the trips; ask the carrier
Confirmed All trucks assigned Follow the trips
In progress A truck is on its way Follow the trip
Completed Delivered Proof, invoice
Declined The carrier could not take it; the reason is shown Order again
Cancelled Cancelled by you or the carrier Order again

Address book (CP-18) - Add a place (Name of the place, City, Address, optional national-address fields Building number, Additional number, Postal code, District, Contact person, Mobile, and Use this place as my usual pickup), Change, Remove; up to 50 places; search. The pick-list on the order form uses it.

If something goes wrong - "The pickup must be at least N hours from now. Please choose a later time." / "You can ask for between 1 and N trucks in one order." / "A truck is already assigned to this order. Please ask the carrier to change it." / "This order can no longer be cancelled here. Please ask the carrier." / "A draft is not sent yet: delete it instead." / "The carrier is not taking new orders in the portal at the moment. Please contact them." (the carrier switched orders off: the list stays readable and a Send a message button is offered).

6.4 Carrier: handle the customer's orders and questions (CPA-01)

Purpose - turn a customer request into a trip, or decline it clearly. Who - customer_requests.view to read, .update to act; the assigning itself needs the dispatch permissions.

Steps

  1. Open Customer requests (workspace sidebar, group Outside people) or the tile "Customer requests waiting". Tabs: Questions waiting (oldest first), Orders, All questions.
  2. On the Orders tab open an order (a requisition from the portal, never a customer's draft). Use Assign vehicle & crew to choose the truck and driver: a trip is created and the customer is told.
  3. If you cannot serve it, press Reject on the requisition, write the Reason for rejecting: the customer reads it as "Declined" with your reason.
  4. If a trip exists already, cancel its trips first; only then can the requisition be rejected or cancelled.
flowchart TD
  s1(["Customer submits an order"]) --> sys1[["Requisition is raised with source portal and status Open"]]
  sys1 --> o1[/"Dispatcher sees it on Customer requests, Orders tab"/]
  o1 --> d1{"Can we serve it?"}
  d1 -->|"Yes"| a1["Press Assign vehicle and crew, choose truck and driver"]
  a1 --> sys2[["A trip is made for the customer's order"]]
  sys2 --> sys3[["Customer is told: truck assigned, with its details"]]
  sys2 --> d2{"All trucks asked for are assigned?"}
  d2 -->|"No"| a1
  d2 -->|"Yes"| e1(["Order shows Confirmed for the customer"])
  d1 -->|"No"| a2["Reject the requisition with a reason"]
  a2 --> sys4[["Order shows Declined with the reason, customer gets e-mail"]]
  sys4 --> e2(["Customer may order again"])

What the customer is told - table in section 6.12.

6.5 Customer: follow trips and live tracking (CP-05, CP-06)

Purpose - see where each truck is and when it arrives. Who - key Trips.

Steps

  1. Open Trips. Tiles: Active now (on the road), Scheduled (not started), Delayed (running late), Delivered this month. Switch View between List and Map.
  2. Filter by state (Active, Scheduled, Delivered, Cancelled), Delayed only, pickup date, city and truck type; search by trip number, order number, your reference, goods or plate.
  3. Open a trip. At the top: the status, Delayed note if a delay was reported, and the big Estimated arrival. Then Progress of the trip, Where is the truck? (map), Trip details, Documents, Timeline.
  4. Buttons: Ask about this trip (opens a question linked to the trip), Print.
stateDiagram-v2
  [*] --> Scheduled
  Scheduled --> TruckAssigned : Truck assigned
  TruckAssigned --> HeadingToPickup : Driver starts
  HeadingToPickup --> Loading : Arrives at pickup
  Loading --> OnTheWay : Loaded and departs
  OnTheWay --> Unloading : Arrives at delivery
  Unloading --> Delivered : Proof recorded
  Scheduled --> Cancelled
  TruckAssigned --> Cancelled
  Delivered --> [*]
  Cancelled --> [*]

The time-window rule for the live position

flowchart TD
  s1(["Customer opens a trip or the map"]) --> d1{"Carrier switched live position on?"}
  d1 -->|"No"| e1["No position: Live tracking is not switched on for your account"]
  d1 -->|"Yes"| d2{"Customer holds the Trips key?"}
  d2 -->|"No"| e2["Section is closed"]
  d2 -->|"Yes"| d3{"Trip is heading to pickup, loading, on the way or unloading?"}
  d3 -->|"No"| e3["No position: not started, or already delivered or cancelled"]
  d3 -->|"Yes"| d4{"Newest fix is less than 6 hours old?"}
  d4 -->|"No"| e4["No position: the last fix is too old"]
  d4 -->|"Yes"| sys1[["Show last position and a trail of the last 3 hours"]]
  sys1 --> sys2[["Position refreshes every 45 seconds"]]
  sys2 --> e5(["No speed, direction or engine data is ever shown"])

Rules to remember

6.6 Customer: proofs of delivery (CP-07, CP-08)

Purpose - get who received your goods, when, and the signature and photo. Who - key Proof of delivery.

Steps

  1. Open Proofs of delivery. Tiles: Delivered clean this month, With a problem this month (short, damaged or refused). Filter by result and date; search; export.
  2. Open a proof: Receiver, Delivered at, Delivery code checked (Yes / No), Result, Signature and photo, Delivery note lines (ordered against delivered), Where it was delivered (position rounded to about 100 m).
  3. Press Download PDF for a bilingual (Arabic and English) document.
  4. If something is wrong press Report a problem with this delivery: it opens a question linked to the delivery (section 6.9).
flowchart TD
  s1(["Driver delivers and records the proof"]) --> sys1[["Proof is stored with signature, photo and result"]]
  sys1 --> sys2[["Trip moves to Delivered, customer is told: Trip was delivered"]]
  sys2 --> a1["Customer opens Proofs of delivery"]
  a1 --> d1{"Result clean?"}
  d1 -->|"Yes"| e1(["Download PDF and keep it"])
  d1 -->|"Short, damaged or refused"| a2["Press Report a problem with this delivery"]
  a2 --> o1[/"Carrier answers in Customer requests"/]

What you never see on a proof - the carrier's internal review status or note, the receiver's phone, a file path.

6.7 Customer: invoices, statement and payment (CP-09 to CP-12)

Purpose - see what you owe, download the signed invoice and pay. Who - key Invoices and statements.

Invoices (CP-09, CP-10) - tiles Open invoices, Overdue, Paid this month, Balance due. Columns: Invoice no., date, due, Trips, Total, Paid, Balance, Status, ZATCA badge. Only issued invoices, debit and credit notes appear: never a draft or a cancelled one. The detail page shows who issued it (seller and buyer as printed, VAT and CR numbers), the lines (trip, description, quantity, unit price, VAT %, net, VAT, total), totals, Payment history, credit and debit notes of the invoice, and the E-invoice card (ZATCA status, issue time). Buttons: Download PDF (the signed invoice with its QR code; if it is not available "The PDF is not available; ask your carrier."), Pay online, Query this invoice (opens a question linked to the invoice), Print.

Statement (CP-11) - Statement of account: choose This month, This quarter, This year or From / To and press Show. Tiles Opening balance, Invoiced, Payments received, Closing balance; What is owed, by age; Movements (date, document, debit, credit, balance); Open invoices with Pay. PDF and Excel downloads. A movement that is not one of your invoices, notes or receipts reads "Adjustment": the carrier's own notes are never printed. The tab Payments lists the payments the carrier received from you and the invoices each settled.

Pay (CP-12)

  1. On an invoice or in Open invoices press Pay online or Pay. You pay the whole balance of one invoice.
  2. Choose How do you want to pay?: mada, Credit or debit card, STC Pay (when the carrier allows online payment and a payment provider is connected) or Bank transfer (always offered).
  3. Press Pay. For an online method you go to a secure payment page. For a bank transfer you get the amount, the Reference to write on the transfer and the carrier's bank details (as printed in the carrier's document footer; if none: "Ask the carrier for its bank details").
  4. The result page tells you: Payment received, Payment pending (the provider has not confirmed yet: you need do nothing), Payment not completed (no money was taken: Try again), or Waiting for your bank transfer.
flowchart TD
  s1(["Customer presses Pay on an invoice"]) --> d1{"Balance above zero and invoice payable?"}
  d1 -->|"No"| e1["Message: This invoice cannot be paid now"]
  d1 -->|"Yes"| a1["Choose mada, card, STC Pay or bank transfer"]
  a1 --> d2{"Online method and provider connected and allowed?"}
  d2 -->|"Yes"| sys1[["Secure payment page of the provider opens"]]
  d2 -->|"No"| sys2[["Bank transfer details and a reference are shown"]]
  sys1 --> d3{"Provider answer"}
  d3 -->|"Paid"| w1["Payment received"]
  d3 -->|"Pending"| w2["Payment pending: webhook will settle it"]
  d3 -->|"Declined"| w3["Payment not completed: try again or use a transfer"]
  sys2 --> o1[/"Carrier finance confirms when the money arrives"/]
  w1 --> sys3[["Receipt is made, invoice shows Paid, customer is told"]]
  o1 --> sys3
  w2 --> sys3
  sys3 --> e2(["Statement and Payments tab show it"])
stateDiagram-v2
  [*] --> AwaitingPayment : Invoice issued
  AwaitingPayment --> PartlyPaid : Part is received
  AwaitingPayment --> Paid : Full amount received
  PartlyPaid --> Paid : Rest received
  AwaitingPayment --> Overdue : Due date passes
  PartlyPaid --> Overdue : Due date passes
  Overdue --> Paid : Paid
  Paid --> [*]

A Credit note shows as such and is taken off its invoice: it is not payable.

If something goes wrong - "Online payment is not available right now. Pay by bank transfer with the details below." / "A bank transfer is already waiting for this invoice. Use the details below." / "A card payment of this invoice is already open. Finish it, or wait a few minutes and we will tell you when it is confirmed." / "This invoice has been paid already." / "The payment page could not be reached. Pay by bank transfer ... or try again in a moment."

6.8 Documents and rates: the carrier shares, the customer downloads (CP-13, CPA-03)

Carrier steps (CPA-03)

  1. Settings > Client portal users > Shared documents > Share a document.
  2. Choose the Customer (cannot be changed later), the Kind (contract, rate sheet, licence, insurance certificate or other), a Title, Valid until (empty if the paper does not end) and the File (one PDF, JPG or PNG up to 8 MB).
  3. Press Share. The customer sees it under Documents and a "new documents" line appears on its home page for 7 days.
  4. To replace the file edit the row and choose a new file; to take it away use Stop sharing (the file is deleted).

Customer steps (CP-13) - Documents and rates has two tabs: Shared with you (kind, title, valid until, size) and Your rates (your own agreed rate cards: lane, truck type, rate basis, rate before VAT, valid from), shown only if the carrier allows prices. A download opens through a link that works once, for 2 minutes; every download is written to the carrier's log. Rates are indicative: the invoice is the only binding amount.

flowchart TD
  s1(["Carrier presses Share a document"]) --> a1["Choose customer, kind, title, valid until and file"]
  a1 --> d1{"File is a PDF, JPG or PNG up to 8 MB?"}
  d1 -->|"No"| e1["Refused: choose another file"] --> a1
  d1 -->|"Yes"| sys1[["File is stored privately and shared with this customer only"]]
  sys1 --> o1[/"Customer sees it on Documents and on the home page"/]
  o1 --> a2["Customer presses Download"]
  a2 --> sys2[["Customer is checked, then one signed link valid 2 minutes is made"]]
  sys2 --> sys3[["Download is logged for the carrier"]]
  sys3 --> e2(["Link cannot be used a second time"])

6.9 Messages: ask the carrier, and the carrier answers (CP-15, CPA-01)

Customer steps

  1. Open Messages and press New question.
  2. Choose the Type: A question, Change or cancel a request, A problem with a trip, A question about an invoice, A problem with a delivery. Choose About (Nothing in particular, or one of your own orders, trips, invoices or deliveries). Fill Subject and Message; Attachment is optional (one PDF, JPG or PNG up to 8 MB).
  3. Press Send question. You are told when the carrier answers; the thread shows Open (you wrote last), Answered (the carrier wrote last) or Closed.
  4. In the thread write a reply (Send reply), Close this question or Open again. Writing again to a closed question opens it.

Carrier steps (CPA-01) - open a question from Customer requests. Take this question (shows you as "Taken by"), write Your answer and Send answer (optional attachment). Your own name never reaches the customer: it reads the company's name. A closed question must be Open again before you can answer. Close this question when done.

stateDiagram-v2
  [*] --> Open : Customer sends a question
  Open --> Answered : Carrier answers
  Answered --> Open : Customer writes again
  Open --> Closed : Close this question
  Answered --> Closed : Close this question
  Closed --> Open : Open again or the customer writes
  Closed --> [*]
flowchart TD
  s1(["Customer sends New question"]) --> sys1[["Thread is made once per press, with a code"]]
  sys1 --> o1[/"Carrier staff with customer_requests.update are told"/]
  o1 --> a1["Staff opens the question and presses Take this question"]
  a1 --> a2["Staff writes Your answer"]
  a2 --> sys2[["Thread becomes Answered, customer is told by bell and e-mail"]]
  sys2 --> a3["Customer reads, may reply"]
  a3 --> d1{"Resolved?"}
  d1 -->|"No"| sys3[["Thread is Open again"]] --> a1
  d1 -->|"Yes"| e1(["Either side closes the question"])

Who sees a thread - the whole customer: colleagues share one conversation, but an invoice question is not shown to a person who cannot open invoices (unless that person asked it). Every other customer sees nothing. The conversation page refreshes by itself every 20 seconds.

6.10 Customer: manage the team (CP-17)

Purpose - let the customer's administrator invite and manage colleagues. Who - key Manage team.

Steps

  1. Open Team. You see only colleagues of your own customer with their access chips and status. The page says "N of M people are switched on".
  2. Press Invite a colleague: Full name, Email, Mobile (optional), and tick What this person can open (only keys you hold yourself). Press Send invitation: the person chooses a password from an e-mail link.
  3. Use Change to change a colleague's name and access, Invite again to resend, Switch off / Switch on to stop or restore the login (a switched-off person is signed out at the next click; nobody is deleted).
flowchart TD
  s1(["Admin presses Invite a colleague"]) --> d1{"Team is full?"}
  d1 -->|"Yes"| e1["Refused: switch somebody off, or ask the carrier to raise the limit"]
  d1 -->|"No"| d2{"Keys ticked are all keys the admin holds?"}
  d2 -->|"No"| e2["Refused: You can only give access that you have yourself"]
  d2 -->|"Yes"| d3{"E-mail and mobile are new?"}
  d3 -->|"No"| e3["Refused: already used by another account"]
  d3 -->|"Yes"| sys1[["Login and portal user are made for this customer"]]
  sys1 --> sys2[["Invitation e-mail says whose portal and what the person can open"]]
  sys2 --> e4(["One audit line is written"])

Guards - you cannot change or switch off yourself ("You cannot change or switch off your own access here. Ask a colleague who manages the team."); you cannot switch off the last person who manages the team ("This is the last person who manages your team. Give the team key to a colleague first, so you always keep at least two."); you cannot reach another customer's people (they are "not found"); the number of people is capped by the carrier (10 by default). An administrator changes a colleague's name and keys only, not e-mail or mobile.

6.11 Carrier: the portal settings (CPA-02)

On Z-14 (Client portal users), below the list, the card Customer portal settings chooses what customers can do and see. A change applies at once to every customer. Press Save portal settings.

Setting (as the card shows it) What it does Starts as
Customers can ask for trucks Off: orders stay readable but a customer who wants a truck is told to ask you On
Show prices A new order shows an indicative price from the customer's own rate card, and the Your rates tab On
Show the truck on the map The customer sees the last position of a truck that is on the road for it (loading, driving, unloading) On
Show the driver's phone The customer sees the driver's mobile while loading, on the way or unloading Off
Customers can pay online Offers mada, card and STC Pay when a payment provider is connected; off = bank transfer only On
Usual reply time (hours) Shown as "usually replies within N hours"; empty says nothing empty
People per customer Most people of one customer switched on at once 10
Earliest pickup (hours ahead) A customer cannot ask for a pickup sooner than this 2
Trucks per order Most trucks one order can ask for 10

6.12 What the customer can and cannot see, and who is told what

The customer sees only records of its own customer account: its trips and orders, proofs of delivery, issued invoices and statement, shared documents, and its own rates. Another customer's record is always "not found".

The customer never sees the carrier's cost, margin or profit; other customers or their people; the driver's surname, identity number, licence or (unless switched on) mobile; internal notes and reasons of the carrier's staff; the carrier's review of an exception; draft or cancelled invoices and the books' own notes; speed, direction or engine data of a truck; a position outside the time window of 6.5.

A portal login can never open the company workspace: every workspace page sends it back to the portal home, and every attempt to save something there is refused.

Notices - sent to the portal users of that customer holding the key of the section, in the person's language:

Event Customer is told Channels
Order submitted "We received your request" Bell, e-mail
Order declined or cancelled by the carrier The order and the reason Bell, e-mail
Truck assigned Truck type, plate, driver first name, pickup time Bell, e-mail
Loaded and on the way "Your shipment is on the way" with the estimate Bell
Trip delayed Safe reason and the new estimate (every delay) Bell, e-mail, SMS if an SMS gateway exists
Delivered Time, receiver and a link to the proof Bell, e-mail
Invoice issued / overdue Number, total, due date / overdue amount and days Bell, e-mail
Payment received Amount and invoice Bell, e-mail
Question answered Subject and the first lines Bell, e-mail

The carrier is told when an order arrives, when a question arrives or a customer writes again, and when a customer chooses a bank transfer (to finance). Every portal notice opens the customer's own record in the portal.

7. Screen by screen

The customer screens use the plan's codes CP-nn; the carrier's screens CPA-nn. None has a Dev Pack code.

/portal/search (portal.search). Any portal login. One box in the top bar: trip, order or invoice number, your reference or a plate; at least 2 characters; results grouped by section and only for sections you hold. Empty answer: "No match. Try the number from your document."

CP-01 - Home

/portal (portal.home). Any portal login; tiles follow your keys. See 6.2. A customer with nothing yet sees "Welcome to your portal" and what appears once the carrier starts working with it. No print or export (a dashboard is not a record).

CP-02 - Orders

/portal/orders (portal.orders.index). Key Orders. Tiles Waiting for confirmation, Confirmed, In progress, Declined (each filters the list); columns Order, Your reference, From to, Pickup date, Truck type and count, Status, Trips n of n, Created; filters status, pickup date, city; search; Excel / CSV / PDF export; under 768 px cards. Row buttons View, Order again, Cancel. See 6.3.

CP-03 - New or edit order

/portal/orders/new, /portal/orders/{id}/edit (portal.orders.create, portal.orders.edit), repeat at /portal/orders/{id}/repeat, price guide portal.orders.estimate. Key Orders. Fields and rules in 6.3.

CP-04 - Order detail

/portal/orders/{id} (portal.orders.show), PDF portal.orders.pdf. Key Orders; another customer's order is "not found". See 6.3.

CP-05 - Trips

/portal/trips (portal.trips.index, ?view=map). Key Trips. Tiles Active now, Scheduled, Delayed, Delivered this month; columns trip number, order or reference, From to, pickup, arrival (estimate or actual), status chip, truck, proof icon; filters; search; export; map view of trucks on the road with a fresh position (others are listed with the reason). See 6.5.

CP-06 - Trip detail

/portal/trips/{id} (portal.trips.show), live data portal.trips.live. Key Trips. See 6.5.

CP-07 - Proofs of delivery

/portal/proofs (portal.proofs.index). Key Proof of delivery. See 6.6. The first column is the trip's code (a proof has no number of its own).

CP-08 - Proof viewer

/portal/proofs/{id} (portal.proofs.show), files portal.proofs.file, PDF portal.proofs.pdf. See 6.6.

CP-09 - Invoices

/portal/invoices (portal.invoices.index). Key Invoices and statements. Filters status (in the customer's words), type, date, overdue only; export; cards under 768 px. See 6.7.

CP-10 - Invoice detail

/portal/invoices/{id} (portal.invoices.show), PDF portal.invoices.pdf. See 6.7.

CP-11 - Statement of account

/portal/statement (portal.statement), PDF and Excel, tab portal.payments. See 6.7.

CP-12 - Pay an invoice

/portal/invoices/{id}/pay (portal.invoices.pay), result page portal.invoices.paid. See 6.7.

CP-13 - Documents and rates

/portal/documents (portal.documents.index), download portal.documents.download. Key Documents and rates. See 6.8.

CP-14 - Notifications

/portal/notifications (portal.notifications). Any portal login. See 6.2.

CP-15 - Messages

/portal/messages, /portal/messages/new, /portal/messages/{id}. Any portal login. See 6.9. A new question can be limited to 10 a minute.

CP-16 - Profile and language

/portal/profile (portal.profile). Any portal login. See 6.2.

CP-17 - Team

/portal/team, /portal/team/new, /portal/team/{id}/edit. Key Manage team. See 6.10.

CP-18 - Address book

/portal/addresses (portal.addresses.index). Key Orders. See 6.3. No export (it is the customer's own short list).

CP-19 - Share tracking (not built)

Planned as a signed, expiring read-only link a customer could give its consignee. Not available yet.

CPA-01 - Customer requests (carrier side)

/app/customer-requests (portal-inbox.index), one question portal-inbox.show. customer_requests.view / .update; the company must be a carrier or owner-operator. Tabs Questions waiting (Question, Customer, Type, Status, Taken by, Last message, Waiting), Orders (Customer orders, filters Customer, Status, Need date) and All questions. See 6.4 and 6.9.

CPA-02 - Portal settings (carrier side)

A card on Z-14, saved by portal-settings.update. settings.client-users. See 6.11.

CPA-03 - Shared documents (carrier side)

/settings/client-users/documents (portal-docs.index, .create, .edit). customer_documents.view|create|update|delete. Search, customer and kind filters, export. See 6.8.

Z-14 - Client portal users (carrier side)

/settings/client-users (settings.client-users). settings.client-users. See 6.1.

Shell pages

8. Tips and common questions

Q: A customer says it cannot sign in. Check Z-14: is the person Active? Is the customer's Portal access on? Send Resend invite (the link lasts 7 days). A paused customer sees "Your access is paused".

Q: Why can a customer not see its invoices? The person does not hold the key Invoices and statements, or the invoice is still a draft. Drafts and cancelled invoices never reach the portal.

Q: The map shows no truck. The position is shown only when the carrier switched it on, the trip is heading to pickup, loading, on the way or unloading, and the last position is less than 6 hours old (6.5).

Q: The customer wants the driver's phone number. It is off by default. Switch Show the driver's phone on (6.11); even then it shows only while loading, on the way or unloading.

Q: Can the customer change an order after a truck is assigned? No: it must Ask the carrier. Cancel is possible only while the order is open and has no truck.

Q: The invoice PDF says "not available". The PDF is produced by the Finance area and exists only for ZATCA companies with an issued document. Ask the carrier's finance.

Q: Why does the customer's statement show "Adjustment"? A movement that is not one of its own invoices, credit notes or receipts is shown without the carrier's text.

Q: Can two customers see each other's team? No. The team page lists only colleagues of the same customer; anything else is "not found".

Q: A customer's colleague cannot be switched off. You cannot switch off yourself, nor the last person who manages the team: give the team key to a colleague first.

Q: Where is the sign of a new customer question for the carrier? On the company home tile "Customer requests waiting", in the bell, and in Customer requests.

Q: Does the portal need the mobile app? No, it is a web page that works on a phone; the mobile app is described in 27 - Mobile app.

9. Page reference (for support and testing)

One row for every page (GET address) of this guide. A route name is what support and testers quote.

Page Address Route name Who can open (permission / activity) Described in
Customer requests (carrier inbox) /app/customer-requests portal-inbox.index carrier workspace: customer_requests.view; activity carrier,owner_operator CPA-01, 6.4
One customer question /app/customer-requests/{id} portal-inbox.show carrier workspace: customer_requests.view; activity carrier,owner_operator CPA-01, 6.9
Question attachment (download) /app/customer-requests/{id}/files/{message} portal-inbox.file carrier workspace: customer_requests.view; activity carrier,owner_operator 6.9
Home /portal portal.home Customer-portal login CP-01, 6.2
Address book /portal/addresses portal.addresses.index Customer-portal login (portal key: orders) CP-18, 6.3
Documents and rates /portal/documents portal.documents.index Customer-portal login (portal key: documents) CP-13, 6.8
Download a document (download) /portal/documents/{id}/download portal.documents.download Customer-portal login (portal key: documents) 6.8
Signed single-use document link (download) /portal/documents/{id}/file portal.documents.file Customer-portal login (portal key: documents) 6.8
Enter the portal (redirect) /portal/enter portal.client Customer-portal login 6.1
Invoices /portal/invoices portal.invoices.index Customer-portal login (portal key: invoices) CP-09, 6.7
Invoice /portal/invoices/{id} portal.invoices.show Customer-portal login (portal key: invoices) CP-10, 6.7
Payment result /portal/invoices/{id}/paid portal.invoices.paid Customer-portal login (portal key: invoices) CP-12, 6.7
Pay an invoice /portal/invoices/{id}/pay portal.invoices.pay Customer-portal login (portal key: invoices) CP-12, 6.7
Invoice PDF (download) /portal/invoices/{id}/pdf portal.invoices.pdf Customer-portal login (portal key: invoices) CP-10, 6.7
Messages /portal/messages portal.messages.index Customer-portal login CP-15, 6.9
New question /portal/messages/new portal.messages.create Customer-portal login CP-15, 6.9
One question (conversation) /portal/messages/{id} portal.messages.show Customer-portal login CP-15, 6.9
Message attachment (download) /portal/messages/{id}/files/{message} portal.messages.file Customer-portal login 6.9
Conversation refresh (background data) /portal/messages/{id}/updates portal.messages.updates Customer-portal login 6.9
Notifications /portal/notifications portal.notifications Customer-portal login CP-14, 6.2
Orders /portal/orders portal.orders.index Customer-portal login (portal key: orders) CP-02, 6.3
Price guide (background data) /portal/orders/estimate portal.orders.estimate Customer-portal login (portal key: orders) CP-03, 6.3
New order /portal/orders/new portal.orders.create Customer-portal login (portal key: orders) CP-03, 6.3
Order /portal/orders/{id} portal.orders.show Customer-portal login (portal key: orders) CP-04, 6.3
Edit a draft order /portal/orders/{id}/edit portal.orders.edit Customer-portal login (portal key: orders) CP-03, 6.3
Transport request PDF (download) /portal/orders/{id}/pdf portal.orders.pdf Customer-portal login (portal key: orders) CP-04, 6.3
Order again (form) /portal/orders/{id}/repeat portal.orders.repeat Customer-portal login (portal key: orders) CP-03, 6.3
Payments (tab of the statement) /portal/payments portal.payments Customer-portal login (portal key: invoices) CP-11, 6.7
Profile /portal/profile portal.profile Customer-portal login CP-16, 6.2
Proofs of delivery /portal/proofs portal.proofs.index Customer-portal login (portal key: epod) CP-07, 6.6
Proof of delivery /portal/proofs/{id} portal.proofs.show Customer-portal login (portal key: epod) CP-08, 6.6
Signature or photo (download) /portal/proofs/{id}/file/{kind} portal.proofs.file Customer-portal login (portal key: epod) CP-08, 6.6
Proof of delivery PDF (download) /portal/proofs/{id}/pdf portal.proofs.pdf Customer-portal login (portal key: epod) CP-08, 6.6
Search /portal/search portal.search Customer-portal login CP-00, 6.2
Statement of account /portal/statement portal.statement Customer-portal login (portal key: invoices) CP-11, 6.7
Statement PDF (download) /portal/statement/pdf portal.statement.pdf Customer-portal login (portal key: invoices) CP-11, 6.7
Statement Excel (download) /portal/statement/xlsx portal.statement.xlsx Customer-portal login (portal key: invoices) CP-11, 6.7
Team /portal/team portal.team.index Customer-portal login (portal key: users) CP-17, 6.10
Invite a colleague /portal/team/new portal.team.create Customer-portal login (portal key: users) CP-17, 6.10
Change access /portal/team/{id}/edit portal.team.edit Customer-portal login (portal key: users) CP-17, 6.10
Trips /portal/trips portal.trips.index Customer-portal login (portal key: trips) CP-05, 6.5
Trip /portal/trips/{id} portal.trips.show Customer-portal login (portal key: trips) CP-06, 6.5
Live position (background data) /portal/trips/{id}/live portal.trips.live Customer-portal login (portal key: trips) CP-06, 6.5
Shared documents (carrier side) /settings/client-users/documents portal-docs.index carrier workspace: customer_documents.view CPA-03, 6.8
Share a document /settings/client-users/documents/new portal-docs.create carrier workspace: customer_documents.create CPA-03, 6.8
Edit a shared document /settings/client-users/documents/{document}/edit portal-docs.edit carrier workspace: customer_documents.update CPA-03, 6.8

Actions: buttons and forms

Each button or form that saves something. All of them are POST, PUT, PATCH or DELETE requests and need the same screen access as the page they sit on, plus the permission shown.

Action Method Route name Permission / activity Described in
Close this question (carrier) POST portal-inbox.close customer_requests.update; activity carrier,owner_operator 6.9
Open again (carrier) POST portal-inbox.reopen customer_requests.update; activity carrier,owner_operator 6.9
Send answer POST portal-inbox.reply customer_requests.update; activity carrier,owner_operator 6.9
Take this question POST portal-inbox.take customer_requests.update; activity carrier,owner_operator 6.9
Save the place POST portal.addresses.store Customer-portal login 6.3
Save changes (a place) PUT portal.addresses.update Customer-portal login 6.3
Remove (a place) DELETE portal.addresses.destroy Customer-portal login 6.3
Pay POST portal.invoices.pay.start Customer-portal login 6.7
Send question POST portal.messages.store Customer-portal login 6.9
Close this question POST portal.messages.close Customer-portal login 6.9
Open again POST portal.messages.reopen Customer-portal login 6.9
Send reply POST portal.messages.reply Customer-portal login 6.9
Mark all as read POST portal.notifications.read-all Customer-portal login 6.2
Mark as read POST portal.notifications.read Customer-portal login 6.2
Submit request / Save draft POST portal.orders.store Customer-portal login 6.3
Submit request / Save draft (edit) PUT portal.orders.update Customer-portal login 6.3
Delete draft DELETE portal.orders.destroy Customer-portal login 6.3
Cancel this order POST portal.orders.cancel Customer-portal login 6.3
Submit request (from the order page) POST portal.orders.submit Customer-portal login 6.3
Save changes (profile) PUT portal.profile.update Customer-portal login 6.2
Save my choices PUT portal.profile.notifications Customer-portal login 6.2
Send invitation POST portal.team.store Customer-portal login 6.10
Save changes (team) PUT portal.team.update Customer-portal login 6.10
Invite again POST portal.team.invite Customer-portal login 6.10
Switch off / Switch on PATCH portal.team.status Customer-portal login 6.10
Share (a document) POST portal-docs.store customer_documents.create 6.8
Save (a shared document) PUT portal-docs.update customer_documents.update 6.8
Stop sharing DELETE portal-docs.destroy customer_documents.delete 6.8
Save portal settings PUT portal-settings.update settings.client-users 6.11