pretext-pdf

Generate professional PDFs from structured JSON.

Community: Submitted by a user or imported; check the owner before granting accessOnlineNo sign-inGlobalFreeRead-only

What it can do

  • Generate Pdf: Generate a PDF from a pretext-pdf document descriptor (PdfDocument JSON). Returns base64-encoded PDF bytes. Use list_element_types to see available elements.
  • Generate Invoice: Generate a professional invoice PDF. Accepts structured invoice data (from/to parties, line items, GST). Returns base64-encoded PDF. Supports INR/USD/EUR/GBP currencies. GST (IGST) i
  • Generate Report: Generate a professional multi-section report PDF with optional TOC, tables, and callout boxes. Returns base64-encoded PDF.

What data it sees

Do you need an account

No: the server works without sign-in

Generate professional PDFs from structured JSON. Supports invoices (with GST), reports, tables, encryption, and more. No headless browser — pure Node.js.

Server tool list (4)

Raw names from tools/list. Only developers need these.

generate_pdfGenerate a PDF from a pretext-pdf document descriptor (PdfDocument JSON). Returns base64-encoded PDF bytes. Use list_element_types to see available elements.
generate_invoiceGenerate a professional invoice PDF. Accepts structured invoice data (from/to parties, line items, GST). Returns base64-encoded PDF. Supports INR/USD/EUR/GBP currencies. GST (IGST) is auto-calculated when gst_rate is set on items.
generate_reportGenerate a professional multi-section report PDF with optional TOC, tables, and callout boxes. Returns base64-encoded PDF.
list_element_typesReturns a markdown reference of all pretext-pdf element types and their key properties. Use this before calling generate_pdf to understand what elements and options are available.
pretext-pdf: connect to Claude, ChatGPT, Cursor · Connectors.fun