top of page

PDF Generation (Chromium)

Since it's hard to get a binary string out of a app, you have to call the background service directly with an http request and then run the headless browser chromium to generate a pdf from some HTML code.

Here i have written an example how you can generate invoice with it:

Creating PDF Invoices with


Header API Key


Header API Value

<< Insert your API KEY >>

Header Host Key


Header Host Value


{"input":"<html> <h1>Hello World</h1> <table> <tbody>  </tbody> </table> </html>", "asBase64":"true", "jscode":"return await pdfGeneration(input)"}

Screenshot 2023-03-13 at 18.09.33.png
bottom of page