Fintech & Billing

The Invoice PDF API.
Built for Scale.

Stop managing headless browsers for your billing system. Generate pixel-perfect, branded invoice PDFs from any HTML template or dashboard URL in milliseconds.

Tailwind & CSS Grids

Design beautiful invoices using modern CSS frameworks. Our V8 Chromium engine renders flexbox and grids flawlessly.

Zero Data Retention

For strict compliance, enable Ghost Mode. We process the HTML invoice entirely in memory and permanently destroy the buffer post-response.

Pagination & Print CSS

Automatically break long invoices across multiple pages with repeated table headers using standard @media print CSS rules.

billing_service.js
// A Node.js example for generating an Invoice PDF
import PDFBridge from "@techhspyder/pdfbridge-node";

// Initializes using process.env.PDFBRIDGE_API_KEY under the hood
const pdfBridge = new PDFBridge();

// .generateAndWait() handles the status-polling pipeline automatically
const job = await pdfBridge.generateAndWait({
    url: "https://your-app.com/invoices/INV-9902",
    options: {
      format: "A4",
      printBackground: true,
      scale: 0.95,
      marginTop: "1cm",
      marginBottom: "1cm",
      marginLeft: "1cm",
      marginRight: "1cm"
    }
});

// Returns the final state including the hosted PDF URL
console.log(job.pdfUrl);

Scale your billing infrastructure.

Don't let a brittle reporting engine break your payment flows. Integrate the PDFBridge REST API in under 5 minutes.