Direction Générale des Impôts · 2025
Immatriculation des contribuables avec vérification d'identité
A taxpayer registration service that verifies identities and scores every registration for risk. My engineering thesis project.
- scores de risque : à l'inscription et en continu
- 2
- facteurs pondérés dans le score continu
- 5
- de précision d'extraction sur les scans de test
- ~70%
Comment ça marche
Regardez le système
Appuyez sur lecture pour suivre une requête à travers le système, étape par étape.
Appuyez sur lecture pour suivre une requête à travers le système, étape par étape.
- Rôle
- Stagiaire ingénieure logiciel · cheffe de projet · Mémoire d'ingénieur (18/20)
- Période
- févr. – juil. 2025
- Organisation
- Direction Générale des Impôts
Technologies
Java
Spring Boot
- Microservices
Oracle
PL/SQL
Python
OpenCV
- Tesseract
Docker
GitLab CI/CD
Cette étude de cas est en anglais pour l'instant ; la version française arrive bientôt.
My engineering thesis project: a taxpayer registration service that verifies identities and gives every registration a risk score, so false identities and duplicate accounts are caught at the front door.
The problem
Registration is the entry point to the whole tax system, and the existing one couldn't be trusted.
- No real verification: identity cards, emails and phone numbers were never double-checked. People could register twice or upload any PDF as an ID, so the data behind every later step was unreliable.
- No traceability: you registered and that was it. Nothing recorded who was checked, how, or why they passed.
- Not reliable: the system went down often and couldn't handle traffic.
- Below standard: the administration wanted to meet The Tax Administration Diagnostic Assessment Tool: an international framework for assessing how well a tax administration performs. and AML criteria require an administration to know who a taxpayer really is, keep accurate records, and assess how risky each one is. criteria, which ask for accurate records and a risk score for every taxpayer.
What I built
A new registration service that checks people properly and scores them, in four parts:
- Verified contact details: applicants confirm their email and phone number with one-time codes before going further
- An ID document pipeline: every uploaded ID is cleaned up and format-checked, read by an OCR engine (OpenCV and Tesseract), normalised, then matched against what the applicant typed. Files that aren't a Cameroonian ID card are caught, because real cards carry markers a random PDF doesn't
- A risk score at registration: each field carries a weighted For example, some professions and business activities are high-risk sectors, so they weigh more in the score than others., and the factors are normalised into one score. It guides rather than decides: an administrator still reviews each registration, starting with the riskiest
- An ongoing risk score: once someone is a taxpayer, a second score follows their behaviour, built from five weighted factors such as how regularly and how promptly they declare and pay
It runs as a microservice: the entry point that talks to the administration's other services, shipped through GitLab CI/CD.
My part
This was my engineering thesis project, and I led it from research to a working prototype. I built the frontend, the backend service, the Python image-processing pipeline and both risk models, working closely with my supervisors, who shaped the key design decisions with me.
What I learned
Trust has to be designed in at the front door. Every check added at registration saves a much bigger clean-up later, and a score that guides a person works better than one that tries to decide alone.
Projet suivant
REAM and Texas Community Farm