open-nav
    Preparing search index...

    Function renderInvoicePdf

    • Render an invoice straight to PDF bytes.

      Uses the native engine unless engine: 'browser' is asked for, or a convert function is supplied — passing a converter is itself a request to go through HTML.

      Parameters

      Returns Promise<Buffer<ArrayBufferLike>>