The gap, found before you are
Every source of money for the day is pulled, added up and compared overnight. What agrees is closed. What does not agree is on one short list in the morning.
The half hour at the end of service is not the expensive part. The expensive part is the night nobody had the energy to check, and the small shortfall that turned out to be a card terminal batch that never settled.