How can we improve WHMCS?

Share, discuss and vote for what you would like to see added to WHMCS

Add API Functionality to Generate and Download Invoice PDFs



Currently, WHMCS allows users to view and download invoice PDFs via the client area or admin interface, but there is no official API endpoint for generating or retrieving invoice PDFs programmatically.

I am requesting the addition of an API function that would allow authenticated users (admin or via API credentials) to:

1. Generate an invoice PDF on demand.
2. Retrieve the PDF file via a secure API endpoint.
3. Optionally specify invoice ID and get either a direct download link or base64 content.
4. This would greatly help with custom billing integrations, third-party automation systems, and external reporting tools.

Post the first comment

Login to post a comment.