Law 39/2015:
Article 16. Records.
"1. Each Administration must have a general electronic register, in which all documents presented or received in any administrative body, public body or entity linked or dependent on them must be registered. It can also be noted the output of official documents addressed to other bodies or individuals.
The public bodies linked or dependent on each Administration can have their own electronic register that is fully interoperable and interconnected with the general electronic register of the Administration on which it depends.
The general electronic register of each Administration must function as a portal that facilitates access to the electronic registers of each body. Both the general electronic register of each Administration and the electronic registers of each body must comply with the guarantees and security measures provided by the legislation on the protection of personal data.
Provisions for the creation of electronic records must be published in the corresponding official gazette, and the full text must be available for consultation at the electronic registry access office. In any case, the provisions for the creation of electronic records must specify the body or unit responsible for their management, as well as the official date and time and the days declared non-working.
The electronic headquarters for access to each register must include the updated list of procedures that can be initiated there.
2. The entries must be noted respecting the temporal order of receipt or output of the documents, and must indicate the date of the day they occur. Once the registration procedure has been completed, the documents must be sent without delay to their addressees and to the corresponding administrative units from the register in which they were received. "