facturx-engine
Python SDK for Factur-X Engine — generate and validate Factur-X, ZUGFeRD 2.x, and XRechnung invoices via a self-hosted Docker API.
Install
pip install facturx-engine
Usage
from facturx_engine import FacturxEngine
client = FacturxEngine("http://localhost:8000")
# Generate EN 16931 CII XML
xml = client.generate_xml({
"invoice_number": "INV-2025-001",
"issue_date": "20250101",
"seller": {"name": "My Company", "vat_number": "FR12345678901"},
"buyer": {"name": "Customer GmbH"},
"lines": [{"name": "Consulting", "net_price": 1000.0, "vat_rate": 20.0}],
"amounts": {"grand_total": "1200.00"}
})
# Validate a Factur-X / ZUGFeRD / XRechnung file
result = client.validate("invoice.pdf")
print(result)
Requirements
Requires a running Factur-X Engine instance:
docker run -d -p 8000:8000 facturxengine/facturx-engine:latest
License
MIT
Metadata
Release files for facturx-engine 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| facturx_engine-0.1.0.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| facturx_engine-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.5 kB
Release files / facturx_engine-0.1.0.tar.gz
| Download URL | facturx_engine-0.1.0.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57ea3f2081d26783fbae8b61d95c385a04ca316e8d29957b38f76433fcb1ddfb
|
|
BLAKE2b-256 checksum How to use checksums |
43cd33d662d4fbf9d5a3e21404ace438fc2b9f13950e355ae6c0b8a85602c981
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / facturx_engine-0.1.0-py3-none-any.whl
| Download URL | facturx_engine-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d0bfe80745054b402b74728a0dedecb85781bf5b330e2566169c4388489e1dd9
|
|
BLAKE2b-256 checksum How to use checksums |
22b1c079a9519f3d5698c4b6e65484080395ff125820d26fff9d71eb1de02d10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|