lexoffice_py
lexoffice_py is a python wrapper around the Lexoffice API. The goals is to provide an easy to use interface for all Lexoffice API endpoints. It handles pagination, rate limiting, errors. Most information needed is available via docstrings, for further details please refer to the Lexoffice API docs.
>>> from client import Lexoffice
>>> Lex = Lexoffice(client_secret='***')
>>> voucherlist = Lexoffice.get_voucherlist(voucher_type='invoice', voucher_status='open', voucher_date_from='2024-01-01')
>>> len(voucherlist)
1204
>>> voucherlist[0]
{
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"voucherType": "invoice",
"voucherStatus": "open",
"voucherNumber": "INV1234",
"voucherDate": "2024-09-05T00:00:00.000+02:00",
"createdDate": "2024-09-05T09:20:09.000+02:00",
"updatedDate": "2024-09-05T09:32:59.000+02:00",
"dueDate": "2024-09-15T00:00:00.000+02:00",
"contactName": "COMPANY NAME",
"totalAmount": 10000.0,
"openAmount": 10000.0,
"currency": "EUR",
"archived": false
}
If something appears to be broken, please have a look at the open issues and vote for an existing issue or create a new one, if you can't find an issue that describes your problem.
Features
- Aims to cover all functions of the Lexoffice API (work in progress)
- Allows you to get detailed information for all of your invoices (including line item information) at once. If you have you have a very large amount of invoices, you made want to solve this differently since each invoice results in one api call.
- Python function wrappers for all API endpoints as part of the Lexoffice class
- Support for type hints
API Functions
lexoffice_py currently only implements a subset of all available API features. This section gives an overview over which API endpoints are accessible through lexoffice_py.
Available
- GET Voucherlist
- GET Articles
- GET Contacts
- GET Invoices
Not yet (fully) implemented
-
Contacts
-
Countries
-
Credit Notes
-
Delivery Notes
-
Dunnings
-
Down Payment Invoices
-
Event Subscriptions
-
Files
-
Invoices
-
Order Confirmations
-
Payments
-
Payment Conditions
-
Posting Categories
-
Print Layouts
-
Profile
-
Quotations
-
Recurring Templates
-
Voucherlist
-
Vouchers
-
POST Endpoints in general
Metadata
Release files for lexoffice-py 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| lexoffice_py-0.0.7.tar.gz | 9.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lexoffice_py-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.7 kB
Release files / lexoffice_py-0.0.7.tar.gz
| Download URL | lexoffice_py-0.0.7.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d18453622496fd73dd8af842cfaf22441a3ac6f02370992d2834fb23f5b0dc4
|
|
BLAKE2b-256 checksum How to use checksums |
4900335aca9129bdb90eb054042a7c0c09e8be288e0930e7d58fc756156c487d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Release files / lexoffice_py-0.0.7-py3-none-any.whl
| Download URL | lexoffice_py-0.0.7-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e15063799ec14d0b0cf8b28c7fabd9fa7e389ddbda654b4dc6399774e9818f4
|
|
BLAKE2b-256 checksum How to use checksums |
456027c4b77b0101f6a64b2362076f587487471d19922661eb705d2168491024
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Security for lexoffice-py 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.