Assembly Line

Python-drafthorse

Pure-python ZUGFeRD implementation

Python-drafthorse is an open-source e-invoicing library project on GitHub under the Apache-2.0 license (permissive), with 182 stars. It is built with CPython. Its last push was 5 days ago.

Stars
182
License
Apache-2.0
Activity
Active

Code on GitHub

Judgement

What it is
Building block
What it does
A low-level Python library that models the ZUGFeRD XML format one to one, generates and parses the XML and attaches it to a PDF.
Adopt it when
A Python application must emit ZUGFeRD invoices and the developer can work from the official specification.
Watch out
No profile-level validation, no documentation beyond the spec, and maintenance is a side task for pretix.
Ready for
Usable
Runs as
Library
Built with
Python and lxml
How established
Established: started 8 years ago, no tagged release yet.
What the license allows
You can build it into a product you sell, as long as you keep its copyright notice.

Judged on 2026-11-03 from the project's README and GitHub data. The license and age lines are worked out directly.

Built from

Follow it down: Python-drafthorse → CPython → GCC → LLVM project → runs on a microchip

How compilers were built, back to punched paper tape

Open-source alternatives to Python-drafthorse

  1. 1
    Mustangproject ZUGFeRD

    Open Source Java e-Invoicing library, validator and tool (Factur-X/ZUGFeRD, UNCEFACT/CII XRechnung)

    Building block Production-ready A Java application must produce or check German or French e-invoices.

    ★ 483 Apache-2.0 XSLT Active, pushed 17 days ago
  2. 2
    ZUGFeRD horstoeko

    ZUGFeRD/XRechnung/Factur-X Library

    Building block Production-ready You maintain a PHP app already using it; new projects should start with its successor, horstoeko/invoicesuite.

    ★ 437 MIT PHP Active, pushed 32 days ago
  3. 3
    ZUGFeRD-csharp stephanstapel

    Open source C# e-invoicing library. Enables creating and reading ZUGFeRD invoices.

    Building block Production-ready Only for existing .NET projects that need a short bridge; new work should look elsewhere.

    ★ 395 Apache-2.0 C# Active, pushed 24 days ago
  4. 4
    Phase4 phax

    phase4 - AS4 client and server for integration into existing systems. Specific support for Peppol and CEF eDelivery built-in.

    Building block Production-ready You are building a Peppol access point or another AS4 integration in Java.

    ★ 246 Apache-2.0 Java Active, pushed 3 days ago
  5. 5
    Quba-viewer ZUGFeRD

    Quba is a viewer for electronic invoices

    Complete system Usable Someone in accounts receives XML e-invoices and needs to read and check them locally.

    ★ 206 Apache-2.0 Kotlin Active, pushed 10 days ago
  6. 6
    ZATCA SallaApp

    An unofficial package maintained by Salla to help developers to implement ZATCA (Fatoora) QR code easily which required for e-invoicing

    Building block Usable A PHP system selling in Saudi Arabia must generate ZATCA-compliant invoices.

    ★ 168 MIT PHP Active, pushed 21 days ago
  7. 7
    Factur-X atgp

    PHP library to manage your Factur-X / ZUGFeRD 2.0 PDF invoices files

    Building block Usable Your PHP system already produces PDF invoices and the XML, and needs to combine them into Factur-X files.

    ★ 154 MIT PHP Active, pushed 3 months ago
  8. 8
    UBL Invoice num-num

    A modern object-oriented PHP library to read and create valid UBL and Peppol BIS files

    Building block Usable Your PHP app must send UBL invoices over Peppol, for example in Belgium.

    ★ 142 MIT PHP Active, pushed 13 days ago

Commercial e-invoicing libraries for ZUGFeRD, Factur-X, XRechnung and Peppol

  1. 1
    Pagero Pagero

    Discover e-invoicing, tax, legal and regulatory compliance solutions from Thomson Reuters, helping organisations navigate complexity with confidence.

    Integration Production-ready A company trading across several countries must send and receive structured e-invoices to meet mandates.

    77 readers a month Commercial
  2. 2
    Avalara E-Invoicing Avalara

    Comply with international real-time reporting and e‑invoicing mandates. Automate financial operations with Avalara E‑Invoicing and Live Reporting.

    Integration Production-ready A multinational must comply with e-invoicing mandates in several countries and already uses Avalara for tax.

    Commercial

Stars, license and activity come from GitHub and refresh on a rolling hourly schedule. The project's own description is quoted as written.