A coin operated machine, preferably a gaming machine for a casino but also including vending machines, having a removable coin collecting box and electronic memory for associating the box with the machine to enable subsequent reconciling of accounts.