Skip to content

SudoSOS Back-end API / html / document.html

Html: Document.html ​

Interfaces ​

InterfaceDescription
IDocumentLineItemOne row in the line-items page.
IDocumentMetaRowA label/value pair in one of the right-aligned meta-lists.
IDocumentPdf-
IDocumentVatBandOne row in the cover-page VAT specification matrix (per-VAT-band totals).

Functions ​

FunctionDescription
createDocumentPdfRender the two-section financial document HTML.
escapeHtml-
fmtFormat a euro amount in nl-NL style with the locale's no-break space between symbol and amount removed (e.g. €1.234,56).
subjectSectionRender the optional labeled section between the meta block and the total headline (e.g. "Subject" on the invoice, "Description" on the seller payout). Returns an empty string when the value is empty.