🌐 Language: English | Français | العربية
Level 3 — Intermediate / Agency & ERP Workflows#
At Level 3, ProdyPanda Factures transforms from a standalone invoicing app into a complete agency & SME ERP: rebilling client expenses with optional markup, automating monthly retainers and bimonthly utility bills, managing Tunisian suppliers and Purchase Orders, issuing Deposit & Balance invoices, collecting client e-signatures on a Public Portal, and billing international clients in EUR/USD and English.
1. Client-Linked Purchases & 1-Click Rebilling (Achats pour Client & Débours)#
Digital agencies, studios, and service firms constantly buy things on a client's behalf — domain names, OVHcloud servers, stock footage, printing runs, or freelance subcontractors. Tracking those costs accurately ensures zero unbilled leaks and shows your true project profit margin.
flowchart LR
A["1. Buy for Client<br/>(OVH, Print, Freelancer)"] --> B["2. Log Expense<br/>Preset: 🛒 Achat Client<br/>Refacturable = ON"]
B --> C{"Status:<br/>À refacturer"}
C -->|"Option A: From Expenses Table"| D["Click Refacturer →<br/>Add to Existing or New Doc"]
C -->|"Option B: Inside Studio Facture"| E["Click + Importer achats<br/>à refacturer"]
D --> F["Status flips to<br/>Refacturé ✓ (Linked Invoice)"]
E --> F
F --> G["Auto-updates Client &<br/>Invoice Profit Margin!"]Step-by-Step: Recording a Billable Client Purchase#
- Go to
Dépenses & Achatsand click+ Nouvelle Dépense / Achat. - Click the
🛒 Achat Clientquick preset pill. This automatically:- Sets Category to
Achat Client (Refacturable)and Scope toAchat pour Client (Projet / Refact.) - Checks
Refacturable(billable = ON) - Highlights the Client Link Box
- Sets Category to
- Select the Client (and optionally link an existing Quote or Invoice for that project).
- Choose your rebilling strategy:
- Pure Passthrough (
Débours, Markup =0%): You rebill the exact pre-tax TND cost (rebillPriceHT = TND H.T.). - Agency Markup (e.g.,
+20%or+25%): Enter the percentage in Marge / Majoration (%) — ProdyPanda immediately computes the exact Prix de refacturation H.T. (TND H.T. × (1 + markup / 100)). - Example: You buy
1 200.000 DTH.T. of third-party production forPulire Tunisiewith a20%markup → Rebill price automatically becomes1 440.000 DTH.T.
- Pure Passthrough (
- Save with
Enregistrer la dépense. The row displays an amberÀ refacturerbadge, and the counter on theAchats Clients à Refacturersub-tab (and in the Alert Center) increments immediately!
Two Ways to Rebill in 1 Click#
Method A — From Dépenses & Achats#
- Click the
Achats Clients à Refacturersub-tab to isolate every unbilled client cost. - Click
Refacturer →on the row. - In
Refacturer cet Achat au Client:- Pick an existing unlocked Quote/Invoice for that client, OR select "Nouveau document" and choose
Facture/Devis/Facture Proforma. - Customize the line item title if desired and choose whether to include your markup.
- Click
Refacturer au client.
- Pick an existing unlocked Quote/Invoice for that client, OR select "Nouveau document" and choose
- The expense status immediately switches to a clickable green
Refacturé ✓link pointing to the invoice!
Method B — Directly Inside Studio Facture (A4)#
Whenever you open or create an invoice in Studio Facture (A4) for a client that has unbilled expenses, look at the Profitability Strip directly below the client selector:
- You will see total linked purchases, live gross margin (
DT&%), and an amber pill+ Importer achats à refacturershowing the unbilled count. - Click it to import those unbilled purchases directly into your current invoice without ever switching screens!
2. Recurring Retainers (Abonnements) & Fixed Utility Bills Schedule (Échéancier Charges Fixes)#
ProdyPanda automates both sides of recurring cash flow: recurring income from clients AND recurring bills from utilities/landlords.
A. Recurring Client Retainers (Abonnements)#
Ideal for monthly website maintenance, SEO retainers, hosting renewals, or quarterly support contracts:
- First create and save a normal
Facture(orDevis) in Studio Facture to serve as your template. - Open
Abonnementsin the left sidebar and click+ Nouvel Abonnement Récurrent. - Configure your
Profil d'Abonnement Récurrent:- Label (e.g.,
Maintenance & Hébergement — Pulire Tunisie) - Template Document (the invoice you created)
- Frequency:
MONTHLY,BIMONTHLY,QUARTERLY,SEMIANNUAL,YEARLY, orWEEKLY - Next Run Date (
Prochaine échéance): ProdyPanda uses safe month-end clamping (e.g.,2026-01-31+ Monthly →2026-02-28, never overflowing into March!) - Auto-Send Email (
Envoi e-mail automatique): optionally emails the newly generated PDF invoice automatically via SMTP!
- Label (e.g.,
- Click
Enregistrer l'abonnement. The background scheduler runs automatically when the server is active, or you can trigger all due profiles manually anytime withExécuter les échéances maintenant.
Bonus in
Abonnements: Scroll down toFactures Échues & Relances Automatiséesto monitor overdue client invoices grouped by aging bucket and send 1-click payment reminder emails.
B. Recurring Utility & Fixed Bills Schedule (Échéancier Charges Fixes)#
Never get caught off-guard by a STEG cutoff notice or late CNSS penalty!
- Open
Dépenses & Achatsand click theÉchéancier Charges Fixessub-tab. - Click
+ Nouvelle Charge Récurrenteand fill inCharge Fixe / Utilitaire Récurrent:- Label & Supplier (e.g.,
STEG Bureau Ben Arous,SONEDE Eau,Loyer Bureau,Topnet Fibre,CNSS Trimestrielle) - Contract / Police Number (e.g., STEG police N°)
- Frequency:
Mensuel (chaque mois)— Rent, Internet, SalariesBimestriel (tous les 2 mois — STEG/SONEDE)— Electricity/Gas & WaterTrimestriel (tous les 3 mois — CNSS)— Social SecurityAnnuel (chaque année)— Insurance, Domain renewals
- Estimated H.T., TVA %, Timbre, Currency, Payment Method & Treasury Account
- Next Due Date & Reminder Lead Days (e.g.,
10or15days ahead)
- Label & Supplier (e.g.,
- Click
Enregistrer la charge fixe.
The 15-Day Upcoming Bills Strip#
Whenever a scheduled fixed bill is due within the next 15 days (or overdue), a highlighted strip appears automatically at the top of Dépenses & Achats (and inside the global Alert Center):
- Click "Enregistrer la facture" on any upcoming pill.
- The Expense modal opens 100% pre-filled with supplier, category, contract number, and estimated values — just adjust the exact amount from your new bill, attach the PDF, and click
Enregistrer la dépense. - ProdyPanda automatically logs the expense AND advances the schedule's
nextDueDateto the next cycle (2026-11-22→2027-01-22for bimonthly STEG)!
3. Suppliers Directory & Purchase Orders (Fournisseurs & BC)#
Open Fournisseurs & BC in the left sidebar. It contains three structured tabs:
| Tab | Purpose |
|---|---|
Répertoire Fournisseurs | Permanent supplier database with Tax ID (MF), contract/police N°, RIB, default TVA/RS rates, and live total spend / unpaid balance / RS totals. |
Bons de Commande Fournisseurs | Formal Purchase Orders (BC-YYYY-NNNN) sent to vendors before delivery, with PDF, SMTP Email, and 1-click Convert to Expense. |
Retenues à la Source Fournisseurs | Full Tunisian supplier withholding tax ledger, Recette des Finances CSV export, and A4 RS Certificates (detailed in Level 4). |
1-Click Tunisian Supplier Starter Pack#
On Répertoire Fournisseurs, click Charger modèles Tunisie (STEG, SONEDE...) once to instantly populate 6 essential Tunisian providers (skipping any that already exist):
| Supplier | Category | Pre-Filled MF / Tax ID | Default TVA | Default RS |
|---|---|---|---|---|
| STEG | STEG (Électricité & Gaz) | 0000105D/A/M/000 | 19% | 0% |
| SONEDE | SONEDE (Eau) | 0000110K/A/M/000 | 7% | 0% |
| Topnet | Internet & Télécom | 0757761P/A/M/000 | 19% | 1% |
| Orange Tunisie | Internet & Télécom | 1104431X/A/M/000 | 19% | 1% |
| OVHcloud | Hébergement & Cloud | (Foreign — France) | 0% | 15% |
| CNSS | CNSS & Charges Sociales | (Social Security) | 0% | 0% |
Click + Nouveau Fournisseur to add your printer, hardware vendor, landlord, or subcontractors. Whenever you select a saved supplier while creating an Expense or Purchase Order, their Code TVA, N° Contrat, default TVA %, and default RS % fill in automatically!
Supplier Purchase Orders (Bons de Commande Fournisseurs) Workflow#
flowchart LR
PO["1. Create PO<br/>(+ Bon de Commande)<br/>BC-2026-0001"] --> PDF["2. Download A4 PDF<br/>or Send via SMTP Email<br/>(DRAFT → SENT)"]
PDF --> DEL["3. Goods / Services<br/>Delivered + Bill Arrives"]
DEL --> CONV["4. Click Convertir en Dépense<br/>(PO → CONVERTED,<br/>Expense Created Automatically)"]- Switch to
Bons de Commande Fournisseursand click+ Bon de Commande. - Notice the auto-generated PO number (e.g.,
BC-2026-0001). Pick a Supplier, optionally link a Client (if buying for a client project), set Issue / Expected Dates, Currency, and TVA %. - Add line items using
+ Ajouter une ligne— live totals (H.T.,TVA,T.T.C.) update instantly. - Click
Enregistrer le Bon de Commande. - From the PO table row, use the 1-click actions:
- PDF — downloads a branded A4 Purchase Order (
BC-2026-0001.pdf) - Email — sends a branded ProdyPanda email with
BC_BC-2026-0001.pdfattached via SMTP and updates the PO status fromDRAFTtoSENT - Convertir en Dépense — when the vendor invoices you, click once to turn the PO into a real record in
Dépenses & Achats(preserving supplier, client link, amounts, and currency) and mark the PO asCONVERTED!
- PDF — downloads a branded A4 Purchase Order (
4. Deposit (Acompte) & Balance (Solde) Invoices#
For larger web, branding, or video production projects, Tunisian agencies typically collect a 30% to 50% deposit before starting work and invoice the remaining balance on delivery.
Step 1: Issue a Deposit Invoice (Facture d'Acompte)#
- Open an approved Quote (
Devis) in Studio Facture (A4). - Click
→ Acomptein the top toolbar. - In
Générer une Facture d'Acompte, pick a quick percentage button (20%,30%,40%,50%, or type any custom%) and clickCréer la Facture d'Acompte. - ProdyPanda creates a properly numbered official
Facturereferencing the parent Quote, with1.000 DTTimbre fiscal and the exact deposit percentage! (You can even create multiple milestone deposits — e.g., 30% kickoff + 30% beta delivery.)
Step 2: Issue the Final Balance Invoice (Facture de Solde)#
- When the project is finished, reopen the original parent Quote (
Devis). - Click
→ Soldein the top toolbar. - ProdyPanda automatically builds the
Facture de Soldecontaining all full project line items minus every already-billed deposit invoice (clearly itemized by deposit invoice number and date), so the client sees the complete project total and pays only the exact remaining balance!
5. Public Client Portal & E-Signature (Bon pour Accord)#
Let your clients review quotes, download official PDFs, and legally sign Bon pour Accord right from their phone or laptop browser — without needing a ProdyPanda login!
- Open any saved Quote (
Devis) or Invoice (Facture) in Studio Facture (A4). - Click
Portail Clientin the top toolbar. - ProdyPanda enables a unique, unguessable cryptographic link (
/portal/<token>). ClickCopierand send the link to your client via email or WhatsApp.
> Tip for LAN / Public Domain hosting: Set your public base URL (e.g.,https://billing.prodypanda.comor your local office IPhttp://192.168.1.50:3000) insideParamètres & Taxes→Profils Sociétés, Style de Modèle A4 & Portail Clientso copied links use the right address! - What your client experiences:
- Views the clean official document and can download its exact A4 PDF (
/portal/:token/pdf). - On a Quote (
Devis), sees an interactiveBon pour Accordsignature box: they enter their full name/title, draw their signature with mouse or finger on the HTML5 canvas, and submit.
- Views the clean official document and can download its exact A4 PDF (
- What happens automatically in ProdyPanda:
- The client's signature image, signer name, and timestamp (
acceptedAt,acceptedBy) are permanently stored and rendered directly onto the official Quote PDF! - An audit log entry is recorded.
- A notification appears in your Alert Center under
Devis signésso you can click straight into the signed Quote and hit→ Factureor→ Acompte!
- The client's signature image, signer name, and timestamp (
Privacy Guarantee: Public portal routes sanitize settings via
getPublicSafeSettings(), ensuring yourSMTPcredentials,passwordPin, andgeminiApiKeyare never exposed externally.
6. Multi-Currency (DT/EUR/USD) & FR/EN Invoice Language#
Working with European or North American clients, or paying foreign SaaS/cloud bills (OVHcloud, AWS, Adobe, OpenAI)? ProdyPanda handles multi-currency seamlessly while keeping your Tunisian Dinar books 100% accurate.
A. Issuing Foreign-Currency & English Client Invoices#
- In Studio Facture (A4), locate the Currency (
Devise), Exchange Rate (Taux de change TND), and Document Language (Langue) controls:- Choose
EURorUSD— ProdyPanda automatically loads your configured rate from Settings (defaults:EUR = 3.380 DT,USD = 3.120 DT), sets2decimal places (cents), and updates currency names (Euros/US Dollars). - For Tunisian exports (
Export / Hors Taxe), click theExport / Hors Taxe (0% sans Timbre)tax preset (0% TVA, 0 Timbre). - Switch Language to
EN— watch the live A4 preview translate every label (INVOICE,Quote,Qty,Unit Price,Total Excl. Tax,VAT,Net Payable) AND generate a grammatically accurate English legal sentence:
>This invoice is settled at the total amount of Two Thousand Four Hundred Euros and Fifty cents. - Notice the automatic TND Accounting Equivalent line (
Accounting equivalent (TND): ... DT @ 3.380) printed cleanly for Tunisian Central Bank & accounting compliance across all three templates (classic,modern,compact)!
- Choose
B. Recording Foreign-Currency Supplier Expenses#
When logging an OVHcloud bill in EUR or an OpenAI receipt in USD inside Dépenses & Achats:
- Select
EURorUSD, verify the exchange rate, and type the original foreign amount (e.g.,100.00 EUR). - ProdyPanda displays the live
Équivalent TNDpreview (e.g.,338.000 DT), saves the original foreign amount for clean future editing (originalAmountHT/originalTotalTTC), and posts the TND equivalent into your Fiscal P&L, Budgets, and Treasury so every Dinar balances!
7. Document Locking, Audit Trail & Custom Lists#
Document Locking (Verrouiller) & Audit Trail (Historique)#
Once a Facture has been sent to a customer and declared to your accountant, you should never silently alter it.
- Click
Verrouillerin Studio Facture (or use batchVerrouillerin the Documents table). - A locked invoice becomes read-only and cannot be accidentally edited or deleted. A top lock bar gives two clean options:
Créer un Avoir— issue a legal Credit Note to cancel or adjust it properly.Déverrouiller— unlock (restricted to administrators when multi-user RBAC is enabled).
- Click
Historiqueon any document to inspectPiste d'Audit & Historique du Document: a chronological timeline of every creation, edit, lock/unlock, conversion, payment, email delivery, and portal acceptance with the exact user/actor and timestamp.
Customizing Your Agency's Lists in Settings#
Go to Paramètres & Taxes and scroll to Catégories, Étiquettes, Devises & OCR IA:
- Exchange Rates: Update your default
EUR → TNDandUSD → TNDrates anytime. - Custom Expense Categories: Add agency-specific categories beyond the 19 built-in Tunisian defaults (
+ Ajouter). - Custom Invoice Badges: Add or customize top-right invoice ribbons (built-in:
Facture Web,Facture Design,Facture Vidéo,Facture Consulting,Facture IA,Devis). - Custom Payment Methods: Manage payment options (built-in:
Virement Bancaire,Chèque,Espèces,Traite,Carte Bancaire,Prélèvement Automatique,D17 / Flouci). - Expense Tags: Add custom tags (built-in:
Urgent,Déductible TVA,Refacturable,Fixe,Import / Devise) to filter expenses effortlessly. - Always click
Enregistrer toute la configurationat the top-right to save!
✅ Level 3 Agency ERP Checklist#
- Logged a client purchase with
🛒 Achat Clientand rebilled it in 1 click (À refacturer→Refacturé ✓) - Seeded Tunisian suppliers via
Charger modèles Tunisie (STEG, SONEDE...) - Created at least one
Échéancier Charges Fixesschedule (e.g., Bimonthly STEG or Monthly Rent) - Issued a Supplier Purchase Order (
BC), exported its PDF, and testedConvertir en Dépense - Generated a
Facture d'Acompte(30%) andFacture de Soldefrom a Quote - Tested the
Portail Clientlink and canvasBon pour Accorde-signature - Previewed an
EUR+ENexport invoice with its TND accounting equivalent line
🧭 Navigation#
Print Studio, production and the new agency workflows: Agency operations guide.
← Level 2 — Beginner | English Index | Level 4 — Advanced (Tax, Treasury & P&L) →