Diesel management for construction, mining and fleets in Morocco
For construction firms, mines, quarries and fleets operating in Morocco: every delivery, tank, pump and machine reconciled every day, and every discrepancy sent to a person with its documents.
The system in two minutes
From the delivery to the machine's engine: receiving, the pump, the tanks, the mobile bowsers, the machines, the trucks and every site on one screen. The film is in French.
A system that reads every litre four times
Mirage Metrics deploys and runs a diesel management system in Morocco for construction companies, mines, quarries and truck fleets. It reads every litre four times, at delivery, in the tank, at the pump and in the machine, and flags every discrepancy with the delivery note, the transaction and the machine that explain it.
Less diesel on Transwin's fleet, 550 trucks and more than 100 machines
Business hours for a first reply, from an engineer
Week to the proof of concept, on your data
Weeks to the first workflow in production

Where the diesel goes on a Moroccan site or mine
The distributor's invoice says how much diesel the company bought. It does not say where it went. On a Moroccan site, litres go missing in six known places.
The delivery
A delivery note signed without measuring the rise in the tank. The gap with the order turns up on the invoice, when it is too late to dispute it.
The bowsers
A fuel bowser refuels the machines on site, with no meter reading taken at each fill. What it dispensed is compared with nothing.
Paper fuel slips
The pump attendant writes down the machine and the litres by hand. The slips arrive at the end of the week, if they arrive, and nobody reconciles them with the tank.
Rented machines
A rented machine fills up from your tank. Its litres disappear into the site total instead of going to the rental contract.
Subcontractors
Diesel dispensed to a subcontractor's machines has to be recharged. Without a document for each fill, the recharge becomes an argument.
Fuel cards
Fills made at a filling station with a distributor's card live in another statement. The site tank is not in it, and the fleet total is rebuilt by hand.
How Mirage reconciles every litre
Five steps, from the distributor's truck to the machine's engine. Each reads what you already have and gives your team a document it can check.
Receiving
The delivery, the purchase order and the delivery note, in Odoo or your ERP.
The delivery validated against the measured rise in the tank.
Stock
Fixed tanks and bowsers, by probe or dipping, corrected to 15 °C.
Book stock and measured stock, every day.
Dispensing
Pumps and terminals, badge or RFID, the attendant's entry on mobile.
Every litre tied to a machine and a site.
Consumption
Engine hours, kilometres, tonnes hauled.
Litres per hour, per kilometre or per tonne.
Alert
The discrepancies between those readings.
A dated alert, documents attached. A person decides.
Pump attendants and site managers enter data in a mobile app. Operations, finance and purchasing see every site in one view.
One day of reconciliation on a site
A depot tank as the system reads it when the day closes. When the readings agree, nothing happens. When they diverge, the discrepancy becomes an alert.
Settat depot, tank 2, one day
Illustrative example
Tank
| Time | Vehicle | Pump | Dispensed | Expected |
|---|---|---|---|---|
| 06:12 | Truck 07 | P1 | 412 L | 405 L |
| 06:31 | Truck 12 | P1 | 388 L | 391 L |
| 07:05 | Loader 03 | P2 | 615 L | 602 L |
| 41 other transactions | 3,225 L | 3,212 L | ||
| 23:10 to 23:40 | No transaction | Tank 2 | - 180 L |
The day's three readings
Delivery and tank agree: 15 L apart on 12,000 L, within the gauge's tolerance.
Pumps and vehicles agree: 30 L apart, under the threshold set for this site.
Tank and pumps differ by 180 L, drawn between 23:10 and 23:40 with no transaction. The depot manager gets the alert with the probe's curve and the delivery note.
When a discrepancy becomes an alert
Every measuring instrument has its own margin of error. The system only flags a discrepancy larger than the instruments can explain on their own.
15 °C
Comparable volumes
Diesel expands with heat. Every volume, delivered, stored or dispensed, is corrected to 15 °C before it is compared.
0.5%
The pump
Maximum permissible error of a class 0.5 measuring system, under OIML recommendation R 117-1.
4 mm
The tank gauge
Maximum permissible error of an automatic level gauge once installed, under OIML recommendation R 85.

