Manually assign invoice number

Hi guys,

This is my first post and I am desperate to do so. I still couldn’t find a way to manually enter an invoice number after it validates. The only way we can do is to modify through database and that is not an easy option for me.

Thank you all in advance.
JAC

I am worry there is no way to manually change the invoice number.

I also think that this is not an option, as all numbers are required to be sequential in your bookkeeping, most people will not need to be able to do this.
What maybe is possible is to adjust the invoice number sequence in settings before validating (so you can decide what the next number will be).

What I did is a little bit different but works until I really find a version update which allows me to put invoice number manually. Why I am concerned about this option is because I use dolibarr as a crm and I take care of my own customers in that way. My company provides documents like sales orders and invoices which have different sequences.

So, what I did…

I made an additional Attribute in invoices Module and named it as my “companyinvoicenumber”. I now use this field to update the invoices with my company’s invoice numbers to better follow with the customers. The same thing I do with sales orders.

To make things more simple, I am now looking for a way to put a trigger or something more feasible to update the fields of dolibarr invoice numbers with my defined attribute fields’ numbers in database automatically of at the end of the day.

I hope this will help.

Hi :happy:
i’m not sure if it’s what you need :
https://www.dolistore.com/en/modules/910-Invoice-Danger-Zone.html