Author Name Johannes Werbrouck Social Media https://twitter.com/JohannesWerbrou Image by Annie Ruygt Invoicing is boring and manually writing up invoices even more so, that's why you should automate the entire process in your app.
In this article, I'll show you how to use Spatie's Browsershot package to generate invoice PDFs automatically.
Before we talk about generating PDF's or how Browsershot is set up, we'll need something to show on our invoice.
Anyway, here's how the invoice looks: To generate the pdf, we'll need a web page that only displays the pdf itself.