py-efactura

A modern, cross-platform desktop application for interacting with the Romanian ANAF e-Factura electronic invoicing system. Send, verify, and download invoices with ease.

⚡ Streamlit UI 🔐 OAuth2 🗄️ SQLite 🐍 Python 3.12+

Features

Everything you need to manage your electronic invoices through ANAF.

📤

Send Invoices

Upload XML files and submit them directly to ANAF with automatic validation and error reporting.

📥

Download Messages

Synchronise received and sent invoices, messages, and error reports from ANAF automatically.

🔄

Background Verification

A background service periodically checks the status of your submitted invoices and updates the database.

📄

PDF Conversion

Convert any invoice XML to a readable PDF document for archiving and printing.

🔐

OAuth2 Authentication

Secure JWT token-based authentication with automatic token refresh and renewal.

🐍

Built with Python

Modern Python codebase using Streamlit, SQLAlchemy, and SQLite — easily customisable.

Get Started

Install and start using py-efactura in minutes.

1

Download the installer

Grab the latest Windows installer from the button above, or clone the repository from GitHub for any platform.

2

Set up your credentials

Configure your ANAF OAuth2 tokens and company CIF in the .env file — a template is provided.

3

Launch the application

Run pyefact.bat (Windows) or python launcher.py to start the web interface.

📖 Read the full documentation

Contact

Ai întrebări despre py-efactura? Trimite-ne un mesaj.