HTML to PDF API for ecommerce
HTML to PDF API for Ecommerce Stores That Send Invoices, Packing Slips and Order Documents
SitePDF turns the HTML your store already renders into a PDF with one API call and can keep a dated copy of every document it produces. It is built for stores and platforms that generate thousands of order documents a month and want them to match the web view.
- 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 ecommerce: send the HTML of an invoice, packing slip or order confirmation and get a PDF back from managed Chromium. The Starter API plan 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). Add archive=true and each document is also stored with its capture time.
Written and fact checked by the SitePDF team.
Which plan fits which store
Pick by renders per month, where one order usually needs one to three documents. These volumes are examples, so use your own order count.
| Plan | Renders a month | Price | Archive kept | Concurrent renders | Typical store |
|---|---|---|---|---|---|
| Starter API | 10,000 | $49 a month, $288 billed yearly | 90 days | 3 | About 3,000 orders a month with an invoice and a packing slip each |
| Growth | 50,000 | $99 a month, $588 billed yearly | 365 days | 10 | About 15,000 orders a month, or a platform generating documents for many merchants |
| Scale | 250,000 | $299 a month, $1,788 billed yearly | 3 years | 30 | High volume marketplaces and peak season batches |
SitePDF figures come from our own pricing page. See pricing for the current plans.
Where an online store needs a PDF
Invoices and credit notes. Your order page already shows line items, tax and totals in HTML. Rendering that same markup avoids a second invoice template that drifts from the page the customer sees.
Packing slips and returns forms. Warehouse staff print them in batches. A fixed paper size, repeated table headers on long orders and a logo in SVG are ordinary CSS in a browser and painful in a drawing library.
Order confirmations, quotes and wholesale price lists. B2B stores send quotes as PDFs because buyers forward them to a purchasing department. Charts and web fonts come through exactly as designed.
How the call works from a store backend
When an order is paid, your backend renders the document template to HTML as it already does for the browser, then sends it to POST /v1/render. The response returns a link to the PDF, which you attach to the email or save on the order record. Nothing runs on your servers except the HTTP call, so there is no Chromium image to build and no font set to maintain.
This works from Laravel, Rails, Node, Python, Go or any language that can make an HTTP request. If you want the framework specific version, see HTML to PDF in Laravel or HTML to PDF in Rails.
A worked example with numbers
These are planning assumptions, so replace them with your own. A store ships 6,000 orders a month and generates an invoice and a packing slip for each, which is 12,000 renders. That is above the 10,000 of Starter API, so Growth at $99 a month ($588 billed yearly, about $49 a month) is the plan that fits, with room for the November and December peak.
Compare that with running your own browser pool. If it takes 20 hours to build and 2 hours a month to keep running, at $100 an hour, labor alone is $4,400 in year one before any server cost. The HTML2PDF API pricing worked example shows the full table for 10,000 documents.
Keeping a dated copy of every document
Disputes happen: a customer says the invoice showed a different total, or a chargeback asks for the order confirmation as sent. With archive=true the render is stored with its capture time, and you can retrieve it by id for as long as your plan keeps the archive, 90 days on Starter API, 365 days on Growth and three years on Scale. For records you must keep longer, download the PDF into your own storage.
SitePDF does not file taxes or certify an invoice as legally valid in any country. Your accounting rules decide what an invoice must contain, and the API renders whatever HTML you send.
Who it is for and who it is not for
It is for ecommerce teams and platforms with a developer who can make an HTTP call, that already have order documents as HTML and generate from a few thousand to a few hundred thousand a month.
It is not for a store owner who wants a no-code app inside a hosted shop builder, or for fixed-position documents such as shipping labels from a carrier, which the carrier supplies. If your stack is Zapier or Make, the no-code PDF page is the better start. Subscription products can read the SaaS version, and bookkeeping products have a page for accounting software.
curl -X POST https://api.sitepdf.com/v1/render \
-H "Authorization: Bearer $SITEPDF_KEY" \
-H "Content-Type: application/json" \
-d '{"html": "<h1>Invoice 10482</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 invoices as PDF for an online store?
How much does an HTML to PDF API cost for an ecommerce store?
Can it create packing slips in batches?
Does it work with Shopify or WooCommerce?
How long are order documents 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 SaaS
- 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.