What is the order of tests, and why?
- Non-fuel: if the product is not diesel, unleaded or exhaust fluid, flag the whole amount.
- Over max fill: gallons above your limit; amount is the excess gallons at that fill's price per gallon.
- Price outlier: price per gallon above the multiple of the median; amount is the gap to the median times gallons.
- Quick refill: a fuel fill sooner than the minimum gap after the previous fuel fill on the card; amount is the whole second fill.
The order puts the clearest cases first so one purchase is never counted twice.
Worked examples from the demo
| Purchase | Working | Result |
|---|---|---|
| C-1044, Nov 4 02:15, 160 gal, $592.00 | 160 - 150 = 10 gal; 10 x ($592.00 / 160 = $3.70) | Over max fill, $37.00 |
| C-1046, Nov 6, 88 gal, $493.68 | $493.68 / 88 = $5.61; limit 1.25 x $3.70 = $4.63; ($5.61 - $3.70) x 88 | Price outlier, $168.08 |
| C-1042, Nov 16 09:30, 40 gal | Previous fill 06:20; 3 h 10 min is under 4 h | Quick refill, $148.00 |
| C-1041, Nov 3 11:20, 24 gal | Previous fill Nov 2 06:10; 29 h | Clear |
Why use the median?
A median is not pulled by one wild price, so a single outlier does not hide itself by raising the average. It is also computed only from diesel and unleaded purchases with gallons, so exhaust fluid, which sells at a different price, does not distort it. Local differences are real, though, so the multiple is yours to choose.
Why four tests and not more?
Because each can be explained in a sentence and rechecked with a calculator. A model that scored every purchase for risk would give a number you could not argue with or correct. Four plain rules leave you able to say exactly why a line is on the list, which matters when you speak to the person who made the purchase. More tests are possible, such as odometer or location checks, but they need data a card file does not contain, so they are described and not built.
What does the tool leave to people?
- Asking the driver, which is the only way to learn why.
- Checking the route and the tank size for a flagged fill.
- Deciding what your fuel policy says happens next.
- Treating drivers fairly: a flag is not an accusation.
Frequently asked questions
How does Fuel Card Audit work?
It sorts purchases and tests each against four rules in a fixed order.
Why does a purchase get only one flag?
To avoid double counting.
Does it read odometers?
No.
What does it need?
A card export as a CSV.