No description
Find a file
Vítězslav Dvořák 12593150ed Try to fix dependencies
2022-09-28 21:54:15 +02:00
.github Create FUNDING.yml 2021-02-13 22:58:29 +01:00
bin v1.1 release 2021-04-27 18:17:03 +02:00
debian Try to fix dependencies 2022-09-28 21:54:15 +02:00
i18n/cs_CZ/LC_MESSAGES "Current Month" scope added 2021-04-27 15:11:55 +02:00
nbproject "Current Month" scope added 2021-04-27 15:11:55 +02:00
src "Current Month" scope added 2021-04-27 15:11:55 +02:00
.env.template Add spupport for abraflexi-mailer cc 2021-01-04 11:15:57 +01:00
.gitignore Debian package fix 2021-04-29 10:49:51 +02:00
abraflexi-toggl-importer.svg v1.1 release 2021-04-27 18:17:03 +02:00
composer.json New XLSx reports attached 2020-12-05 00:53:51 +01:00
composer.lock "Current Month" scope added 2021-04-27 15:11:55 +02:00
Dockerfile v1.1 release 2021-04-27 18:17:03 +02:00
Jenkinsfile Debian Bookworm build added 2021-09-03 23:36:03 +02:00
Makefile v1.1 release 2021-04-27 18:17:03 +02:00
README.md Update README.md 2021-08-07 19:10:28 +02:00
socialpreview.png Debian package fix 2021-04-29 10:49:51 +02:00

Toggl to AbraFlexi

Logo

Process all time records within given scope into invoice with items grouped by Clients + Also the CSV Timesheet is attached to Invoice.

Commandline tool i used to issue AbraFlexi invoice using Toggl API

Configuration

Example environment or .env file contents

TOGGLE_WORKSPACE=123455,12212121
TOGGLE_SCOPE=last_month
TOGGLE_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

ABRAFLEXI_URL="https://demo.abraflexi.eu:5434"
ABRAFLEXI_LOGIN="winstrom"
ABRAFLEXI_PASSWORD="winstrom"
ABRAFLEXI_COMPANY="demo"
ABRAFLEXI_CUSTOMER="DEMO"
ABRAFLEXI_TYP_FAKTURY="FAKTURA"
ABRAFLEXI_CENIK="WORK"
ABRAFLEXI_CC=some@recipient.com                 - into "poznam" field (abraflexi-mailer can handle it)
INVOICE_DOWNLOAD=true                           - into "reports" directory

REPORTS_DIR="/tmp/"

If workspace number is empty, use all availble workspaces

Scope can be: last_month or previous_month, two_months_ago, last_two_months, current_month* Or month name: January February March April May June July August September October November December

Running

run src/importer.php

Installation

sudo apt install lsb-release wget
echo "deb http://repo.vitexsoftware.cz $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list
sudo wget -O /etc/apt/trusted.gpg.d/vitexsoftware.gpg http://repo.vitexsoftware.cz/keyring.gpg
sudo apt update
sudo apt install abraflexi-toggl-importer

See also: