/zettleIT

Calculates how an IZettle payout is distributed between employees

Primary LanguageGoGNU General Public License v3.0GPL-3.0

zettleIT

To run this program you need to setup the following environment variables, this can either be done by exporting them or creating a .env file in the working directory.

CLIENT_SECRET=<IZettle API Client Secret>
CLIENT_ID=<IZettle API Client ID>
USERNAME=<IZettle Admin Account Username>
PASSWORD=<IZettle Admin Account Password>

Dates are written in the YYYY-MM-dd format.

Input Parameters:

  • -v Verbose mode
  • -d [date] specify payout date