Law 43-20 · Digital trust
Law 43-20: trust services and electronic signature in Morocco.
Soufiane Taouil · Founder, Vouch
Law 43-20 is the framework that gives electronic signatures legal value in Morocco. This article explains what it covers, the three signature levels it recognizes, who oversees them, and why it is the legal backbone of mandatory electronic invoicing.
01
What is Law 43-20?
Law no. 43-20 on trust services for electronic transactions gives legal value to the electronic signature, the electronic seal and time-stamping in Morocco. It was enacted by Dahir no. 1-20-100 of 31 December 2020, then published in the Official Bulletin on 18 March 2021. It entered into force on 13 July 2023.
It repeals and replaces Law 53-05 of 2007 on the electronic exchange of legal data. The change is not merely cosmetic: Law 43-20 adds an advanced signature level, introduces new trust services, and transfers the certification authority from the ANRT to the DGSSI.
Law 43-20 answers a simple question: under what conditions does an electronically signed document carry the same force as one signed by hand? It is this legal equivalence that makes the online contract, the paperless public tender and, since 2026, the electronic invoice possible.
02
Which trust services does Law 43-20 cover?
Law 43-20 covers five trust services: electronic signature, electronic seal, electronic time-stamping, electronic registered delivery and website authentication. Each can exist in a qualified version, the only one that benefits from a legal presumption of reliability.
The electronic signature binds a natural person. The electronic seal is its equivalent for legal entities: a company seals a document in its own name. Qualified time-stamping, in turn, links a date and time to data in a tamper-proof way, using a clock synchronized with universal time.
Electronic registered delivery brings the registered letter into the digital world, with proof of sending and receipt. Website authentication guarantees a domain's identity. The law also organizes the validation and long-term preservation of signatures and seals, so they remain verifiable years after they were created.
03
The three levels of electronic signature
Law 43-20 recognizes three levels of electronic signature: simple, advanced and qualified. They differ in their technical requirements and evidentiary value. Only the qualified signature carries a presumption of reliability, meaning direct equivalence with a handwritten signature.
The novelty compared with Law 53-05 is the intermediate advanced level, inspired by the EU eIDAS regulation. It offers stronger legal recognition without imposing all the constraints of the qualified level. It is a useful compromise for many internal uses.
The right level depends on the legal risk of the act. An internal exchange is fine with a simple signature; a binding contract or an invoice submitted to the tax authority requires the qualified level. For the precise mechanics of the qualified signature — QSCD, XAdES, choosing a provider — our dedicated guide goes into detail.
Level 1
Simple signature
Requirements
No specific technical requirement: a basic electronic process tied to an identifiable signatory.
Legal value
Admissible as evidence, but the party relying on it must prove its reliability in a dispute.
No presumptionLevel 2 · new
Advanced signature
Requirements
Linked to the signatory via an electronic certificate, under their sole control, detecting any later change.
Legal value
Stronger legal recognition, aligned with the EU eIDAS regulation, but without automatic presumption.
No presumptionLevel 3
Qualified signature
Requirements
Qualified certificate and secure device (QSCD) issued by a provider accredited by the DGSSI.
Legal value
Full equivalence to a handwritten signature: it carries the presumption of reliability.
Presumption of reliability04
What legal value? The presumption of reliability
In Morocco, a qualified electronic signature has the same legal value as a handwritten signature. It benefits from a presumption of reliability: in a dispute, the burden of proof shifts in favor of the party producing it. Simple and advanced signatures remain admissible, but without this automatic presumption.
Law 43-20 also sets a non-discrimination principle: a signature's legal effect cannot be denied solely because it is electronic or because it does not reach the qualified level. The judge then assesses its reliability case by case, based on the available technical evidence.
For legal entities, the qualified electronic seal plays an equivalent role: it establishes the origin and integrity of a document issued by the company. This is decisive for the electronic invoice, which is issued in the name of a company rather than an individual.
05
Who oversees Law 43-20? The DGSSI and the providers
The national authority for trust services is the DGSSI (Directorate-General for Information Systems Security). It sets the requirement frameworks, accredits trust service providers (PSCo), publishes the official list of accredited providers and can audit their compliance.
Decree no. 2-22-687 of 16 November 2022 sets out the application framework: the composition of the accreditation file, providers' obligations, and the data that qualified certificates must contain. It was published in the Official Bulletin on 19 January 2023. Only an accredited PSCo can issue a qualified certificate that confers the presumption of reliability.
Africtrust was announced as the first provider accredited by the DGSSI; the official list, updated as accreditations are granted, is published on the DGSSI website. A qualified signature certificate costs around 1,200 MAD per year.
06
Law 43-20 and electronic invoicing: the link
Law 43-20 is the legal foundation of mandatory electronic invoicing. The clearance model of Article 145-IX of the General Tax Code requires every invoice to be signed electronically, then validated in real time by the DGI platform. And that signature draws all its legal value from Law 43-20.
In practice, a compliant invoice is a structured document (UBL 2.1 or CII) bearing a qualified electronic signature, transmitted to the DGI platform, which assigns it a unique identifier. Without a valid qualified signature, the invoice has no legal value, even if it has been issued and sent.
Law 43-20 and Article 145-IX therefore work together: the first defines what a trusted signature is, the second makes it mandatory at the heart of the invoicing process. Understanding one sheds light on the other.
07
How do you comply with Law 43-20?
Complying with Law 43-20 means using the right signature level for each use, and turning to a DGSSI-accredited provider whenever the qualified level is required. For electronic invoicing, the qualified level is not optional: it is the only one the national platform accepts.
The process comes down to a few steps: list the documents to be signed and their risk level, choose a PSCo accredited for the service you need, obtain a qualified certificate for each authorized signatory, then integrate signing into your business tools — ERP, accounting software or invoicing platform.
For most SMEs, the challenge is not mastering cryptography, but relying on a solution that handles the qualified signature and submission to the DGI transparently. The law sets the framework; the tool applies it.
08
Frequently asked questions
- Did Law 43-20 replace Law 53-05?
- Yes. In force since 13 July 2023, Law 43-20 repeals and replaces Law 53-05 of 2007. It modernizes the electronic-signature framework, adds an advanced level and new trust services (seal, time-stamping, registered delivery), and hands oversight to the DGSSI.
- When did Law 43-20 enter into force?
- Law 43-20 was published in the Official Bulletin on 18 March 2021 and entered into force on 13 July 2023. Its implementing decree no. 2-22-687, of 16 November 2022, was published in the Official Bulletin on 19 January 2023.
- Does a simple electronic signature have legal value in Morocco?
- Yes. A simple signature is admissible as evidence, but it carries no presumption of reliability: in a dispute, the party relying on it must prove its reliability. Only the qualified signature is automatically equivalent to a handwritten signature.
- Who can issue a qualified electronic signature in Morocco?
- Only trust service providers (PSCo) accredited by the DGSSI can issue qualified certificates. Africtrust was the first accredited provider; the official list is published by the DGSSI. An individual certificate costs around 1,200 MAD per year.
- Is Law 43-20 mandatory for electronic invoicing?
- Yes, unavoidably so. Electronic invoicing requires a qualified electronic signature, whose legal value rests on Law 43-20. Without a compliant qualified signature, an invoice transmitted to the DGI platform has no legal value.
- What is the difference between an advanced and a qualified signature?
- Both rely on an electronic certificate. But only the qualified signature uses a qualified certificate and a secure device (QSCD) issued by an accredited provider. As a result, only the qualified signature carries the presumption of reliability; the advanced one does not.
09
Sources & references
- Law 43-20 — official text (DGSSI PDF) →
- DGSSI — Law 43-20 presentation note (PDF) →
- Decree no. 2-22-687 of 16 Nov 2022 — implementing Law 43-20 (DGSSI PDF) →
- DGSSI — FAQ on Law 43-20 (PDF) →
- DGSSI — Regulated services & products (PSCo list) →
Official DGSSI sources, retrieved 27 May 2026.
About this article
Soufiane Taouil
Founder, Vouch
Article by Soufiane Taouil, founder of Vouch. Updated whenever the trust-services framework evolves (new DGSSI requirement documents, PSCo accreditations). For any question or correction, write to contact@vouch.ma.
Go further
Law 43-20 makes full sense within mandatory electronic invoicing. The Article 145-IX guide details the DGI clearance model, and the dedicated guide covers the mechanics of the qualified signature.