You can create the document template and then using generate document functionality using microflow you can create pdf file as per the data you’ve designed in the template.
You can refer following links :
Hope it helps!
Please refer the following post its give you detailed steps to generate PDF. https://forum.mendix.com/link/space/integrations/questions/116677