In Odoo POS transaction by default generates an order receipt for customer reference.

But at times when you get the request to provide invoice you don’t need to think it over.