A ticket machine to sale tickets on a terminal. It counts the coins of bank notes and gives the right drawback.