This Python script helps you to manage your invoices on the LexOffice platform by leveraging the LexOffice API.
- Python 3.8
- pip
-
Clone this repository:
git clone https://github.com/phgas/LexOffice-Invoice-Booker.git
-
Install the required Python packages:
pip install -r requirements.txt
-
Download the EditThisCookie extension for your web browser.
-
Go to settings and change the preferred export format for cookies to be JSON.
-
Log in to your LexOffice account via your web browser.
-
Use EditThisCookie to export cookies for the
app.lexoffice.de
domain. -
Paste the exported cookies into a new file in the project directory, and name it
cookies.json
.
Run the Python script:
python lexoffice_FP.py
or
python lexoffice_OOP.py