https://github.com/vitexsoftware/toggl-to-abraflexi
Generate your AbraFlexi invoices from Toggl records
https://github.com/vitexsoftware/toggl-to-abraflexi
abraflexi ease-framework flexibee invoice-generator toggl
Last synced: 4 months ago
JSON representation
Generate your AbraFlexi invoices from Toggl records
- Host: GitHub
- URL: https://github.com/vitexsoftware/toggl-to-abraflexi
- Owner: VitexSoftware
- Created: 2020-02-03T18:09:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-08-10T09:27:50.000Z (10 months ago)
- Last Synced: 2025-10-26T04:02:53.020Z (8 months ago)
- Topics: abraflexi, ease-framework, flexibee, invoice-generator, toggl
- Language: PHP
- Homepage:
- Size: 166 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
Toggl to AbraFlexi
==================

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
------------
```shell
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:
* https://github.com/sizek-cz/Kimai2AbraFlexi
* https://github.com/VitexSoftware/Redmine2AbraFlexi