Parametry
JSON tělo
Tělo požadavku
application/jsonhtmlContentstringPovinnéHTML content to render into PDF. This is sent as the generator request body (compressed).
<!doctype html><html><body><h1>Invoice #123</h1></body></html>filenamestringPovinnéOriginal filename. The service normalizes it, appends a random suffix, and forces the .pdf extension.
invoice-123.pdftagstringVolitelnéOptional storage tag (internal metadata label).
invoicecontractreportformatstringVolitelnéStandard paper format (e.g. A4, Letter, …). Used when width is not set. Default is A4.
A4LetterwidthstringVolitelnéCustom page width (CSS length, e.g. 80mm, 210mm, 800px). When set, it overrides format.
80mm210mm800pxheightstringVolitelnéCustom page height (CSS length). Used in fixed-size mode. When width is set and fitHeight is not enabled, height defaults like A4 height behavior.
150mm297mmautoHeightbooleanVolitelnéEnables print-safe margins consistently across pages (improves page breaks and prevents edge clipping).
truemarginstringVolitelnéOverrides margin size when autoHeight=true. CSS shorthand (1–4 values), e.g. "12mm 10mm" or "2mm".
12mm 10mm2mmfitHeightbooleanVolitelnéReceipt mode: generates a single-page PDF whose height is derived from rendered content. Works best with width (e.g. 80mm).
trueuuidstringVolitelnéOptional identifier stored in PDF metadata keywords.
order_123invoice_2026_0001authorstringVolitelnéOptional author label in PDF metadata (Author/Creator/Producer). If omitted, defaults to organisation name.
BizKitHubJan BarášekdebugbooleanVolitelnéAdds debug CSS borders to the rendered HTML for layout inspection (internal).
true