Generate invoices in HTML and export to PDF with Cerewro: ready-made professional templates

Create professional invoices in HTML with Cerewro, customize client and company data, auto-calculate VAT and totals, and export to PDF with Puppeteer or wkhtmltopdf. No billing software needed.

Generate invoices in HTML and export to PDF with Cerewro

Cerewro generates professional invoices in HTML with all legally required fields, auto-calculates taxes and totals, and exports them to high-quality PDF using Puppeteer (headless Chrome) or wkhtmltopdf. No billing software needed.

Cerewro Chat — Generate invoice
Generate invoice INV-2026-0042 for:
- Issuer: My Company Ltd, VAT: GB123456789, 1 Main Street, London
- Customer: Client Company Ltd, VAT: GB987654321, 100 High Street, Manchester
- Lines: 5h web consulting @ £120/h (20% VAT) + 1 month premium hosting @ £49/mo (20% VAT)
- Date: today, Payment: 30 days, Bank transfer IBAN
Generate the HTML and then convert it to PDF
Convert to PDF with Puppeteer
const puppeteer = require('puppeteer');
async function htmlToPdf(htmlPath, pdfPath) {
  const browser = await puppeteer.launch({ headless: 'new' });
  const page = await browser.newPage();
  await page.goto('file:///' + htmlPath, { waitUntil: 'networkidle0' });
  await page.pdf({ path: pdfPath, format: 'A4', margin: { top:'15mm', bottom:'15mm', left:'15mm', right:'15mm' }, printBackground: true });
  await browser.close();
}
e-Invoice: For electronic invoicing (EDI/UBL), ask Cerewro: "Generate the UBL 2.1 XML for this invoice". The AI generates the standard XML ready for submission.