Skip to content
AS
Alonso Sala
CRIMINAL LAWYERS
ES
Legal Analysis

Digital Document Forgery: From Signatures to Edited PDFs

calendar_todayJanuary 12, 2026

Last updated:

lightbulbKey Takeaways

  • check_circlePDF Editing
  • check_circlePublic/Private Difference
  • check_circleInnocuous forgery
  • check_circleForensic metadata

Quick answer

Modifying a payslip with Photoshop or editing a PDF can be document forgery, but the seriousness depends on the type of document. Forging a public or official document (ID, passport, licence, notarial deed) is a crime merely by altering it, even if it is not used and no one is deceived. With a private document (Art. 395 CP) it is only a crime if done to harm another; in retouched payslips for a rental that is paid, innocuous forgery can be argued for lack of harm. The digital footprint, harder to erase than ink, is traced through metadata expertise.

Need help with your case? Talk to a criminal defense lawyer at Alonso Sala.

The classic image of the forger with India ink and rubber stamps is history. Today, document forgery is a digital "white-collar" crime, committed with a click using PDF editors and Photoshop. Mass access to editing tools has skyrocketed the use of "retouched" payslips to rent homes, inflated invoices to deduct VAT, or fake university degrees to access jobs. But what many ignore is that the digital footprint is much harder to erase than ink.

The Big Difference: Public vs. Private Document

In the Spanish Criminal Code, not all documentary lies are worth the same. It is crucial to distinguish the nature of the document:

  • Public or Official Document: (ID, passport, driver's license, court ruling, notarial deed). Forging this is extremely serious. It is a crime merely by altering the document, even if it is not used or no one is deceived. "Public faith" is protected.
  • Private Document: (Rental contract, private payslip, invoice between companies, email). Here the law is laxer. For it to be a crime (Art. 395 CP), forgery is not enough; it is required that it be done "to harm another".

This distinction is the cornerstone of our defense. In cases of "retouched payslips" for a rental that has been paid religiously, we argue that there is no crime of private document forgery because there was no harm to the landlord (they received their rent) nor intent to damage, only to access housing. This is what jurisprudence calls "innocuous forgery".

Metadata Expertise: Digital CSI

How do the police catch us? They don't look at the paper, they look at the code. Each PDF or JPG file carries hidden "metadata" that records the file's history: creation date, software used (e.g., "Adobe Photoshop" instead of a bank payroll generator), and even the computer's author. Tax authorities and the Scientific Police cross-reference this data automatically.

Our defense in these cases anticipates this with computer counter-expertise. Sometimes, discrepancies in metadata are due to automatic file conversion processes (from Word to PDF), OCR scans, or email compressions, and not malicious manipulation. Demonstrating this technical reasonable doubt is the path to acquittal.

"self-forgery-and-narrative-truth" and Narrative Truth

A common case is the alteration of the truth in an authentic document (ideological forgery). A doctor who signs a real certificate saying they saw a patient when they did not. Interestingly, ideological forgery in private documents is unpunishable for individuals in Spain. Lying in a private contract about the reasons for it is not document forgery (although it may be fraud if there is deception and asset displacement). Knowing these nuances is what allows us to dismantle accusations that mix concepts to inflate the severity of the facts.

Need a criminal defence lawyer?

If you are facing a criminal matter, our team of specialist defence lawyers can help. Contact us for a case assessment.

Frequently asked questions

Is it a crime to modify a payslip with Photoshop to rent an apartment?expand_more

It can be, but it depends. A private payslip that has been retouched is a private document, and its forgery is only a crime (Art. 395 CP) when done to harm another. In cases of payslips retouched for a rental that is then paid on time, it can be argued that there was no harm to the landlord and no intent to damage, only to access housing, which jurisprudence calls innocuous forgery.

What is the difference between a public and a private document?expand_more

Forging a public or official document (ID, passport, driving licence, court ruling, notarial deed) is extremely serious and is a crime merely by altering the document, even if it is not used and no one is deceived, because public faith is protected. With a private document (contract, payslip, invoice, email) the law also requires that the forgery be committed to harm another.

How do the police detect digital forgery?expand_more

They do not look at the paper, but at the code. Each PDF or JPG file contains hidden metadata recording the creation date, the software used or the computer's author. Tax authorities and the Scientific Police automatically cross-reference this data to detect manipulation.

Do metadata always prove deliberate manipulation?expand_more

No. Sometimes discrepancies in metadata are due to automatic processes, such as converting Word to PDF, OCR scans or email compression, and not to intentional manipulation. A computer counter-expertise can demonstrate that technical reasonable doubt.

Is lying in a genuine private document forgery?expand_more

Ideological forgery (departing from the truth in the content of a genuine document) is unpunishable for private individuals in private documents in Spain. Lying in a private contract about its reasons is not document forgery, although, if there is deception and asset displacement, it could amount to fraud.

Related Articles

View allarrow_forward

Knowledge is power, but strategy is key.

What you read here is just the beginning. Transform information into active defense by contacting our team of experts.

call