Skip to main content

datev-extf-parser

Zero-dependency Python library and CLI to parse and validate German & Austrian DATEV EXTF / Buchungsstapel CSV exports offline.

Need an instant browser converter to formatted Excel (.xlsx) with account totals, validation tab, Xero or QuickBooks CSV without installing Python? 👉 Use the online tool at radarbg.com/instant/datev-to-excel

Features

  • Parses 2-line EXTF / DTVF metadata headers (Beraternummer, Mandantennummer, WJ-Beginn, Sachkontenlänge, Buchungsperiode, WKZ)
  • Converts German decimal commas (1.234,56) and S/H (Soll/Haben) indicators into signed Decimal amounts
  • Resolves 4-digit DDMM Belegdatum against the fiscal year into ISO YYYY-MM-DD dates
  • Validates missing accounts, invalid dates, unexpected S/H flags, and Sachkontenlänge
  • Zero external dependencies (Python standard library only)

Install

pip install datev-extf-parser

Python Usage

from datev_extf_parser import parse_datev_extf

with open("EXTF_Buchungsstapel.csv", "rb") as f:
    meta, bookings, issues = parse_datev_extf(f.read())

print(meta["bezeichnung"], len(bookings), "issues:", len(issues))
for row in bookings[:5]:
    print(row["date"], row["konto"], "->", row["gegenkonto"], row["signed_amount"], row["text"])

CLI Usage

datev-extf-parser EXTF_Buchungsstapel.csv --format csv -o bookings.csv
datev-extf-parser EXTF_Buchungsstapel.csv --format json -o bookings.json

Metadata

Release files for datev-extf-parser 0.1.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 datev-extf-parser 0.1.0
File Size Uploaded Provenance Actions
datev_extf_parser-0.1.0.tar.gz 5.5 kB Without provenance Details for datev_extf_parser-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for datev-extf-parser 0.1.0
File Interpreter ABI Platform Actions
datev_extf_parser-0.1.0-py3-none-any.whl Python 3 none any Details for datev_extf_parser-0.1.0-py3-none-any.whl

Total release size: 11.8 kB

Release files / datev_extf_parser-0.1.0.tar.gz

Download URL datev_extf_parser-0.1.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
07ab8ff3e28d6e5f2761c55a7c270562588b44094ebcef64bb73fd721d79c651
BLAKE2b-256 checksum
How to use checksums
e204b4d46dadcdd06a4ab8508d8639459374d0719edf92ccefaf5b247bc94e50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / datev_extf_parser-0.1.0-py3-none-any.whl

Download URL datev_extf_parser-0.1.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6a04f322121bc2d9a76639d1766ec992422145ed5fd13d51a912f6844d3b374
BLAKE2b-256 checksum
How to use checksums
495d2b95d5de1cc0b6bfa8609c9b94cff27eb78a8bc1bb81fcec262011f277ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for datev-extf-parser 0.1.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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