generates a pdf invoice from html using wicked_pdf and saves to local directory