Jump to content

How can I edit a customer invoice


Recommended Posts

Whats stupid is as a developer this is as simple as adding a checkbox to the config to allow us to choose ourselves. I've never in my life understood why software companies lock you in, instead of giving you the option. You keep increasing prices year after year and you want us to stay with you, but if you keep doing this crap most of your base is not gonna find value in your ever increasing prices.

Link to comment
Share on other sites

14 hours ago, Juanzo said:

@WHMCS Rex is it true that the only solution now, $allow_adminarea_invoice_mutation = true; in configuration.php, will be removed in future versions?

Yes, it is mentioned on their official website docs. 

They could have easilly added a checkbox settings to enable/disable this but they chose to enforce it so badly.

 

 

Link to comment
Share on other sites

10 hours ago, LittleCreek said:

No to the first part of your question. You can manually change the invoice back to Draft in the database. Then you can edit it just fine. 

It is not wise to edit DB data directly as it might create unknown consequences. There might be dependencies and conditions, for example, if the invoice is in draft state, some other value might have to be x, and it isn't, it might start throwing errors on your WHMCS or cron job. 

Edit the DB records directly only when it is a last resort; this is not something you create a module to edit the invoice every other day.  

The best way is to use WHMCS internal APIs to call and update things, but again it won't work as invoice edit is blocked.

Link to comment
Share on other sites

17 minutes ago, WHMCS Ricardo said:

I am afraid this is correct, per the series v9.

The one question I have is "why"? Clearly there's a need and demand for it, why is it not even considered being made optional, with warnings about not doing it or what have you. Why is it simply removed, with no options and so on. 

Link to comment
Share on other sites

On 4/18/2026 at 4:07 AM, Mr. Prateek said:

Edit the DB records directly only when it is a last resort;

I would say this issue qualifies needing a last resort technique since they are removing it. What else can I do?

 

Edited by LittleCreek
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated