# 7. LES DIFFÉRENTS CAS D’USAGE

# Cas d'usage

**EXEMPLES CONCRETS D'UTILISATIONS :**

<table id="bkmrk-cascontexteactionmod" style="width: 100%; border-collapse: collapse; font-family: Arial, sans-serif;"><colgroup><col style="width: 20%;"></col><col style="width: 229px;"></col><col style="width: 50%;"></col></colgroup><tbody><tr style="height: 50px; background-color: rgb(0, 98, 204); color: white;"><th style="padding: 10px; border: 1px solid rgb(204, 204, 204);">**CAS**

</th><th style="padding: 10px; border: 1px solid rgb(204, 204, 204);">**CONTEXTE**

</th><th style="padding: 10px; border: 1px solid rgb(204, 204, 204);">**ACTION**

</th></tr><tr><td style="padding: 10px; border: 1px solid rgb(204, 204, 204);">**MODIFICATION SIMPLE**

</td><td style="padding: 10px; border: 1px solid rgb(204, 204, 204);">Un fournisseur a changé de banque et communique son nouveau RIB.

</td><td style="padding: 10px; border: 1px solid rgb(204, 204, 204);">**Comptable :**

- Ouvre la fiche du fournisseur
- Modifie l'IBAN
- <span style="white-space: pre-wrap;">Valide le formulaire → Statut : </span>**En attente**

**Responsable comptable :**

- Reçoit une notification par e-mail
- Vérifie le nouveau RIB
- Valide la demande

→ L'IBAN est modifié et l'historique est conservé

</td></tr><tr style="background: rgb(216, 239, 255);"><td style="padding: 10px; border: 1px solid rgb(204, 204, 204);">**MODIFICATION URGENTE**

</td><td style="padding: 10px; border: 1px solid rgb(204, 204, 204);">Un virement doit être effectué immédiatement avec le nouveau RIB.

</td><td style="padding: 10px; border: 1px solid rgb(204, 204, 204);">**Directeur (Superutilisateur) :**

- Ouvre la fiche du tiers
- Modifie l'IBAN
- L'IBAN est appliqué immédiatement
- L'historique est conservé pour audit

</td></tr><tr><td style="padding: 10px; border: 1px solid rgb(204, 204, 204);">**DÉTECTION D'UNE FRAUDE**

</td><td style="padding: 10px; border: 1px solid rgb(204, 204, 204);"><span style="white-space: pre-wrap;">Une demande de modification semble frauduleuse : </span>

- Avertissement automatique suite au calcul de cohérence sur les IBANs et sur les BICs
- <span style="white-space: pre-wrap;">Message d'avertissement </span>
- Plusieurs demandes de modification trop rapprochées

</td><td style="padding: 10px; border: 1px solid rgb(204, 204, 204);">**Validateur :**

- Examine la demande
- Constate une anomalie (IBAN suspect, document absent)
- Refuse la demande
- Contacte le demandeur

→ L'ancien IBAN reste actif

→ La tentative est enregistrée (statut : Refusé)

</td></tr><tr style="background: rgb(216, 239, 255);"><td style="padding: 10px; border: 1px solid rgb(204, 204, 204);">**AUDIT COMPTABLE**

</td><td style="padding: 10px; border: 1px solid rgb(204, 204, 204);">L'expert-comptable demande l'historique des modifications.

</td><td style="padding: 10px; border: 1px solid rgb(204, 204, 204);">**Administrateur :**

- Accède à la liste des modifications
- <span style="white-space: pre-wrap;">Exporte les données (export </span>***Dolibarr***)
- Fournit l'historique complet avec dates, validateurs et statuts

</td></tr><tr><td style="padding: 10px; border: 1px solid rgb(204, 204, 204);">**CRÉATION D'UN NOUVEL IBAN**

</td><td style="padding: 10px; border: 1px solid rgb(204, 204, 204);">Ajout d'un nouveau RIB pour un tiers existant.

</td><td style="padding: 10px; border: 1px solid rgb(204, 204, 204);">Workflow identique à une modification :

- Un utilisateur ajoute le nouveau RIB
- <span style="white-space: pre-wrap;">Si droit </span>**"Modifier l'IBAN"** : validation nécessaire
- <span style="white-space: pre-wrap;">Si droit </span>**"Superutilisateur"** : ajout immédiat avec historique

</td></tr></tbody></table>