How to send PDF ticket after payment?

When I do an order and pay with credit card, I receice the woocommerce email included :1. details for the paiement2. the tickets on PDF file.I want to send the pdf file ONLY if the order is completed.How to choose which email have to attached the pdf ticket?