open-nav
    Preparing search index...

    Interface RenderOptions

    interface RenderOptions {
        documentType?: DocumentType;
        language?: DocumentLanguage;
        note?: string;
        provenanceNote?: boolean;
        theme?: InvoiceTheme;
    }

    Hierarchy (View Summary)

    Index
    documentType?: DocumentType

    The kind of document to render. Defaults to invoice (the tax invoice). proforma, deliveryNote and receipt are printable business documents rendered from the same data but reported nowhere through Online Számla; they drop the money detail they should not show and carry a "not a tax invoice" note instead of the NAV-provenance note. See DocumentType.

    language?: DocumentLanguage

    Document language. Hungarian by default, as the law prescribes.

    note?: string

    Extra note printed under the totals, e.g. payment instructions.

    provenanceNote?: boolean

    State that the document was rendered from reported data.

    On by default. An invoice's legal original is whatever the issuer issued; this rendering is a faithful presentation of the reported data, and saying so avoids passing it off as something it is not. Can also be set through the theme.

    theme?: InvoiceTheme

    Branding and layout: logo, colours, fonts, page setup, footer.

    See InvoiceTheme. Anything omitted falls back to a restrained default that prints well in black and white.