HTML to PDF API for SaaS
HTML to PDF API for SaaS Invoices and Customer Statements
SitePDF turns the HTML your product already renders into a PDF with one API call, and can keep a dated copy of each document it produces. It suits SaaS teams that send invoices, usage statements and reports to customers every month.
- PDF and archive in one call
- Plans from $49 a month
- Your HTML stays yours
Short answer
SitePDF is an HTML to PDF API for SaaS products: post the HTML of an invoice, receipt or statement and get a PDF from managed Chromium. Starter API is $49 a month for 10,000 renders ($288 billed yearly), Growth is $99 a month for 50,000 ($588 yearly) and Scale is $299 a month for 250,000 ($1,788 yearly). With archive=true each PDF is also stored with its capture time.
Written and fact checked by the SitePDF team.
Which plan fits which SaaS
Count one render per customer document and add headroom for the billing day. The customer counts below are examples, so use your own.
| Plan | Renders a month | Price | Archive kept | Concurrent renders | Example workload |
|---|---|---|---|---|---|
| Starter API | 10,000 | $49 a month, $288 billed yearly | 90 days | 3 | About 8,000 customers each getting one monthly invoice |
| Growth | 50,000 | $99 a month, $588 billed yearly | 365 days | 10 | Invoices plus a usage statement for about 20,000 accounts |
| Scale | 250,000 | $299 a month, $1,788 billed yearly | 3 years | 30 | A platform producing documents on behalf of many tenants |
SitePDF figures come from our own pricing page. See pricing for the current plans.
The documents a SaaS product sends
Subscription invoices and receipts. The billing page already shows plan, seats, tax and total in HTML. Rendering that same template means the emailed PDF and the in-app view cannot disagree.
Usage statements and overage reports. These carry long tables and sometimes a chart. A browser engine repeats table headers across pages and draws the chart the way the dashboard does.
Customer reports and exports. Monthly performance reports, audit summaries and contract schedules are usually built once for the web and then wanted as a PDF by a customer who forwards them to finance.
The billing day is the real sizing problem
Most SaaS invoices are generated in a burst on the first of the month, not evenly. A queue worker that renders 8,000 invoices in a self-managed browser pool needs enough memory for the peak and sits idle the other 29 days.
With the API, your worker sends one request per invoice and the plan decides how many run at once: 3 on Starter API, 10 on Growth and 30 on Scale. If the first of the month matters to you, the concurrency number is the one to compare before the render count.
A worked example with numbers
These are planning assumptions, so replace them with your own. A SaaS has 15,000 paying accounts, sends each an invoice and about a third also get a usage statement, so roughly 20,000 renders a month. That is above Starter API, so Growth at $99 a month ($588 billed yearly) fits with room to grow.
If the same team ran its own browser pool and spent 20 hours building it and 2 hours a month keeping it running at $100 an hour, labor alone is $4,400 in year one before any server cost. The HTML2PDF API pricing example shows that table in full.
Producing an old invoice when a customer asks
Customers ask for a copy of an invoice from last spring, and sometimes dispute what it showed. Add archive=true and the render is stored with its capture time, retrievable for the length of your plan: 90 days on Starter API, 365 on Growth, three years on Scale. Anything you must keep longer should also go into your own storage.
SitePDF renders the HTML you send. It does not calculate tax, number invoices or certify a document as valid in any jurisdiction, so your billing system still owns those rules.
The invoice PDF archive page shows the fields each stored copy returns. Multi page statements also take a "Page 2 of 7" footer, see page numbers, headers and footers.
Who it is for and who it is not for
It is for SaaS teams with a developer who can make an HTTP call, that already have invoices and statements as HTML and produce from a few thousand to a few hundred thousand a month.
It is not for teams that need PDF signing, form filling or keeping every byte inside their own network, or for a founder who wants a no-code invoice tool. If your stack is Zapier or Make, the no-code PDF page is a better start, and shops should read the ecommerce page.
curl -X POST https://api.sitepdf.com/v1/render \
-H "Authorization: Bearer $SITEPDF_KEY" \
-H "Content-Type: application/json" \
-d '{"html": "<h1>Invoice INV-20418</h1>...", "format": "Letter", "archive": true}'
This is the documented API call shape. Full request and response walkthrough.
Questions about this job
How do I generate invoice PDFs from a SaaS app?
How much does an HTML to PDF API cost for a SaaS?
Can it handle the burst on the first of the month?
Does it add tax or invoice numbers?
How long are archived invoices kept?
Index
More PDF and archiving tools
- Convert HTML to PDF
- Webpage to PDF
- URL to PDF API
- Website archiving
- Monitor website changes
- Screenshot API
- React to PDF
- Java PDF library
- C# PDF library
- Python PDF generation
- HTML to PDF Node.js
- Laravel HTML to PDF
- Vue to PDF
- Next.js PDF generator
- Angular to PDF
- Markdown to PDF API
- Django HTML to PDF
- Blazor HTML to PDF
- Spring Boot HTML to PDF
- Airtable to PDF
- Svelte to PDF
- Rotativa alternative
- Zapier and Make HTML to PDF
- Golang HTML to PDF
- Rails HTML to PDF
- PDF generator API
- Website archiving software
- Document generation API
- Legal document automation software
- Document automation software
- Bulk HTML to PDF
- Accessible PDF generation
- ADA compliance audit cost
- 508 compliance testing
- PDF remediation
- VPAT and ACR
- PDF accessibility checker
- Wayback Machine alternative
- Best HTML to PDF API
- DocRaptor alternative
- Puppeteer alternative
- Wkhtmltopdf alternative
- PDFShift pricing and alternative
- Urlbox pricing and alternative
- PDFCrowd alternative
- Api2Pdf alternative
- Browserless alternative
- APITemplate alternative
- CraftMyPDF alternative
- PDFMonkey alternative
- dompdf alternative
- WeasyPrint alternative
- jsPDF alternative
- mPDF alternative
- Website archiving pricing comparison
- HTML to PDF API for ecommerce
- HTML to PDF API for accounting software
- PHP convert HTML to PDF
- PrinceXML alternative
- PDFreactor alternative
- PDF integrity check
- Invoice PDF archive
- PDF page numbers, headers and footers
- PDF of pages behind a login
- Website archiving for law firms
- React PDF renderer alternative
- Gotenberg alternative
- GrabzIt alternative
- Adobe PDF Services API
- PDF SDK pricing
- HTML to image API pricing
- Adobe Document Generation API pricing
- jsreport pricing
- PDFBolt pricing
- PDFEndpoint pricing
- Formstack Documents pricing
- Documint pricing
- iLovePDF API pricing
- Browserless pricing
- PandaDoc API pricing
- CloudConvert API pricing
- Encodian pricing
- IronPDF pricing
- Salesforce document generation pricing
- Winnovative pricing
- SelectPdf, HiQPdf and EvoPdf pricing
- CloudConvert alternative
- Direct mail API pricing
- E-signature API pricing
- Sparticuz Chromium Lambda cost
- Browserbase pricing
- Aspose PDF pricing
- PDF API pricing
- How it works
- Features
- Pricing
Get started
Render and archive with one API call
A pixel perfect PDF and a dated copy of the page from the same request. Plans from $49 a month, half price billed yearly.