Skip to content

SudoSOS Back-end API / html/document.html / createDocumentPdf

Function: createDocumentPdf() ​

ts
function createDocumentPdf(options): string;

Render the two-section financial document HTML.

Output is a complete <html> document, ready to POST to pdf-compiler's /compile-html endpoint.

Parameters ​

ParameterType
optionsIDocumentPdf

Returns ​

string