Skip to main content

otb-cbso-webservice-pyclient

Download Belgian annual accounts from the National Bank's Central Balance Sheet Office (CBSO). Use the Python package or the cbso-fetch command.

The package downloads authentic and improved accounts to a local directory or S3. It can also validate saved files, repair missing files, and collect consolidated accounts. All operations run sequentially.

Installation

Use Python 3.10 or later. Install from PyPI.

pip install otb-cbso-webservice-pyclient

Install the S3 extra for S3 destinations.

pip install 'otb-cbso-webservice-pyclient[s3]'

Subscription keys

Set the keys for the services you need.

Environment variable Service
CBSO_KEY_AUTHENTIC Individual authentic references and account files
CBSO_KEY_EXTRACTS Daily authentic batches
CBSO_KEY_AUTHENTIC_ARCHIVE Authentic archive batches
CBSO_KEY_IMPROVED Individual improved files and daily batches
CBSO_KEY_IMPROVED_ARCHIVE Improved archive batches

Validation and consolidated filtering need no CBSO keys. See Configuration for subscriptions, S3 access, and environments.

Basic use

Fetch authentic and improved filings for an enterprise:

export CBSO_KEY_AUTHENTIC='your-authentic-subscription-key'
export CBSO_KEY_IMPROVED='your-improved-subscription-key'
cbso-fetch download-enterprise BE0203.201.340 --destination ./data

The destination can also be an S3 prefix, such as s3://my-bucket/cbso. Production is the default environment. Use --env test for UAT2 downloads and repairs.

Commands

Command Purpose
download Download batches for selected past dates
download-enterprise Download filings for enterprise numbers
download-reference Download authentic filings by reference number
validate Check authentic files against saved references
validate-improved Check improved JSON and expected OCR files
repair Resolve references and restore authentic files
repair-improved Resolve references and restore improved JSON
download-pdf-only-accounts Download missing PDFs for PDF-only filings
filter-consolidated-accounts Collect references and move consolidated PDFs

Use cbso-fetch --help to list commands. Use cbso-fetch COMMAND --help for command options.

Documentation

Licence

Proprietary. © openthebox.

Metadata

Release files for otb-cbso-webservice-pyclient 2.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for otb-cbso-webservice-pyclient 2.2.0
File Size Uploaded Provenance Actions
otb_cbso_webservice_pyclient-2.2.0.tar.gz 21.7 kB With provenance Details for otb_cbso_webservice_pyclient-2.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for otb-cbso-webservice-pyclient 2.2.0
File Interpreter ABI Platform Actions
otb_cbso_webservice_pyclient-2.2.0-py3-none-any.whl Python 3 none any Details for otb_cbso_webservice_pyclient-2.2.0-py3-none-any.whl

Total release size: 52.4 kB

Release files / otb_cbso_webservice_pyclient-2.2.0.tar.gz

Download URL otb_cbso_webservice_pyclient-2.2.0.tar.gz
Size 21.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d6f05bd26063a78ce0c228e26d91bdc327b1c8b69fa0ffc1444b388ad53069ff
BLAKE2b-256 checksum
How to use checksums
b5b2631e09ebfeed90ef4feaa28ede54ea9c89d0e0b341a0cec4367aa582e1bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 21, 2026.

Transparency log

Release files / otb_cbso_webservice_pyclient-2.2.0-py3-none-any.whl

Download URL otb_cbso_webservice_pyclient-2.2.0-py3-none-any.whl
Size 30.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
466180aaca33acc5b61dc413c79524df4f39d9d13b22e8fa9e4bc9a6dade7dbf
BLAKE2b-256 checksum
How to use checksums
d63d87e028e34cf63c09f82c587fbd9a330b9e184f096aa861386a56075dad86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 21, 2026.

Transparency log

Security for otb-cbso-webservice-pyclient 2.2.0

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.

Select from 2 files

Attestation for otb_cbso_webservice_pyclient-2.2.0.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 Oct 21, 2026.

Transparency log

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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