Skip to content

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

Interface: IDocumentPdf ​

Properties ​

bandLabel ​

ts
bandLabel: string;

Small uppercase lockup label in the header band (e.g. "Invoice").


lineItems ​

ts
lineItems: IDocumentLineItem[];

lineItemsLabel ​

ts
lineItemsLabel: string;

Lockup label on the line-items page band.


lineItemsMetaRows ​

ts
lineItemsMetaRows: IDocumentMetaRow[];

Line-items page meta-list rows (values already escaped).


metaRows ​

ts
metaRows: IDocumentMetaRow[];

Cover-page meta-list rows (values already escaped).


noteHtml ​

ts
noteHtml: string;

Pre-rendered paragraph under the total headline (already escaped).


questionsLine ​

ts
questionsLine: string;

Pre-rendered line under the VAT spec (already escaped).


recipientHtml ​

ts
recipientHtml: string;

Pre-rendered recipient/account block (already escaped).


reference ​

ts
reference: string;

Large reference shown under the band label and on the line-items page.


specDescription ​

ts
specDescription: string;

Description shown in every VAT-spec row (e.g. "Orders" / "Sales").


subjectSection? ​

ts
optional subjectSection?: string;

Optional pre-rendered section between the meta block and the headline.


subtotalExcl ​

ts
subtotalExcl: number;

totalIncl ​

ts
totalIncl: number;

totalLabel ​

ts
totalLabel: string;

Headline label shown before the total amount (e.g. "Total including VAT").


totalVat ​

ts
totalVat: number;

vatBreakdown ​

ts
vatBreakdown: IDocumentVatBand[];