ProdyPanda Factures Knowledge & Architecture Wiki

🌐 Language: English | Français | العربية

Level 1 — Noob / Complete Beginner Guide#

Welcome to ProdyPanda Factures! If you have never used invoicing software before — or if words like H.T., TVA, and Timbre fiscal sound intimidating — you are in the exact right place.

By the end of this 10-minute guide, you will have:

  • Started ProdyPanda Factures on your computer in one click
  • Explored every area of the workspace
  • Created your very first Client, Quote (Devis), and Invoice (Facture)
  • Exported a crisp A4 PDF and learned how to email it to your customer

1. Prerequisites (Zero Cloud Setup Required)#

ProdyPanda Factures runs 100% locally on your own computer. Your invoices, clients, and financial records stay in a private file on your hard drive — no monthly subscription, no external cloud database, and no internet connection required to create invoices or PDFs.

You only need two things installed on your computer:

RequirementRecommended VersionWhy It's Needed
Node.jsv24 LTS (minimum v22.13+)Runs the local engine with native SQLite. Download from nodejs.org.
Google Chrome or Microsoft EdgeAny modern versionUsed both to view the app in your browser and automatically in the background to generate exact A4 PDF files.

First-time folder setup: The Windows launcher installs missing dependencies automatically (npm install, internet needed). Terminal users can run npm install once in the project folder. Use Node 22.13+ or a newer supported release with native SQLite.


2. Launching ProdyPanda Factures#

You have two easy ways to start the app:

Option A — 1-Click Windows Launcher (Easiest!)#

  1. Open your project folder (d:\prodypanda factures).
  2. Double-click Lancer_ProdyPanda_Factures.bat.
  3. The launcher automatically:
    • Checks Node.js and installs missing dependencies
    • Validates PORT (default 3000) and checks the app’s /health response
    • Starts the server in a separate PowerShell window
    • Opens the browser only when healthy; reuses a healthy instance and refuses a port occupied by another application. scripts/launcher.ps1 -NoBrowser -NoNewWindow supports controlled startup with launcher.log / launcher-error.log in <DATA_DIR>.

Option B — From a Terminal (Windows / macOS / Linux)#

Open a terminal in the project folder and run:

BASH
npm start

When you see:

TEXT
ProdyPanda Billing System running at http://localhost:3000

open your web browser and go to http://localhost:3000.

What you will see on first launch: ProdyPanda Factures comes pre-loaded with a real official sample invoice — Facture N° 20260300001 for Pulire Tunisie (6 571.989 DT) — plus a sample service catalog. Feel free to click on it to see how a finished Tunisian commercial invoice looks!

MERMAID DIAGRAM
flowchart LR
    A["Double-click<br/>Lancer_ProdyPanda_Factures.bat"] --> B["Node.js Server Starts<br/>(Port 3000)"]
    B --> C["Browser Opens<br/>http://localhost:3000"]
    C --> D["Start Billing!<br/>All data saved locally in data/"]

3. Visual Tour of the Workspace#

The ProdyPanda Factures screen is divided into three clear zones:

MERMAID DIAGRAM
flowchart LR
    subgraph Left["Left Sidebar (Ctrl+B to collapse)"]
      Q["Quick Actions:<br/>Nouvelle Facture · Devis · Ctrl+K"]
      N["12 Navigation Views + Help / Wiki"]
    end
    subgraph Right["Main Workspace"]
      Top["Top Utility Bar:<br/>Current View · Mode Sombre/Clair · Alertes"]
      Body["Active Page Content<br/>(Tables, Studio A4, Charts, Forms)"]
    end
    Left --> Right

A. The Left Sidebar (and Collapsing It with Ctrl+B)#

At the top of the dark charcoal sidebar, you will always find three instant buttons:

  • Nouvelle Facture (red primary button) — jumps straight into creating a brand-new Invoice.
  • Devis — jumps straight into creating a new Quote.
  • Ctrl+K — opens the Quick Search & Actions bar to jump anywhere without touching the mouse.

Need more room on a laptop screen? Click the collapse button at the top-right of the sidebar or press Ctrl+B on your keyboard. The sidebar shrinks into sleek icons and remembers your preference next time you open the app!

Below the quick actions are 12 workspace views and Aide / Wiki:

