Jump to content

Download pdf invoices automatically


mydedis

Recommended Posts

You'd be able to get a list of paid invoices via the API but as far as I know, it's not as simple to the pdf generated by WHMCS, unless you wouldn't mind re-creating the pdf with the data received from the API.

 

I suppose it would be possible if you use curl (with session/cookies saved) to actually login to the admin backend. You could then init a curl request to HTTP GET dl.php?type=i&id=(insert invoice id here).

Link to comment
Share on other sites

I wouldn't mind re-creating the PDF, actually I guess it would save me quite a few MBs of download, if I could generate the pdf locally. (each pdf right now is more then 500KB... about 50 invoices/month).

 

You think you can do the task? If so, please PM me with a price.

Thanks

Link to comment
Share on other sites

I wouldn't mind re-creating the PDF, actually I guess it would save me quite a few MBs of download, if I could generate the pdf locally. (each pdf right now is more then 500KB... about 50 invoices/month).

 

You think you can do the task? If so, please PM me with a price.

Thanks

 

sure, have sent you my contact details.

 

*edit*, can't PM you, so have sent an email :)

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