A useful digital case file should answer four questions quickly: which document is authoritative, where it came from, who may access it, and what happens next. Scanning paperwork is only the beginning.
For a Moroccan law practice, the practical goal should be a controlled workflow connecting documents, responsible lawyers and verified deadlines. The approach below separates official requirements from suggested operating procedures. It is organizational and technology guidance, not legal advice.
Keep the internal file distinct from the court record
The Ministry of Justice’s Mahakim case-tracking interface provides information on civil, administrative, commercial and criminal matters, including specified notification and enforcement processes. Its search uses the complete case reference and the relevant court.
Design your internal file around a separate office matter identifier. Record court references in dedicated fields, rather than using a single court number as the identity of the entire client matter. For each court update, capture its source, the consultation date and the person who checked it.
As an operating rule, distinguish information consulted online, documents prepared internally and evidence of an actual filing. Do not mark a document as filed merely because it has been uploaded into the practice’s own software. Keep the applicable receipt or acknowledgment with the submitted version, and have the responsible lawyer verify procedural requirements and deadlines.
Define one repeatable document journey
The following is a suggested workflow to adapt to the practice’s staffing and matters.
1. Receive, identify and check
Assign each incoming item to a matter. Record the sender, receipt date, document date, language and whether a physical original exists. Check page count, readability, reverse sides and attachments before treating the scan as complete.
For Arabic and French documents, test optical character recognition on representative samples before choosing a tool. Compare names, amounts and dates against the image. Keep the received file unchanged and label any searchable derivative separately; do not use extracted text as an unchecked substitute for the source.
2. Classify and control versions
Use a short, agreed classification: correspondence, pleadings, evidence, decisions, notifications and administration. A suggested filename is MAT-2026-014_2026-10-24_pleading_v03_DRAFT.docx. Prefer the matter identifier to unnecessary personal details in filenames.
Define explicit statuses such as draft, under review, approved, signed and filed. Reserve approval for a named lawyer. Keep the approved version separate from working drafts, and create a new version when revisions are needed rather than silently overwriting it.
3. Link documents to actions
For each actionable document, record an owner, the next step and a due date validated by the responsible lawyer. Link calendar entries to the underlying notice or instruction. Suggested controls include a second check for critical dates and a daily review of overdue tasks. Treat reminders as support for professional judgment, not as automatic confirmation of a procedural deadline.
Assess data protection before moving files
The CNDP’s guidance on processing conditions emphasizes defined purposes, proportionate collection, limited retention, security and confidentiality under Law 09-08. Translate these principles into a document inventory: what is collected, why, who receives it and when retention should be reviewed.
The CNDP’s formalities guidance distinguishes prior declaration, prior authorization and exceptions. It identifies sensitive data and national identity card numbers among authorization triggers, while expressly noting an exception for processing offence-related data by auxiliaries of justice. Have the applicable regime assessed for the actual processing; neither a blanket exemption nor identical formalities for every file should be assumed.
Ask where data actually goes
Before selecting a provider, request a written map of primary hosting, backups, support access and subcontractors. Include any external OCR or AI service proposed for document processing.
The CNDP sets out conditions and a request procedure for transfers abroad. It states that transfer authorization depends on approval of the underlying processing declaration or authorization request. Assess the actual data flows before migration; a provider’s marketing description is not a substitute for that review.
Do not confuse a scan with an electronic signature
The DGSSI’s FAQ on Law 43-20 distinguishes simple, advanced and qualified electronic signatures, with different requirements and evidential effects. A scanned handwritten signature should not be treated as a qualified electronic signature.
For any proposed signing workflow, ask the responsible lawyer to validate the appropriate method and any specific formalities. Preserve the electronic signed file and associated validation evidence, rather than retaining only a printed or rescanned copy.
Choose software through a practical demonstration
Use a fictional matter to test the full journey, not just the dashboard. Ask the supplier to demonstrate:
- Retrieving Arabic and French documents using the practice’s own naming conventions.
- Restricting access by matter and removing a departing user’s access.
- Showing who changed a document and recovering an earlier version.
- Exporting documents, matter metadata and calendars in usable formats.
- Restoring a sample matter from backup and explaining responsibility during an outage.
NIST’s small-business cybersecurity guidance recommends multifactor authentication, software updates and protected, tested backups. Use these as technical selection criteria, not as a claim of Moroccan legal compliance.
Altweeb is a digital technology company serving organizations across sectors. LawFirmApp, one of its products, covers matter and case organization, client and document management, tasks, deadlines, hearings and a legal calendar. Those functions are relevant to this workflow; evaluate hosting, permissions, export, signature capabilities and any court integration separately rather than assuming they are included.
Pilot first, then expand
Start with a small, representative set of active matters. Assign a migration owner, reconcile document counts and inspect samples before wider rollout. Measure retrieval time, missing metadata, unresolved duplicate versions and successful restoration—not simply the number of pages scanned.
For closed matters, establish a retention review rather than indefinite storage by default, consistent with the CNDP’s retention principles. Have the practice validate applicable preservation requirements before deleting files or disposing of originals.
The best starting point is a workflow the team can follow consistently: one matter identifier, clear document status, controlled access and a verified next action. Choose technology that supports those rules, then expand only after the pilot demonstrates that they work.
Sources and further reading
- Transfert de données à l'étranger – Commission Nationale de Contrôle de Protection des Données à Caractère Personnel
- بوابة محاكم
- Cybersecurity Basics
- Formalités – Commission Nationale de Contrôle de Protection des Données à Caractère Personnel
- Loi n° 43-20 relative aux services de confiance pour les transactions électroniques – Foire aux questions
- Conditions – Commission Nationale de Contrôle de Protection des Données à Caractère Personnel
To explore this further, see Legal notice.
Add your perspective