Mafaci.fr — Compliance-Driven AI & Factur-X B2B SaaS Platform

CESAR RUZAFA ALBEROLA
Published

0
  • Project creator

Mafaci.fr is a production-validated multi-tenant B2B SaaS platform engineered for French micro-entrepreneurs to manage electronic invoicing compliant with the DGFiP 2026 mandate (EN 16931 standard)[cite: 8].

The system implements an immutable regulatory archiving bunker using OVHcloud S3 Object Lock Compliance with a strict 11-year cryptographic retention protocol[cite: 8]. All data ingestion via Telegram Bots, Web SPAs, and Cloudflare-routed email gateways executes through an un-bypassable Content Disarm and Reconstruction (CDR) pipeline[cite: 8]. This pipeline combines python-magic validation, ClamAV in-memory stream scanning, and surgical PDF structural sanitation to fully neutralize embedded exploits[cite: 8].

Once safe, the system leverages a Dual-Track execution path: processing structured Factur-X XML data directly using high-precision Decimal scaling, or falling back to a custom local OCR and DeepSeek R1 pipeline for parsing and categorizing national and international receipts[cite: 8]. The platform features full Docker hardening (cap_drop, read_only filesystems, and isolated tmpfs mounts), zero-knowledge multi-salt authentication, and a secure 2FA/TOTP onboarding pipeline for accounting audits[cite: 8].