Hi @nyxln21,
Do you need a hyphen between the year, month, and day? If so, use this prefix, under WooCommerce > PDF Invoice > Documents > Invoice > Number format > Prefix (first field):
FA-[invoice_date="Y"]-[invoice_date="m"]-[invoice_date="d"]-
Then your invoices will look like this: FA-2021-12-31-01
If you prefer to use the date without hyphens, try using this prefix instead:
FA-[invoice_date="Ymd"]-
Then, your invoice number will output like this: FA-20211231-01
Hope it helps!
Hi,
Thanks for this elements 🙂
But I don’t know how to change the intervalle reset of the auto increment number.
“01” is reset every year and I would like to reset it every day
Also, Can I regenerate my old factures with the new number format ?
Thanks
Hey @nyxln21,
If you’d like to reset your Invoices numbers everyday, you could use our free Number Tools extension to either Renumber or Delete existing invoices:


This setting may then also be of interest to you:
(PDF Invoices > Documents)

Hi,
Thanks for your answer
That’s mean I have to manually reset invoice number by clicking on “renumber invoices” every day ?
There is no way to make number reset automaticaly everyday?
Thanks
Forget about my last question, ut’s fine that way.
Thanks!
Hi again @nyxln21,
I think this reply from my colleague @alexmigf fits perfectly with what you want to do with your invoice number (reset it daily): Need to reset Invoice number daily
Let us know if it worked as you wanted!