iopole-api
Python connector for the Iopole e-invoicing platform.
Installation
pip install iopole-api
Quick start 🔧
from iopole_api.client import IopoleAPI
api = IopoleAPI(
client_id="YOUR_CLIENT_ID",
client_secret="YOUR_CLIENT_SECRET",
base_url="IOPOLE_BASE_URL",
auth_url="IOPOLE_AUTH_URL",
)
api.auth()
Available methods
| Method | Description |
|---|---|
auth() |
Obtain / refresh the OAuth2 access token |
send_invoice(path) |
Upload an invoice PDF; returns the Iopole invoice ID |
get_invoice(invoice_id) |
Download the invoice file as bytes |
get_invoice_metadata(invoice_id) |
Retrieve invoice metadata as a list |
get_enrollment_link(siren) |
Return the onboarding URL for a company |
get_electronic_addresses(siren) |
Return Peppol identifiers for a company |
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
iopole_api-1.0.0.tar.gz
(7.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iopole_api-1.0.0.tar.gz.
File metadata
- Download URL: iopole_api-1.0.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb4a957945953af5a92b5484923993d950769bc2061df12ddd26d51723c8dbde
|
|
| MD5 |
50a10b8b327e7896bbb6eda0deddcdc6
|
|
| BLAKE2b-256 |
0f7453e117cf4a18cdab8a6cb33602020f656108495ada17233e171e138a9ecb
|
File details
Details for the file iopole_api-1.0.0-py3-none-any.whl.
File metadata
- Download URL: iopole_api-1.0.0-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
545278f71bbab1e8391ad3debb1af0e1a862c184b3172c89860d7c761e8e7b53
|
|
| MD5 |
e1826df382e52293c294528e6608e7d1
|
|
| BLAKE2b-256 |
325a3b1edfe2a04a687e8cd040854f3be9fd5e8a480655026ad107aca8881990
|