Sidebar Button (French UI)English MeaningWhat You Do Here
Factures & DocumentsInvoices & DocumentsYour home screen: see, search, filter, and track all Quotes, Invoices, Proformas, Delivery Notes, and Credit Notes.
Studio Facture (A4)Invoice Studio (A4)The split-screen editor where you build a document on the left and watch the real A4 paper preview update live on the right.
Impression & EnseignesPrint & SignageEstimates, multi-format cutting plans, supplier comparisons, offcut stock and workshop PDFs.
Suivi de ProductionProductionSaved print dossiers, stages, priorities and deadlines.
Dépenses & AchatsExpenses & PurchasesLog utility bills (STEG, SONEDE, Internet), office expenses, receipts, and client purchases.
Fournisseurs & BCSuppliers & Purchase OrdersYour supplier directory, supplier Purchase Orders (Bons de Commande), and supplier withholding tax (RS).
TrésorerieTreasury / Cash & BankTrack real-time balances for Banque Zitouna, Caisse Espèces (cash box), and Portefeuille Chèques & Traites.
AbonnementsRecurring SubscriptionsAutomate monthly/quarterly client retainer invoices and monitor overdue invoice reminders.
Fiscalité & TVATax, P&L & ReportsCheck TVA due, Profit & Loss, budgets, client profitability, Executive PDF reports, and Accountant ZIP downloads.
Clients & RelevésClients & StatementsSave your customers once so you never retype their address or tax ID (Code TVA), and print account statements.
Catalogue & RemisesCatalog & DiscountsStore your reusable services, prices, bullet-point descriptions, and discount templates.
Paramètres & TaxesSettings & TaxesConfigure your company logo, address, RIB, tax rates, SMTP email, backups, and security.

Use Aide / Wiki for help. The Agency guide explains print/production and N1–N8. On mobile, Ctrl+B opens a full navigation menu instead of a narrow icon rail; it does not interrupt typing in a text field.

B. The Top Utility Bar (Theme Switcher + Alert Center)#

Running across the top of the main workspace is a clean utility strip with three helpful elements:

  1. Current Section Context (on the left) — always tells you which workspace section you are looking at.
  2. Dark / Light Mode Toggle (Mode Sombre / Mode Clair) — switches the entire workspace between a warm daylight ledger look and an eye-friendly dark workspace.
    > Smart Paper Guarantee: Even when you switch to Dark Mode (Mode Sombre), the A4 invoice preview sheet stays pure white paper with crisp black ink so you always see the exact print result!
  3. Alert Center (Alertes) — displays a red counter badge whenever there are overdue client invoices, upcoming utility bills, unbilled client purchases, signed quotes, or budget warnings. Click it to slide open the priority action drawer.

4. Your First Client, Quote, and Invoice#

Let's walk through a real end-to-end example together.

Step 1: Create Your Very First Client#

  1. Click Clients & Relevés in the left sidebar.
  2. Click the red + Nouveau Client button in the top-right corner.
  3. Fill in the popup form (Fiche Client):
    • Nom / Raison sociale (Name): e.g., Atelier Jasmin SARL
    • Code TVA / Matricule Fiscal: e.g., 1754321B/A/M/000 (leave blank if the client is an individual)
    • Adresse (Address): e.g., 12 Rue du Lac Biwa, Les Berges du Lac, Tunis
    • Téléphone / Contact: e.g., (+216) 71 000 000
    • E-mail: e.g., direction@atelier-jasmin.tn (used later for 1-click email sending!)
  4. Click Enregistrer Client. Done — your client is saved permanently!

Step 2: Create Your Very First Quote (Devis)#

Before doing work, you normally send a price proposal (Devis):

  1. Click Devis at the top of the left sidebar.
  2. You are now inside Studio Facture (A4):
    • Notice the Document Type is already set to Devis and the Number (e.g., 20261100001) is generated automatically.
    • Under Client Destinataire, select Atelier Jasmin SARL from the dropdown — all address, phone, email, and Code TVA fields fill in automatically!
    • Under Lignes de Prestations & Remises, click + Ajouter une prestation:
      • Enter a Désignation / Titre, e.g., Création site vitrine responsive (5 pages)
      • Optionally add bullet points in the details box (one bullet per line)
      • Set Qté = 1 and Prix Unitaire H.T. = 1500
    • Under Configuration Fiscale : TVA, Timbre & Frais, notice that a Quote usually has TVA 19% enabled and Timbre fiscal turned off (since Stamp Duty legally applies to final invoices).
  3. Click Enregistrer (or press Ctrl+S) in the top toolbar.

Step 3: Create Your Very First Invoice (Facture)#

You can create an Invoice in two ways:

  • From scratch: Click Nouvelle Facture in the left sidebar, pick your client, add your service lines, and make sure the quick tax button Standard (TVA 19% + Timbre 1 DT) is active.
  • From an accepted Quote (Fastest!): Open your saved Devis in Studio Facture and click → Facture in the top toolbar! ProdyPanda Factures automatically copies every line item, creates a fresh official Facture number, and activates the 1.000 DT Timbre fiscal.

Step 4: Understanding the Live A4 Preview#

