# PDF Generator API

**URL:** <https://forum.adalo.com/t/pdf-generator-api/22577>\
**Category:** Get Help\
**Created:** [January 26, 2022, 9:39am UTC](https://forum.adalo.com/t/pdf-generator-api/22577 "2022-01-26T09:39:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![admincbc](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@admincbc](https://forum.adalo.com/u/admincbc)\
**Post date:** [January 26, 2022, 9:39am UTC](https://forum.adalo.com/t/pdf-generator-api/22577/1 "2022-01-26T09:39:55Z")

</div>

Hello guys, I need help, I made a tax invoice app and I am trying to get it in PDF. I made an account in [pdfgeneratorapi.com](http://pdfgeneratorapi.com).  
I went to my adalo collection, clicked on API Documentation and copied the JSON details and pasted them as data in the [pdfgeneratorapi.com](http://pdfgeneratorapi.com) new template, Created my template from there.  
I added the required API key and secret key, the workspace id, template number in the pdfgeneratorapi button.  
Then I copied the same JSON details into the JSON Payload field. Selected the output as URL and added an external webpage with PDF OUTPUT as the button action.

And when I check the preview everything works but at the last instead of the pdf I get Could not parse jason.  
What am I doing wrong?

I will show the JSON details I added, below

{“records”:{“User Email”:{“type”:“string”},“Username”:{“type”:“string”},“User Full Name”:{“type”:“string”},“User Company Name”:{“type”:“string”},“User Phone Number”:{“type”:“number”},“User Address”:{“type”:“string”},“User GST Number”:{“type”:“string”},“Customer Name”:{“type”:“string”},“Customer GST Number”:{“type”:“string”},“Customer Email Id”:{“type”:“string”},“Customer Address”:{“type”:“string”},“Customer Company Name”:{“type”:“string”},“Customer Phone Number”:{“type”:“number”},“Product Name”:{“type”:“string”},“Discount %”:{“type”:“number”},“Net Value”:{“type”:“number”},“Total Net Value”:{“type”:“number”},“GST Percentage %”:{“type”:“number”},“Invoice Number”:{“type”:“number”},“Total”:{“type”:“number”},“Quantity”:{“type”:“number”},“HSN/SAC”:{“type”:“string”}}}

Any help is really appreciated.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [February 5, 2022, 9:40am UTC](https://forum.adalo.com/t/pdf-generator-api/22577/2 "2022-02-05T09:40:16Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
