This is a very good idea. And for sure needs to happen.
James
commented
13th January 20
any update?
R-n-R
commented
10th December 18
The easy fix would be when the CRON runs to Terminate a Service/Product to also just Terminate the Invoice. Now, if there happens to be an invoice not tied to a Service/Product, then allow the Admin to decide when those type invoices are canceled.
Zeeshan Mudassir Hussain
commented
5th December 19
i like the idea its logical
Scott Duff
commented
19th November 18
I would like to see this as well. Currently this leaves "orphaned" invoices.
John Calveit
commented
16th July 17
It's really annoying to remove manually all unpaid invoices.
MarceloP
commented
21st May 18
I can tell...
Mason Crollie
commented
13th June 15
Support this all the way. How is this not a default feature?
Andrii Balytskyi
commented
16th February 15
SELECT id FROM tblinvoices WHERE duedate <= ' ... ' AND status = 'Unpaid'
UPDATE tblinvoices SET status = 'Cancelled' WHERE id = ' ... '
To cron. Thats all :D
kikol
commented
18th January
Bluebird
commented
5th November 14
this would be very useful! please add this feature.
Michael
commented
25th September 14
Think I need to add something for better understanding what we mean with this issue.
There is a HUGE difference between proforma invoice and "normal" (means: VAT) Invoice. In fact a proforma invoice is NOT an invoice at all. It is just a hint that client needs to pay upfront and how much and since when. These invoices can be "cancelled", "deleted" or "painted in red color". It does not matter. After payment, the real invoice will be issued and NOW, there should be an option to disable the "cancel invoice" and "delete invoice" buttons, because these invoice should never ever been touched again or deleted to stay legal. If we want to cancel the invoice NOW partially or in full (for whatever reason) , we have to issue a credit note manually (WHMCS does not provide issuing credit notes) as it is also prohibited by law to issue just another invoice with pure negative balance. Specially for Germany, the credit note must be named exactly as credit note and not "invoice"! (in german: "Gutschrift").
68 Comments
Login to post a comment.
I made a hook for that, which you can dl here:
https://github.com/wolkenbauer/whmcs-cancelinvoice-hook
Now, if there happens to be an invoice not tied to a Service/Product, then allow the Admin to decide when those type invoices are canceled.
id
FROMtblinvoices
WHEREduedate
<= ' ... ' ANDstatus
= 'Unpaid'UPDATE tblinvoices SET
status
= 'Cancelled' WHEREid
= ' ... 'To cron. Thats all :D
There is a HUGE difference between proforma invoice and "normal" (means: VAT) Invoice. In fact a proforma invoice is NOT an invoice at all. It is just a hint that client needs to pay upfront and how much and since when. These invoices can be "cancelled", "deleted" or "painted in red color". It does not matter. After payment, the real invoice will be issued and NOW, there should be an option to disable the "cancel invoice" and "delete invoice" buttons, because these invoice should never ever been touched again or deleted to stay legal. If we want to cancel the invoice NOW partially or in full (for whatever reason) , we have to issue a credit note manually (WHMCS does not provide issuing credit notes) as it is also prohibited by law to issue just another invoice with pure negative balance. Specially for Germany, the credit note must be named exactly as credit note and not "invoice"! (in german: "Gutschrift").