Python ZUGFeRD XML implementation for creating and parsing ZUGFeRD invoices. Current version 2025.2.0. Released as a date-based version annually with maintenance updates.
pip install drafthorseNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a minimal ZUGFeRD invoice and output XML.
Pin to a specific version or use ~=2025.2.0 if you want only patch updates.
Use the 'required' parameter when constructing fields or set them all before writing.
Import from 'drafthorse.models.invoice' instead.