fducos Posted June 23, 2013 Share Posted June 23, 2013 Hi all, Anybody knows how to send an invoice to a FTP server (or on a Webdav/SMB Shared Folder) ? The invoice must be send after creation even if the invoice will not be send by email to the customer. Thanks for your help. Fred 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted June 23, 2013 Share Posted June 23, 2013 You can create a hook script to do this via the InvoiceCreated hook. http://docs.whmcs.com/Hooks:Invoicing#InvoiceCreated 0 Quote Link to comment Share on other sites More sharing options...
fducos Posted June 23, 2013 Author Share Posted June 23, 2013 Thanks jclarke for your answer BUT (from the WHMCS documentation) the InvoiceCreated hook is triggered "only after it (the invoice) has already been emailed to the client". In my case, I don't send invoice by email to the client. Fred 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted June 23, 2013 Share Posted June 23, 2013 This hook is still executed even if you have the email invoice option disabled. This will work for invoices generated via the cron or order form. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.