Connector for Iopole API
Project description
iopole-api
Python connector for the Iopole e-invoicing platform.
Installation
pip install iopole-api
Quick start 🔧
from iopoleapi.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 |
Project details
Release history Release notifications | RSS feed
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-0.1.2.tar.gz
(5.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-0.1.2.tar.gz.
File metadata
- Download URL: iopole_api-0.1.2.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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 |
79dd35e9a7c1b4881a09f0769c428dd556975fba8cdf2eff8baef0c9e8fc9f85
|
|
| MD5 |
a7f178616434634ad2dbd5cda0637263
|
|
| BLAKE2b-256 |
e9d6283e52a1e4a50f14668225c4f1e0c2a57ed780bd5ac77b4f8c71780bd1e4
|
File details
Details for the file iopole_api-0.1.2-py3-none-any.whl.
File metadata
- Download URL: iopole_api-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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 |
283274c535e9ac628b55f12b001c5a26575e8a1c1c2d69680d8d229c9efb13e8
|
|
| MD5 |
0a875bf3288b96d1e5abede418598805
|
|
| BLAKE2b-256 |
e47914c1ed9f0d1e7f611de9ef7b44835856c669e81e7ae12bd28a7eef3b9a74
|