How to block automatic sending of pdf invoices

How to set up a PDF invoice so that it is not sent automatically when purchasing a product in e-commerce? I would like to attach invoices myself from my software and then send them to the client.

Replies are visible only to logged in members with an active subscription.