System and method for processing currency bills and tickets