Parametre
JSON telo
Telo požiadavky
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.pdftagstringVoliteľnéOptional storage tag (internal metadata label).
invoicecontractreportformatstringVoliteľnéStandard paper format (e.g. A4, Letter, …). Used when width is not set. Default is A4.
A4LetterwidthstringVoliteľnéCustom page width (CSS length, e.g. 80mm, 210mm, 800px). When set, it overrides format.
80mm210mm800pxheightstringVoliteľné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.
150mm297mmautoHeightbooleanVoliteľnéEnables print-safe margins consistently across pages (improves page breaks and prevents edge clipping).
truemarginstringVoliteľnéOverrides margin size when autoHeight=true. CSS shorthand (1–4 values), e.g. "12mm 10mm" or "2mm".
12mm 10mm2mmfitHeightbooleanVoliteľnéReceipt mode: generates a single-page PDF whose height is derived from rendered content. Works best with width (e.g. 80mm).
trueuuidstringVoliteľnéOptional identifier stored in PDF metadata keywords.
order_123invoice_2026_0001authorstringVoliteľnéOptional author label in PDF metadata (Author/Creator/Producer). If omitted, defaults to organisation name.
BizKitHubJan BarášekdebugbooleanVoliteľnéAdds debug CSS borders to the rendered HTML for layout inspection (internal).
true