What Morocco changes
A deregulated price, a yearly declaration, aid paid per vehicle, cards tied to one network: in Morocco, a fleet's diesel is managed by the litre.
+4.18 DH/L
A price that follows the markets
The pump price of diesel has been deregulated since the end of 2015. Between 1 March and 16 May 2026 it rose by 4.18 dirhams (DH) a litre, in step with international prices. Every litre that cannot be explained costs that much more.
Conseil de la concurrence (competition authority), opinion A/3/22 (2022), note on hydrocarbons of 1 June 2026
1 February
Diesel and kilometres, declared every year
To deduct VAT on its trucks' diesel, a company declares before 1 February the amount and volume of diesel bought in the past year and the kilometres driven. A register kept vehicle by vehicle gives those figures without rebuilding them.
Code général des impôts 2026 (Morocco's tax code), art. 106, and decree no. 2-06-574, art. 27
6,000 DH
Aid paid per vehicle
Since 2022 the state has supported road hauliers against the price of diesel. The 2022 scale ran from 2,600 DH for a 3.5 to 14 t truck to 6,000 DH for a tractor unit. Relaunched on 20 March 2026, the support is paid every two weeks.
Fuel cards tied to their distributor
Distributors offer fleets cards with per-driver authorisation and online reporting, and TotalEnergies a device that compares the tank with its card's transactions. Each tool sees its own network: your depot tank and the fills made elsewhere stay outside it.
Afriquia, business payment solutions, TotalEnergies Maroc, TC Fleet

By sector
Diesel does not go missing in the same place on a construction site, a mine, the road or a group's accounts. Reconciliation starts from the way each one refuels.
Construction
Bowsers refuelling on site, machines tracked by engine hours, rented machines and subcontractors.
- Litres per engine hour, machine by machine
- Rented machines and subcontractors tracked separately, for recharging
- Bowsers reconciled with deliveries
Mines and quarries
Fixed tanks, pump terminals, heavy machines that burn by the hour, and tonnes hauled.
- Delivery, tank, pump and machine reconciled every day
- Litres per hour and per tonne, compared with the machine family
- Instrument tolerances taken into account
Transport and logistics
A depot tank, fills on the road, trucks tracked by the kilometre.
- Depot tank and consumption in one balance
- Litres per 100 km per truck, from the telematics
- Limits and time windows per vehicle
Multi-site groups
Finance and purchasing see the diesel of every site in one view, with the documents for each discrepancy.
- Diesel cost per site and per project
- Deliveries disputed with the documents in hand
- Validation in the ERP and an audit trail
GPS tracker with fuel probe, fuel card or reconciliation
The three tools do not answer the same question. A tracker watches one vehicle's tank, a card pays for a fill at a station, reconciliation follows the litre from the delivery to the machine.
| What is read | GPS tracker with probe | Fuel card | Mirage reconciliation |
|---|---|---|---|
| The distributor's delivery | No | No | The delivery note compared with the measured rise in the tank |
| The depot or site tank | No | No | Book and measured stock, every day, at 15 °C |
| The vehicle's tank | The level and its sudden drops | No | Read from the telematics, where it exists |
| Fills at a station | No | Fills paid with the card, in the distributor's network | Out of scope today |
| Machines with no GPS or probe | No | No | Through the attendant's entry and the engine hours |
| The discrepancy and its documents | A level alert on the vehicle | A statement of transactions | A dated alert with the delivery note, the transaction and the machine |
Reconciliation replaces neither the tracker nor the card: it reads the telematics already installed and connects to the equipment in place.
In production at Transwin
A Moroccan logistics operator, based in El Jadida, Jorf Lasfar and Casablanca, that hauls mining, fertilizer, steel and agri-food freight. Diesel management is one of the five systems Mirage runs there.
Lower fleet diesel consumption
Systems live across freight, fuel, mining and fleet
Specialized trucks and 100+ machines
Transwin, from the case study's results.

“We started with one workflow, and Mirage has been alongside us at every step since. Every process we brought them, they built and put into production. Today they are not a supplier we buy software from. They are our AI partner.”
- Before
- Operational data lived in separate systems, spreadsheets and teams. Mining machines failed expensively and unpredictably, and no one had a single view of the business.
- Diesel
- Deliveries validated in Odoo against the purchase order and the delivery note, on-site tanks, pumps and vehicle transactions, attendants' entry on mobile, a multi-site view. The system is extending to other sites and to the bowsers.
- Now
- Five systems in production across freight, fuel, mining and fleet, grown from a single paid document workflow.
Connected to what you already have
Odoo, ERP, pumps, probes, telematics: the system reads the equipment and software in place. Nothing is migrated, and no pump or tank has to be replaced.
ERP and purchasing
Dynamics
Machines and fleet
Maintenance and data
Maximo
PI System
And in the field: pumps and dispensing terminals, level probes, telematics and GPS, RFID and badges, Excel exports.
More than 200 systems already connected by Mirage. Odoo is in production at Transwin. The brands named are systems Mirage connects to, not clients or partners.
How a deployment runs
- Observe
- Map
- Build
- Run
- Expand
A first reply from an engineer within two business hours, a proof of concept on one site's data one week after the first meeting, a fixed-price pilot, then the first workflow in production in 4 to 6 weeks. Mirage then runs the system with your teams.
See how we deploySecurity and governance
- Deploy anywhere
- Control every action
- Prove what happened
Access permissions, validation workflows and audit logs remain fully controlled by your organization. Signed NDA on request.
See security and data handlingFrequently asked questions
By reconciling four readings of the same litre: the delivery, the tank, the pump and the machine. A drop in the tank with no transaction, a delivery below the delivery note, a fill larger than the tank or consumption outside the machine's history comes up as a dated alert, with the documents that explain it. A person on your side decides.
The tracker watches one vehicle's tank and alerts on a sudden drop. It sees neither the distributor's delivery, nor the depot or site tank, nor the machines that are not fitted with one. Reconciliation reads the telematics already installed and sets it beside the delivery, the tank and the pump.
No. The system connects to the pumps, terminals, probes and ERP in place. Where there is no probe, manual dipping is enough, and where there is no terminal, the attendant enters each fill on mobile.
Yes. At Transwin, deliveries are validated in Odoo against the purchase order and the delivery note before they are booked. The system also connects to SAP, Sage, Oracle and Microsoft Dynamics.
Every machine, rented and subcontracted ones included, is identified at refuelling, by badge, RFID or the attendant's entry. Its litres are tracked separately, with the document for each fill, to charge them to the rental contract or recharge them.
A proof of concept one week after the first meeting, on one site's data, then a first workflow in production in 4 to 6 weeks. A network of several sites with mixed equipment takes longer and is scoped at the first meeting.
Mirage's engineers, including a team in Casablanca. They adjust each site's rules with your teams and add sites and bowsers as they go.
Bring us the operation you need to improve.
Mirage will map the workflow, identify what can be automated and define the fastest path to production.
Start with one workflow
Leave your work email, then pick a time for a 30-minute call on the workflow where your team loses the most time. You leave with a written plan to automate it. No commitment.
