Need an intermediary invoice status

Hello, my client invoice billing procedure requires that my client invoices have a distinct intermediary status that comes after being unpaid and before being paid. Can you please walk me through what I’ll need to do to achieve this or direct me to something explaining how invoice statuses work in depth? thank you in advance.

Hi Chai,
Do you have experience building modules in Dolibarr?
For adding a new state you should use invoice triggers and probably create some hooks.
Couldn’t a boolean extrafield (semi-paid) be enough for you to identify the invoices in this situation?

Hello and thanks for your response,
This is my first attempt at doing so.
I had considered both of your suggestions and eventually settled on leaving the procedure as is except for commenting the very last step which sets the invoice’s status from unpaid to paid. As soon as I did that it was put to a native state called “commencée” (I use the french version but I assume the english equivalent would be started) and the effect I was after was achieved. Do you happen to notice possible issues that this could lead to that maybe I’m overlooking? thanks in advance

HI,
do you mean you commented out a piece of the code?
This is not a good practice, because when you upgrade to a new version of Dolibarr, your changes will be lost.
For the rest I can’t help you, I have no idea what the consequences of your interventions might be.