Skip to main content

Supported Python Versions PyPI version

CLI / HTTP client for myDATA

This project allows users to interact with myDATA ("my Digital Accounting and Tax Application") either via a Python HTTP client or from the CLI.

Install

Install it with pip:

python -m pip install mydata-client

Usage

[!WARNING] The tool is not suitable yet for production use. We strongly suggest that you use it for experimenting only with the development sandbox that myDATA provides.

[!NOTE] Oh, you may also find the docs a bit... lacking :grimacing:

If you want to interact programmatically with myDATA's API, you can use the HTTP client under mydata/client.py. The Python dataclasses that bind to XML documents can be found in the mydata/models* modules, depending on which version of the API you want to use.

There is also a proof-of-concept CLI that you can use:

mydata --username <username> <command>

There are two command groups that you can invoke:

  • The api command group, which is unopinionated and straight up hits the endpoint that you ask.
  • The invoice command group, which is heavily opinionated and adds some helper commands to work with invoices. Basically, it's there to assist the list -> retrieve -> copy -> edit -> validate -> send lifecycle of an invoice.

Building

Install uv. Then, install the project dependencies:

uv install

Adding new XSD schemas

Whenever there's an API update, myDATA devs include the XML schemas for the latest API. You can include them in the project as follows:

  • Download the XSD zipfile from the myDATA page, and take note of its version number (e.g., 1.0.10).

  • Run the following command:

    uv run ingest-xsd --api-version 1.0.10 /path/to/xsd.zip
    
  • Commit the final result

License

Licensed under MPL-2.0. Please read the NOTICE.md and LICENSE files for the full copyright and license information.

Useful links

Metadata

Release files for mydata-client 0.3.3

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

Source distribution (sdist)

Source distribution for mydata-client 0.3.3
File Size Uploaded
mydata_client-0.3.3.tar.gz 176.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mydata-client 0.3.3
File Interpreter ABI Platform
mydata_client-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 266.0 kB

Release files / mydata_client-0.3.3.tar.gz

Download URL mydata_client-0.3.3.tar.gz
Size 176.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b635a5b6f5331bd47346971016c2f99b2296a166560226fa435348b57ec51396
BLAKE2b-256 checksum
How to use checksums
e8201869b0038e29270103cce3d7a82ceb29ae139655e109e056d874ccc37df3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 9, 2026.

Transparency log

Release files / mydata_client-0.3.3-py3-none-any.whl

Download URL mydata_client-0.3.3-py3-none-any.whl
Size 89.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
708b1c247a9f79933b08c8c410210bafb93e0e77cb03ccfe26f9c5b22703a7a5
BLAKE2b-256 checksum
How to use checksums
37ce5d50975bca73f174dfde571225392111ab0f7f315540d67d1ba2ab552a2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 9, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release 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