Skip to content

HTML to PDF API for accounting software

HTML to PDF API for Accounting Software Invoices and Statements

SitePDF turns the HTML your accounting product already renders into a PDF with one API call, and can keep a dated copy of each document. It suits bookkeeping and invoicing software that sends invoices, customer statements and aging reports for many client businesses.

  • 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 accounting software: post the HTML of an invoice, customer statement or aging report 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). Multi page reports take a repeating header and a "Page 2 of 7" footer.

Written and fact checked by the SitePDF team.

Which plan fits which accounting product

Count one render per document. A product that serves many client businesses multiplies fast, so size by documents sent, not by customers. The workloads 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 A bookkeeping app for 300 small businesses sending about 30 invoices and statements each
Growth 50,000 $99 a month, $588 billed yearly 365 days 10 An invoicing product where clients also print month end statements and aging reports
Scale 250,000 $299 a month, $1,788 billed yearly 3 years 30 A multi entity platform producing documents for thousands of client ledgers

SitePDF figures come from our own pricing page. See pricing for the current plans.

The documents an accounting product prints

Sales invoices and credit notes. The invoice screen already shows lines, tax and totals in HTML. Rendering that template means the PDF a client emails and the screen the bookkeeper checked cannot disagree.

Customer statements. A statement lists every open invoice with its age, often across several pages. A browser engine repeats the table header on each page, and the footer can carry "Page 2 of 7" through the header and footer fields.

Aging and trial balance reports. These are wide tables with totals that must land on the right page. You set the paper size, orientation and margins on the call, so a landscape aging report and a portrait invoice come from the same endpoint.

Why a second print template costs more than it looks

Many accounting products grew a print path early, built on a PHP, Java or .NET PDF library, with its own layout. Each tax label change, new column or legal line is then made twice. The two drift apart, and the first sign is a client asking why the PDF total is laid out differently from the screen.

Printing the HTML view removes the second layout. Your team keeps one template, and the SaaS invoice logic of queueing one request per document applies the same way here. If your stack is a library you maintain, the library against API article runs the sums.

A worked example with numbers

These are planning assumptions, not measurements. A bookkeeping app has 300 client businesses. Each sends about 25 invoices and 5 statements a month, so 9,000 documents. That fits Starter API at $288 billed yearly, with 1,000 renders of headroom for month end reruns.

The same team keeping its own Chromium workers would carry roughly 16 hours of setup and 2 hours a month of upkeep at $100 an hour, about $4,000 in year one before server cost. The API route adds about 3 hours of integration. Month end is the risk: statements cluster in the last three days of the month, so a queue worker sends them with the 3 concurrent renders of Starter API in mind, and Growth raises that to 10.

Finding the exact invoice when a client disputes it

When a client says the PDF they received last quarter showed a different amount, re-rendering from todays data proves nothing, because the ledger may have changed. With archive=true each render is stored with its capture time and a SHA-256 hash, and you fetch the original by ID. The invoice PDF archive page shows the record fields.

This is a stored copy of what was sent, not a signed document. SitePDF does not sign PDFs, add tax lines or produce e-invoice formats. Your accounting system decides numbering and what an invoice must contain, and for tax rules you should read the authority in your market, for example the IRS recordkeeping guidance for US businesses.

Who it is for and who it is not for

It is for accounting, bookkeeping and invoicing products with a developer who can make an HTTP call, that already show documents as HTML and send from a few thousand to a few hundred thousand a month.

It is not for an accountant who wants a ready made invoice designer, or for products that need signed or e-invoice formats produced for them. Online stores can read the ecommerce version.

Render a customer statement with a page number footer and keep a dated copy.
curl -X POST https://api.sitepdf.com/v1/render \
  -H "Authorization: Bearer $SITEPDF_KEY" \
  -H "Content-Type: application/json" \
  -d '{"html": "<h1>Statement ACME Ltd</h1>...", "format": "Letter", "footer_html": "<div style=\"font-size:9px\">Page <span class=\"pageNumber\"></span> of <span class=\"totalPages\"></span></div>", "archive": true}'

This is the documented API call shape. Full request and response walkthrough.

Questions about this job

How do I generate invoice PDFs in accounting software?
Render the invoice template to HTML as you do for the screen, then send that HTML to an HTML to PDF API. SitePDF returns a PDF link from one call, and with archive=true it also stores a dated copy you can fetch later by ID.
How much does an HTML to PDF API cost for accounting software?
SitePDF Starter API is $49 a month for 10,000 renders, or $288 billed yearly. Growth is $99 a month for 50,000 renders and Scale is $299 a month for 250,000. Count one render per invoice, statement or report.
Can a multi page statement have page numbers?
Yes. Pass header_html and footer_html on the render call. The footer can show the current page and the page total, and the same header repeats on every page of the statement.
Does it create legally compliant invoices?
No. SitePDF renders the HTML you send. Your accounting system decides numbering, tax lines and the fields an invoice must hold in each country, and SitePDF does not sign PDFs or produce e-invoice formats.
How long are archived invoices kept?
Archived renders are kept for 90 days on Starter API, 365 days on Growth and three years on Scale. Download any PDF you must keep longer into your own storage.

Index

More PDF and archiving tools

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.

HTML to PDF, in your browser

Buy the plan