HTML to PDF: Render an Invoice Template
Renders a small HTML invoice into an A4 PDF without hosting it anywhere. Paste your own HTML and CSS to turn templates, reports or receipts into PDFs from an API call.
Input
Output fields
Sign up on Apify or log in
The Website Screenshot & PDF API: Full Page, Mobile, Cookie-Free Actor is ready to run with the inputs already set for "HTML to PDF: Render an Invoice Template". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "HTML to PDF: Render an Invoice Template" task
The Website Screenshot & PDF API: Full Page, Mobile, Cookie-Free Actor will start running based on the input automatically. You can also change all the input fields, like HTML to render, output format, and more, to match your specific use case.
Receive the "HTML to PDF: Render an Invoice Template" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as status, URL, device, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "HTML to PDF: Render an Invoice Template" task via API.

$0.002 per PNG, JPEG or WebP screenshot and $0.003 per PDF, plus a small start fee per run. Pages that fail to load are not charged.
In the run's key-value store. Each dataset row has a public fileUrl you can download or pass to another tool, plus the size, dimensions and HTTP status.
Yes, from absolute URLs such as https links to your logo or a web font. Relative paths have no base URL to load from, so use absolute links or inline data URIs.
Yes. Set format to png, jpeg or webp, and pick a custom device with viewportWidth and viewportHeight.