Look at the right half of Studio Facture (A4): every single character you type updates the real printable A4 sheet in real time!

  • View Mode Switcher (top toolbar):
    • Split (Éditeur + A4) — form on the left, live A4 preview on the right (best on desktop).
    • Aperçu A4 — full-screen inspection of your invoice sheet before sending.
    • Éditeur — full-width form view for typing long item descriptions on smaller screens.
  • Zoom Controls above the preview: click Ajuster to fit the page cleanly to your window, or 100% to inspect full scale.
  • Automatic Legal Sentence: Look near the bottom of the A4 preview — ProdyPanda automatically spells out your final total in official French legal wording:
    > **Arrêter la présente facture à la somme de Six mille cinq cent soixante et onze Dinars et 989 millimes sauf faute ou erreur de notre part.

5. Downloading Your PDF & Sending Your First Email#

Once your invoice looks perfect on the A4 preview and you have clicked Enregistrer:

Download a Print-Ready Vector PDF#

  1. Click the PDF button in the Studio Facture top toolbar.
  2. Wait 1–2 seconds while the built-in local Chromium engine renders a crisp, exact-layout A4 PDF.
  3. Your browser automatically downloads the file (for example, Facture_20260300001_Pulire_Tunisie.pdf).
  4. Need to print directly to paper? Click Imprimer A4 to open a clean print-ready sheet.

Send Your First Invoice by Email#

  1. Click the Email button in the Studio Facture toolbar.
  2. A popup (Envoyer le Document par E-mail) opens with:
    • Your client's email already filled in
    • A ready-made professional message (you can switch templates between Envoi Standard and Relance Paiement)
    • The official PDF automatically attached!
    • A handy Copier résumé WhatsApp button if you prefer sending a quick summary via WhatsApp instead of email.
  3. Click Envoyer par E-mail.

First-time Email Note: If you haven't entered your email server settings yet, ProdyPanda will show a friendly Configurer SMTP shortcut button right inside the Email popup. Click it to jump to Paramètres & Taxes (full step-by-step SMTP setup for OVH, Gmail, Outlook, and Brevo is covered in Level 5 — Expert).


6. Tunisian Billing Glossary (Plain English)#

If you are new to invoicing in Tunisia, keep this quick cheat sheet handy:

Term on ScreenFull French NamePlain-English MeaningExample (from Facture 20260300001)
DT & millimesDinar TunisienTunisian currency has 3 decimal places (1.000 DT = 1 000 millimes), not 2 like Euros or Dollars!6 571.989 DT = 6,571 Dinars and 989 millimes
H.T.Hors TaxesPrice Before Tax — your actual service/product price before adding VAT.5 521.840 DT
TVATaxe sur la Valeur AjoutéeValue-Added Tax (VAT) collected on behalf of the Tunisian tax office. Standard rate for agencies/services is 19% (other official rates: 13%, 7%, or 0% for exports/exemptions).1 049.149 DT (19% of 5 521.840 DT)
Timbre fiscalDroit de timbre fiscalFiscal Stamp Duty — a fixed legal fee added to Tunisian invoices (default 1.000 DT per invoice). Not charged on Quotes (Devis) or Exports.1.000 DT
T.T.C.Toutes Taxes ComprisesTotal Including Taxes (H.T. + TVA, plus Timbre when applicable).6 571.989 DT
Net à payerMontant Net à PayerFinal Amount Due — the exact total the client must pay you.6 571.989 DT
DevisDevis commercialQuote / Estimate — a price proposal sent before starting work. Not a legal accounting invoice yet.Converted to Facture once approved
Facture ProformaFacture ProformaProforma Invoice — a formal preliminary invoice often requested by banks, leasing companies, or clients before approving payment.Has no legal tax impact until finalized as Facture
AvoirFacture d'AvoirCredit Note — cancels or refunds part or all of an already-issued invoice legally (instead of deleting a finalized invoice).Reduces your declared revenue & TVA
MF / Code TVAMatricule FiscalTax Identification Number assigned to every Tunisian business (e.g., ProdyPanda's 1618295T or Pulire Tunisie's 1047381N/A/M/000).Legally mandatory on B2B Tunisian invoices
RIBRelevé d'Identité Bancaire20-digit Tunisian Bank Account Number printed at the bottom of your invoice so clients can wire money to you.25047000000140621604 (BANQUE ZITOUNA)

✅ Level 1 Quick-Start Checklist#

  • Node.js (v22.13+ or newer compatible release) and Chrome or Edge are installed
  • Launched ProdyPanda Factures via Lancer_ProdyPanda_Factures.bat (or npm start) and opened http://localhost:3000
  • Tried collapsing/expanding the sidebar with Ctrl+B and toggling Mode Sombre / Mode Clair
  • Inspected the sample invoice Facture 20260300001 (6 571.989 DT)
  • Created your first real Client in Clients & Relevés
  • Created and saved your first Devis or Facture and downloaded its A4 PDF

← English Index | English Index | Level 2 — Beginner (Daily Operations) →

ProdyPanda Factures — Complete English Documentation Curriculum