Is it possible to create invoice pdf with pdfmonkey
Options
![FJP H](https://us.v-cdn.net/6037124/user_avatars/2387640.jpg)
FJP H
Member ✭
Before I start exploring my self how to do it, I was wondering:
Is it possible to generate a invoice pdf using pdfmonkey API
I am thinking of the following.
Data:
In Xano I have an invoice that belongs to a client and has multiple related invoice lines.
Xano API:
Post invoice Id or invoice number to Xano. Xano fetches the invoice, prepares the json structure for pdf monkey and calls the pdfmonkey API
The response of pdfmonkey contains an url to download the invoice, Wich Xano does and stores the pdf as a file on the invoice record. Xano then returns the url of the pdf stored in Xano in the response
Thanks in advance,
Is it possible to generate a invoice pdf using pdfmonkey API
I am thinking of the following.
Data:
In Xano I have an invoice that belongs to a client and has multiple related invoice lines.
Xano API:
Post invoice Id or invoice number to Xano. Xano fetches the invoice, prepares the json structure for pdf monkey and calls the pdfmonkey API
The response of pdfmonkey contains an url to download the invoice, Wich Xano does and stores the pdf as a file on the invoice record. Xano then returns the url of the pdf stored in Xano in the response
Thanks in advance,
Comments
-
Hey - yes that sounds 100% possible. I wasn't familiar with pdfmonkey API before but I've seen people utilize pdfgeneratorapi.com - in fact there is a pre-built snippet - and also documint.me API to do the same or similar flows. Basically if there is in an API it can work with Xano.
-
https://eledo.online/ is another service to consider
-
Thanks, I will check out de snippet and I just noticed elodo as an alternative. The most important thing is creating the request payload in Xano, to send over to one of the PDF Api's. But I will try that out first.
-
Having been busy for a while, I am planning to try out Eledo.
Is the following workflow possible.
1. Show Invoice on front-end (Weweb)
2. Click Download PDF (Weweb)
3. Call generate-pdf endpoint (xano) with invoice number
4. In Xano, generate PDF using Eledo and save the resulting PDF to Xano
Return the PDF file from Xano to Weweb that will (directly) download the PDF to client device.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback