Back to Articles Legal basics

The audit trail of an electronic document: why it matters as evidence and how to keep it

When a contract is disputed, the first questions are usually simple: did this person really sign it, when, and is the content still the same? With paper, the answers come from ink, initials and witnesses. With electronic documents, the answers are in the audit trail.

Resmi.ID Team · 4 min read ·
Article illustration: The audit trail of an electronic document: why it matters as evidence and how to keep it Photo: Ngital / Unsplash

This article explains what an audit trail is, why it matters in law, what docs.resmi.id records, and how to store your evidence so it is easy to use when needed.

What an audit trail is

An audit trail is a sequential record of every important event on a document: when it was created, when it was sent, who opened it, who signed or declined it, and when it was completed. Each record captures the actor, the time and technical context such as the IP address and device.

Think of an audit trail as a guest book that cannot be crossed out. It does not replace the document, but it tells the document's story from start to finish.

For example, six months into a partnership, your counterparty claims they never agreed to the contract. Without an audit trail, all that is left is one claim against another. With an audit trail, you can show when the invitation was sent to their email, when they opened the document, that they passed OTP verification, and exactly when they signed. A chain of facts like this is far harder to dispute than a signature image on the last page.

Why it matters legally

Article 5(1) of the EIT Law, as last amended by Law 1/2024, states that electronic information and/or electronic documents and/or their printouts are valid legal evidence. Article 6 of the EIT Law adds that an electronic document is considered valid as long as its information can be accessed, displayed, its integrity guaranteed, and it can be accounted for.

Article 59(3) of GR 71/2019 also requires, among other things, that changes to the signature or the document after signing can be detected, and that there is a way to identify the signer and show their consent. An audit trail is one of the most practical tools for showing these things, especially for uncertified electronic signatures, whose evidentiary weight rests on supporting evidence.

What docs.resmi.id records

Every document on docs.resmi.id has an audit trail that fills in automatically. The records include:

  • Document creation, file upload and the sending of invitations to signers.
  • When a signer is notified, opens the document, signs or declines.
  • The verification method the signer used, either email OTP or WhatsApp OTP.
  • Application of the e-Meterai with its serial number, and the moment the document is completed.
  • Cancellation of the document if the owner cancels it.
  • For every event: who the actor was, the time, the IP address and device information.

A hash chain: changes to records are detectable

An audit log that can be quietly edited is of little use. That is why every record on docs.resmi.id stores a SHA-256 hash linked to the previous record, forming a chain. If one record is altered or deleted, its hash no longer matches and the chain breaks.

The public verification page shows whether a document's audit chain is still intact. The final document also has its own SHA-256 hash, so anyone holding the file can match it against our records.

Who can see what

The full audit trail, including IP addresses and devices, is visible only to the document owner in the dashboard. The public verification page opened from the QR code shows only the type and time of each event, with signer names partially masked. If a verification code needs to be cancelled, for example because the document was replaced, the owner can contact the docs.resmi.id team to revoke it.

Tips for keeping electronic evidence

  1. 1Download the final PDFKeep the file after all parties have signed, not a draft or an interim version.
  2. 2Do not modify the fileRe-saving it in another app can change its hash and break the e-Meterai's digital signature.
  3. 3Record the verification codeStore the verification code or QR link together with the contract data in your system.
  4. 4Archive the audit trailDownload or document the audit trail of important documents and keep it alongside the PDF.
  5. 5Keep the correspondenceThe email or message that delivered the document helps explain the context of the agreement.
  6. 6Make backupsKeep copies in at least two separate locations with restricted access.
Printouts of electronic documents are also recognised as evidence, but the original file remains strongest because its integrity can be checked with its hash. Always keep the final PDF, not just a printout.

An audit trail does not guarantee you will win a dispute. But with complete records that are hard to tamper with, you have a strong starting point for explaining what actually happened, whether to a counterparty, an auditor or a court.

References

This information is general and not legal advice. For important decisions, check the latest regulations at official sources or consult a legal professional.

Try e-signatures & e-Meterai onlineSend documents for signing, add official e-Meterai, and verify authenticity — start for free. Start free →

More articles