Ok thank you, I’ll look what I can achieve 🙂
Thanks for ur fast response.
Its not quite what I mean.
My plan is to send a monthly sum with all sold products incl. tax to my vendors. Not on each purchase.
I will gather the information by myself (sum of products, tax) and just want to generate the pdf with your plugin and my information, and then send it together with my custom mail to the user.
So im wondering if there is function like that:
string generate_invoice($userinfo, $storeinfo, $content) par example which gives me a pdf file back