Maximo Segundo FonrougeWriting

The potato that cost sixteen times its price

Potatoes were costing a kitchen sixteen times what the supplier charged. Not in real life: in the system. And because potatoes go into many dishes, the error was in 65 recipes. A portion of fries came out at more than fifteen times its real cost.

The cause was simple. Suppliers bill by the bag or by the box. The system read those lines as if they were per kilo or per unit. One bag became one kilo, and the price per kilo went through the roof.

I found it because some recipe costs looked absurd. Then I checked them against what was actually paid that same week. Once the pattern was clear, I wrote a fix that converts bags and boxes into real units without changing any invoice total or tax. It ran first as a test, and every change could be undone.

In the end, 366 invoice lines on 137 invoices were corrected, and 81 ingredient costs were repaired. The real result is harder to count: recipe costs became numbers people could use to set prices again.