This question has been flagged
1 Reply
2201 Views

Hello all,

is it possible to reset the ongoing invoice number at the beginning of each month?

For example:

My invoice number is like this: "inv_20190131_12"
In february, the invoice number should reset automatically to "inv_20190201_01" and not be like "inv_20190201_13"

Does anybode know if this is possible?


best regards, joe

Avatar
Discard
Best Answer

By default you can only use subsequences starting from anew within the date range you have specified as prefix/suffix. So if you want to number your invoices starting from 1 every month, you have to specify a date range of %(range_month)s, which results in invoice numbers like 201902_01. If you want to have the day in your range, then the subsequence will restart every other day: %(range_day)s.

Avatar
Discard