Hello,
As I understood, you need a simple script that fills the form and grabs the PDF after submission.
I can provide working copy of this with 2 hours, I can work with Puppeteer (Headless chrome API for NodeJS) or PhantomJS.
Let me know what works best for you and I can get started :)
Best,
Nick.