pretext-pdf
Generate professional PDFs from structured JSON.
От сообщества: Добавлен пользователем или импортирован; проверьте владельца перед подключениемРаботаетБез входаГлобальныйБесплатноТолько чтение
Что умеет
- 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.
Какие данные видит
Нужен ли аккаунт
Не нужен: сервер работает без входа
Generate professional PDFs from structured JSON. Supports invoices (with GST), reports, tables, encryption, and more. No headless browser — pure Node.js.
Список инструментов сервера (4)
Технические названия из tools/list. Нужны только разработчикам.
| 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) is auto-calculated when gst_rate is set on items. |
| generate_report | Generate a professional multi-section report PDF with optional TOC, tables, and callout boxes. Returns base64-encoded PDF. |
| list_element_types | Returns 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. |