Plugin Contributor
Ewout
(@pomegranate)
Hi! The plugin has 2 options for the invoice number and date:
Invoice number can be set to “Invoice number” or “Order Number” and likewise, date can also be set to “invoice date” or “order date”:

In your case you will want to set both of these options to the “invoice” one. This will make sure the number and date are only created when you first create or send the PDF invoice.
Next, you will want to make sure that the invoice is not attached too early, because if you send it for example with the “New order (Admin email)”, this will create the invoice (including number and date) as soon as the order is placed. For that reason we recommend setting the attachment to “Processing” and “Completed” emails. More information: https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/invoice-numbers-explained/#when-is-the-pdf-invoice-number-assigned
Yes, I habe xonfigurated like you say…
I am working with ultimate member and woocommerce quotation plugins.
Is it possible that a customer make de order today and pay next week, and pther customer make the order tomorrow and pay tomorrow.
In this case, your plugin generate the invoice number 1 the customer pay later and the invoice nimber 2 the customer pay tomorrow, when it must be on the contrary.
Qhile, another problem is that the customer doesnt pay, the order generate a invoice number too, which is no correct because never pay…
Plugin Contributor
Ewout
(@pomegranate)
I understand, I recommend reading the link from my previous post:
When is the invoice number assigned
In short: the invoice number is only created when the PDF is requested (either when you press the button in the backend or when it is emailed). I recommed you double check whether the invoice is not attached too “early”, and just in case, only attach it to the “completed” order email (no other emails!). And remember that clicking the PDF invoice button will always generate the invoice immediately and at that moment the date of the invoice will be set.
Plugin Contributor
Ewout
(@pomegranate)
small addition to my previous message: if you want to prevent the creation of invoice for the unpaid orders (even manually!), I recommend setting all the unpaid statuses in the “disable for” setting:
