In WooCommerce, when a customer makes a purchase, you should immediately create and send the invoice with the order confirmation email. So this process should be automated as you can’t possibly design and create invoices manually for every single order. Therefore, you need to create and set up a pdf invoice template with the help of a plugin like Challan for this process to work.