---
canonical: 'https://htmlcsstoimage.com/features/html-to-pdf-for-finance'
title: 'HTML to PDF API for Finance | HTML/CSS to Image'
description: 'Generate invoices, statements, receipts, financial reports, and account summaries from HTML with controlled page sizes, margins, and print styling.'
---

# Generate financial documents from live data

Merge transaction, account, and reporting data into branded HTML layouts, then generate PDFs for customers, internal review, and recordkeeping.

## Key capabilities

- Invoices and statements
- Controlled print layouts
- Automated PDF delivery

## How the HTML to PDF API works

Send HTML and CSS to `POST https://hcti.io/v1/image` with `pdf_options`. HTML/CSS to Image (HCTI) renders it in Chromium, so JavaScript, web fonts, charts, and browser-supported layouts work in the generated PDF without a separate document renderer.

## Control the PDF layout

Set the PDF page width, height, scale, print backgrounds, and each margin in the same API request.

```json
{
  "pdf_options": {
    "page_width": "8.5in",
    "page_height": "11in",
    "margins": ["0.4in", "0.4in", "0.4in", "0.4in"],
    "print_background": true
  }
}
```

PDF output is available on supported plans. Check [pricing](https://htmlcsstoimage.com/pricing.md) for current availability.

## MCP Integration

Connect an MCP-compatible client to `https://mcp.hcti.io` with OAuth. The tools use the connected organization's HTML/CSS to Image account, permissions, and plan limits.

- The `create_image` tool accepts HTML and CSS with `pdf_options` and returns the generated PDF URL. Use it to create reports, invoices, certificates, and other documents.

[Read the full MCP docs](https://docs.htmlcsstoimage.com/integrations/mcp/).

## Automate recurring financial documents

### Invoices and receipts

Render transaction details into branded PDFs that are ready to send or archive.

### Statements and summaries

Generate periodic customer and account statements from current application data.

### Management reports

Convert charts, tables, and financial summaries into PDF packs for review and distribution.

### Record retention

Store a PDF of the finalized document alongside the underlying transaction or report data.

## Get started

REST API requests require an HTML/CSS to Image account and should be authenticated from trusted application code. Check the API docs and pricing for current setup instructions, limits, and feature availability.

- [View the full feature page](https://htmlcsstoimage.com/features/html-to-pdf-for-finance)
- [Browse all features](https://htmlcsstoimage.com/features.md)
- [Start free](https://htmlcsstoimage.com/join)
- [View pricing](https://htmlcsstoimage.com/pricing.md)
- [Read the PDF docs](https://docs.htmlcsstoimage.com/parameters/pdf_options/)
- [Read the MCP docs](https://docs.htmlcsstoimage.com/integrations/mcp/)
