toggl2fastbill
v1.2.0
Published
## Usage
Downloads
2
Readme
toggl2fastbill
Usage
Install
$ npm install -g toggl2fastbill
Get the location of the cli
$ npm root -g
# should reaturn something like this, if you're using nvm like me:
> /Users/juliankern/.nvm/versions/node/v12.16.1/lib/node_modules
Create .env file with contents:
# use the path from locating toggl2fastbill here
$ nano <PATH>/toggl2fastbill/.env
# for example:
$ nano /Users/juliankern/.nvm/versions/node/v12.16.1/lib/node_modules/toggl2fastbill/.env
fill the newly created file with the environment variables
TOGGL_API_TOKEN=<your toggl API token>
FASTBILL_API_TOKEN=<your fastbill API token>
FASTBILL_USER_EMAIL=<your email used at fastbill>
HOURLY_RATE_EUR=<your default hourly rate: optional>
VAT_RATE=<your VAT rate, in germany usually 19>
MOVE_TARGET=<the target folder to where the invoice is moved after creation: optional>
Usage
$ toggl2fastbill
The CLI then asks you a couple of questions for the invoice