Skip to main content

uv Ruff Checked with mypy pypi Downloads

img

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iopole_api-1.0.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

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

Hashes for iopole_api-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bb4a957945953af5a92b5484923993d950769bc2061df12ddd26d51723c8dbde
MD5 50a10b8b327e7896bbb6eda0deddcdc6
BLAKE2b-256 0f7453e117cf4a18cdab8a6cb33602020f656108495ada17233e171e138a9ecb

See more details on using hashes here.

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

Hashes for iopole_api-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 545278f71bbab1e8391ad3debb1af0e1a862c184b3172c89860d7c761e8e7b53
MD5 e1826df382e52293c294528e6608e7d1
BLAKE2b-256 325a3b1edfe2a04a687e8cd040854f3be9fd5e8a480655026ad107aca8881990

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

0.1.2

2 files

0.1.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page