Skip to content

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

Function: subjectSection() ​

ts
function subjectSection(label, value): string;

Render 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.

Parameters ​

ParameterType
labelstring
valuestring

Returns ​

string