/ back

InvoiceDesk

A self-hosted invoice and quote manager tailored for the Moroccan Auto-Entrepreneur framework.

Design & Development  ·  Year: 2024

Overview

/overview

A self-hosted, single-user PHP and vanilla JavaScript application designed to automate invoicing and tax compliance for Moroccan auto-entrepreneurs. Installed as easily as a traditional CMS on your own server, it provides a private, secure desktop and mobile interface to manage clients, issue quotes, and generate professional invoices. The platform is already actively used by a community of independent Moroccan professionals to escape manual accounting.

The problem

/problem

When Morocco introduced the auto-entrepreneur status a decade ago, it gave independent workers a legal framework but left them with an administrative burden. Without affordable, localized software, most entrepreneurs resorted to copy-pasting Word templates and calculating complex tax rules manually. Users had to track shifting turnover limits, client-specific revenue caps, and quarterly declarations by hand in basic spreadsheets.

Approach

/approach

Built strictly with native web standards (Vanilla JS, PHP, HTML, and CSS) to ensure the application remains ultra-lightweight, fast, and independent of fragile dependency graphs. The architecture embeds local tax logic directly into the workflow, automatically calculating the exact 0.5% or 1% tax rates based on the user's business activity. It monitors the annual turnover ceiling alongside the strict 80k DH per-client limit, providing visual safety indicators. AI was strategically leveraged to optimize specific, intricate logical barriers during data structure design.

The current roadmap focuses on expanding the system to support secure multi-user permissions for external accountants, alongside automated email notifications for overdue invoices and upcoming quarterly tax deadlines.

Screens

/screens
InvoiceDesk — Dashboard
The main dashboard tracking quarterly revenue caps, tax declaration deadlines, and real-time invoice status.
InvoiceDesk — Settings
Configuration panel for system preferences, interface themes, and default localization settings.

Work together

/next

Building something similar, or curious how this was made? contact@fahdos.com