@Irving Precisely, thanks for further elaborating. I will try with ESP32 or an arudino. I'm further emphasizing to keep it simple on display meter rather than the bluetooth connected app.The TS is in India. Western concepts of accuracy and regulation, outside major cities may not apply (or even in them, based on my limited experience of working there in New Delhi and Bangalore in the late 1990s).
So what the TS wants, and should have explained at the start, is to measure, more accurately than the fuel gauge (which on most cars is fairly inaccurate anyway) how much fuel has been deposited in the tank by measuring the flow rate over time in the filler pipe.
A suitable fuel-rated sensor of the type suggested, measuring flow over a time-period triggered by a non-zero flow rate should be good enough, say within a few % points, to determine whether short-fuelling has occurred.
A simple single board computer, eg ESP32 or similar and an app on the phone, communicating via Bluetooth is easy to implement (i did something not dissimilar for a tachometer a year or so ago) and works well in an automotive environment subject to good supply rail regulation and decoupling (i recommend an isolated dc-dc converter, it just makes its so much easier to get a clean supply).