This is an Invoice Generator for Toggle entries which I created for my Estonian client a year back. It checks env.yaml fields since and until, which represent dates from which you want the invoice to be generated from. Application is also connected to Wise API so it calculates current dollar to EUR ration, in case you need it. I didn't even bother hiding env variables. Just modify env.yaml file to your Toggl properties and it will work effortlessly.
Please if this application ever helps you, leave a star. It will mean a lot to me.
To run this invoice generator, do the following:
- Clone repository
- Install node packages from root folder with
yarn install
- Modify .env.yaml file
- Run command below to generate invoice (FROM ROOT FOLDER!!!)
ts-node src/pdf.ts
After running this command, the message in terminal will appear, saying Done: invoice.pdf is created!. File named invoice.pdf will be generated in root folder.