• Resolved nyxln21

    (@nyxln21)


    Hi,

    I would like to formate my facture number like this :

    FA-[invoice_year]-[invoice_month]-[invoice-day]-01

    01 is auto-incement number which reset every day

    Can you explain me how I can do that ?

    Many thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    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!

    Thread Starter nyxln21

    (@nyxln21)

    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

    Thread Starter nyxln21

    (@nyxln21)

    Up ?

    Thread Starter nyxln21

    (@nyxln21)

    Anyone ?

    Plugin Contributor Darren Peyou

    (@dpeyou)

    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:

    number-Tools-Tools-Tab

    number-Tools-Delete

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

    next-Number

    Thread Starter nyxln21

    (@nyxln21)

    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

    Thread Starter nyxln21

    (@nyxln21)

    Forget about my last question, ut’s fine that way.
    Thanks!

    Plugin Contributor Yordan Soares

    (@yordansoares)

    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!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Custom the facture number’ is closed to new replies.