Go to example tasks

HTML to PDF: an invoice from your own HTML

Turn your own HTML into an A4 PDF in a real browser: paste an invoice, receipt or report template and get a download link for the PDF. No page is fetched from the web.

Try for free
Website Screenshot API: Full Page, PNG & PDF
Website Screenshot API: Full Page, PNG & PDFfetchgrove/website-screenshot
Source
URL
HTML document number
HTTP status
+9 fields
Text
Number
Boolean
List
Object

Input

HTML documents:<html><body style="font-family:Arial,sans-serif;margin:40px;color:#222"><h1 style="margin:0">Invoice 2026-0142</h1><p>Issued 21 October 2026 &middot; Due 20 November 2026</p><table style="width:100%;border-collapse:collapse;margin-top:24px"><tr style="background:#f2f2f2"><th style="text-align:left;padding:8px">Item</th><th style="text-align:right;padding:8px">Qty</th><th style="text-align:right;padding:8px">Amount</th></tr><tr><td style="padding:8px">Design work</td><td style="text-align:right;padding:8px">12 h</td><td style="text-align:right;padding:8px">&pound;720.00</td></tr><tr><td style="padding:8px">Hosting, October</td><td style="text-align:right;padding:8px">1</td><td style="text-align:right;padding:8px">&pound;25.00</td></tr><tr><td></td><td style="text-align:right;padding:8px"><b>Total</b></td><td style="text-align:right;padding:8px"><b>&pound;745.00</b></td></tr></table></body></html>
What to capture:pdf
Paper size:A4

Output fields

Source
URL
HTML document number
HTTP status
Page title
Capture
Format
Width
Height
File size (bytes)
File link
Fetched at
Error

How it works

Sign up on Apify or log in

The Website Screenshot API: Full Page, PNG & PDF Actor is ready to run with the inputs already set for "HTML to PDF: an invoice from your own HTML". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "HTML to PDF: an invoice from your own HTML" task

The Website Screenshot API: Full Page, PNG & PDF Actor will start running based on the input automatically. You can also change all the input fields, like HTML documents, what to capture, and more, to match your specific use case.

Receive the "HTML to PDF: an invoice from your own HTML" 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 source, URL, HTML document number, 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: an invoice from your own HTML" task via API.

Image

Integrate "HTML to PDF: an invoice from your own HTML" into your workflow

Connect "HTML to PDF: an invoice from your own HTML" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay