Billing machine with barcode scanner