Thank you for your response.
The majority of orders placed on this system are through the backend, so the invoice needs to be generated and sent to the client to allow payment to be made.
But I understand the difficulty if an order is placed from the frontend.
Thank you for your response.