Create a PDF from app

Hi everyone,
for my app I need to generate a bill/ ticket in PDF taking the data from firebase.

Does anyone of you know a function ( or a third party service that allows to do that)?

I was thinking about creating a Template and filling it from the app.
I found this service that uses API but idk if it could suit my needs since i can’t really understand how it works.

here’s the link:

Thank you in advance.

@wikilinks.infooleua0, did you ever find a way to do this?

How about something like this?