Right billing and POS system for retail and restaurant