bankstatementparser-transport-ebics
EBICS 3.0 & 2.5 transport protocol adapter and automated statement fetcher for bankstatementparser.
Contents
- What is bankstatementparser-transport-ebics? — the problem it solves
- Install — PyPI, virtualenv
- Current limitations — what this release does not do yet
- Quick start — parse a downloaded statement payload
- Public API —
EbicsClient,EbicsConfig,fetch_statement,fetch_and_parse - Development — quality gates, tests
- Ecosystem — modular package suite
- Contributing
- License
What is bankstatementparser-transport-ebics?
EBICS (Electronic Banking Internet Communication Standard) is the secure, multi-bank communication protocol mandatory across European and global corporate treasury operations.
bankstatementparser-transport-ebics builds EBICS 3.0 (H005) and 2.5 (H004) request envelopes, reads the return code and order data out of EBICS responses, and parses statement payloads (STA, C53, C54) into bankstatementparser transactions. It does not yet talk to a bank server itself: see Current limitations.
| Concern | How this adapter handles it |
|---|---|
| Protocol Versions | Supports EBICS 3.0 (H005) and EBICS 2.5 (H004) XML envelopes |
| Order Types | STA (MT940), C53 (CAMT.053), C52 (CAMT.052), C54 (CAMT.054), INI, HIA, HPB |
| Keys | Holds A006, X002 and E002 key values; INI/HIA requests carry a SHA-256 digest of the signature key |
| Direct Ingestion | Parses a statement payload you supply into unified Transaction objects |
Current limitations
- No network transport.
EbicsConfig.urlis stored but never contacted.fetch_statementandfetch_and_parseparse the payload passed asmock_payloadand return nothing when none is given. - No signing or encryption. Requests are not signed (
A006), authenticated (X002) or encrypted (E002), and responses are not verified or decrypted.
Use it to build and inspect EBICS envelopes and to parse statements you have already downloaded with another EBICS client; do not use it as the connection to your bank.
Install
| Channel | Command | Notes |
|---|---|---|
| PyPI | pip install bankstatementparser-transport-ebics |
Pulls in bankstatementparser >= 0.0.34 |
| Source | git clone https://github.com/sebastienrousseau/bankstatementparser-transport-ebics && cd bankstatementparser-transport-ebics && poetry install |
For local development |
Requires Python 3.10 or later. Compatible with macOS, Linux, and Windows.
Using an isolated virtual environment (recommended)
python -m venv venv
source venv/bin/activate # macOS/Linux
venv\Scripts\activate # Windows
python -m pip install -U bankstatementparser-transport-ebics
Quick start
from pathlib import Path
from bankstatementparser_transport_ebics import EbicsClient, EbicsConfig, EbicsOrderType
config = EbicsConfig(
host_id="EBICSBNK1",
partner_id="PARTNER99",
user_id="USER01",
url="https://ebics.bank.com/ebics",
version="H005", # EBICS 3.0
)
client = EbicsClient(config)
# Parse a CAMT.053 statement downloaded with another EBICS client
payload = Path("statement.xml").read_bytes()
transactions = client.fetch_statement(
order_type=EbicsOrderType.C53, mock_payload=payload
)
for tx in transactions:
print(f"{tx.booking_date} | {tx.description} | {tx.amount} {tx.currency}")
Public API
EbicsConfig(host_id, partner_id, user_id, url, version="H005"): Credentials and endpoint configuration.EbicsClient(config, key_store=None): Main transport client withbuild_initialization_request,build_download_request,parse_response,fetch_statement,fetch_and_parse.fetch_statement(config, order_type, start_date, end_date, mock_payload): Convenience helper returninglist[Transaction].fetch_and_parse(config, order_type, start_date, end_date, mock_payload): Convenience helper returningpandas.DataFrame.
Development
The project enforces strict code-quality gates: 100% test and branch coverage, strict type annotations (mypy), style linting (ruff), docstring coverage (interrogate), and security scanning (bandit).
# Run test suite with branch coverage enforcement
poetry run pytest
# Type checking and linting
poetry run mypy .
poetry run ruff check .
poetry run ruff format --check .
# Documentation and security gates
poetry run interrogate -v
poetry run bandit -r . -c pyproject.toml
Ecosystem
bankstatementparser is part of a modular financial ecosystem. Optional companion packages provide specialized loaders, writers, AI agents, language servers, and transport protocol adapters:
| Package | GitHub Repository | PyPI | Role | Description |
|---|---|---|---|---|
bankstatementparser |
sebastienrousseau/bankstatementparser |
Core Engine | Unified parser for CAMT (052/053), PAIN.001, CSV, OFX, QFX, MT940, and PDF statements | |
bankstatementparser-mcp |
sebastienrousseau/bankstatementparser-mcp |
AI Protocol | Model Context Protocol (MCP) server exposing statement tools to LLMs & AI agents | |
bankstatementparser-lsp |
sebastienrousseau/bankstatementparser-lsp |
Developer Tooling | Language Server Protocol (LSP) with live SWIFT MT940 statement validation & diagnostics | |
bankstatementparser-transport-ebics |
sebastienrousseau/bankstatementparser-transport-ebics |
Transport | Automated bank statement retrieval over EBICS 3.0 (H005) and 2.5 (H004) protocols |
|
bankstatementparser-writer-xlsx |
sebastienrousseau/bankstatementparser-writer-xlsx |
Output Writer | Formats and exports parsed banking transactions into styled Microsoft Excel (.xlsx) workbooks |
|
bankstatementparser-writer-qif |
sebastienrousseau/bankstatementparser-writer-qif |
Output Writer | Serializes transactions into standard Quicken Interchange Format (.qif) exchange files |
|
bankstatementparser-writer-ofx |
sebastienrousseau/bankstatementparser-writer-ofx |
Output Writer | Serializes transactions into standard Open Financial Exchange (.ofx) XML/SGML files |
|
bankstatementparser-writer-swift |
sebastienrousseau/bankstatementparser-writer-swift |
Output Writer | Exports transactions to SWIFT MT940 customer statements and MT942 interim reports | |
bankstatementparser-loader-bai2 |
sebastienrousseau/bankstatementparser-loader-bai2 |
Input Loader | Parses BAI2 cash-management and account balance statements | |
bankstatementparser-loader-mt942 |
sebastienrousseau/bankstatementparser-loader-mt942 |
Input Loader | Parses SWIFT MT942 interim transaction reports with credit/debit summary reconciliation | |
bankstatementparser-loader-cfonb |
sebastienrousseau/bankstatementparser-loader-cfonb |
Input Loader | Parses French CFONB 120 / AFB120 120-byte fixed-width banking statement files | |
bankstatementparser-loader-camt054 |
sebastienrousseau/bankstatementparser-loader-camt054 |
Input Loader | Ingests ISO 20022 CAMT.054 real-time debit/credit notification stream XML | |
bankstatementparser-loader-sepa |
sebastienrousseau/bankstatementparser-loader-sepa |
Input Loader | Ingests ISO 20022 SEPA PAIN.002 payment status reports and PAIN.008 direct debit mandates | |
bankstatementparser-loader-bacs |
sebastienrousseau/bankstatementparser-loader-bacs |
Input Loader | Parses UK BACS Standard 18 / Faster Payments 106-byte fixed-width transmission files |
Contributing
Contributions are welcome! Please submit an issue or pull request on GitHub. Ensure that all quality gates pass and test coverage remains at 100%.
License
This project is dual-licensed under the Apache License 2.0 and the MIT License. See LICENSE-APACHE and LICENSE-MIT for full details.
Metadata
Release files for bankstatementparser-transport-ebics 0.0.35
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 | Actions |
|---|---|---|---|---|
| bankstatementparser_transport_ebics-0.0.35.tar.gz | 16.1 kB | With provenance | Details for bankstatementparser_transport_ebics-0.0.35.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bankstatementparser_transport_ebics-0.0.35-py3-none-any.whl | Python 3 | none | any | Details for bankstatementparser_transport_ebics-0.0.35-py3-none-any.whl |
Total release size: 30.9 kB
Release files / bankstatementparser_transport_ebics-0.0.35.tar.gz
| Download URL | bankstatementparser_transport_ebics-0.0.35.tar.gz |
|---|---|
| Size | 16.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e6ab787bdf65c27eaa77a9a7e1e0d61affdd4b71a78f49a99f414b48a1443704
|
|
BLAKE2b-256 checksum How to use checksums |
648dd57f9c76b4efd974576cb563835bcf95f191d8d6eb9b039853644adf9ad6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logRelease files / bankstatementparser_transport_ebics-0.0.35-py3-none-any.whl
| Download URL | bankstatementparser_transport_ebics-0.0.35-py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c2b7c11748951fef70d31b5a8d2bbea659cdc93d0fd12c218f9dd03be4411429
|
|
BLAKE2b-256 checksum How to use checksums |
8ff0a6cc12e99d5ae096145b249e7a1a1d3682a4cf11bdcd515fc765e5710b22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logSecurity for bankstatementparser-transport-ebics 0.0.35
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for bankstatementparser_transport_ebics-0.0.35.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.