Online fraud in Spain, what offence it is and what penalty it carries

It is fraud under article 248 or computer fraud under 249. Up to 400 euros, a fine; above that, six months to three years in prison, or up to eight.

Article 248 of the Spanish Criminal Code sets the threshold for fraud at 400 euros. Up to that figure the act is a minor offence punished with a fine of one to three months, and above it the offence carries six months to three years in prison. What people call online fraud has no name of its own in the Code. It is ordinary fraud under article 248 when someone deceives you into making the payment yourself, and computer fraud under article 249 when the money leaves through computer manipulation or through the fraudulent use of your card or payment details. If the amount exceeds 50,000 euros, or another of the circumstances in article 250 applies, the penalty rises to one to six years in prison and can reach eight.

This text has two possible readers. One has paid for something that does not exist or has seen money leave an account. The other has been summoned as a suspect because that money passed through theirs. I explain how the act is classified, what penalty applies in each bracket, which court investigates it, when it becomes time-barred and what can be expected from the criminal case.

Defrauded online this week, what falls to you

Some steps cannot wait and do not require a lawyer. Taking them properly improves any later claim, and taking them late reduces the chances of the money coming back.

  • Notify your bank through its official channel. Call the number printed on your card or shown in the app, never the one in the suspicious message. Ask them to block the card or the online banking access and to try to hold or reverse the transaction. Write down the time of the call and the reference you are given.
  • Delete nothing. Not the WhatsApp conversation, the email, the text message, the listing or the browser history. Do not block the contact yet if that means losing the chat, and do not reset the phone to factory settings.
  • Save what can disappear. Take screenshots showing the date and the full web address, the seller’s profile, the listing and the phone number. Download the transfer receipt with the destination IBAN, or the transaction identifier if you paid by Bizum or by card. Emails should be kept complete and not forwarded, because forwarding loses the technical headers.
  • Change your passwords from another device if you handed over credentials or installed an application at the fraudster’s request. Start with your email account, which gives access to almost everything else.
  • Cut off communication with the fraudster. Do not negotiate and do not pay a second amount to release the first. Be wary of anyone offering to recover the money for an upfront fee, which is frequently a second fraud.
  • Write down a timeline with dates, times, amounts and means of payment while you still remember it accurately.
  • File a criminal complaint with all that documentation at a National Police station, a Guardia Civil post or the duty court. You do not need a lawyer to file a complaint.

There is a technical reason for the hurry. Operators retain connection data for a limited time, which Law 25/2007 sets at twelve months, and money arriving in the destination account can leave it within hours. The investigation works with whatever still exists on the day it is requested.

What the Criminal Code calls what you call online fraud

The Spanish Criminal Code contains no offence named online fraud, cyber fraud or phishing. Those are everyday or police terms. The law regulates fraud, estafa in Spanish, in articles 248 to 251 bis, among the offences against property, and the question in each case is which of those articles fits the facts.

Article 248 defines ordinary fraud. It is committed by those who, for gain, use deception sufficient to cause another person to make a mistake and induce that person to dispose of assets to their own or someone else’s detriment. The elements the judge will look for come from that definition. There must be deception before or at the time of payment, the deception must be enough to mislead a person of ordinary care, the victim must have paid because of that mistake and the perpetrator must have acted for gain. The fact that everything happens on a screen changes nothing, because the internet is the medium and the offence is fraud as it has always been.

Article 249 regulates what the courts call computer fraud. Here nobody needs to be deceived. It punishes anyone who obtains a non-consensual transfer of any asset by interfering with an information system, altering computer data or using any other computer manipulation or similar device. It also punishes anyone who fraudulently uses credit or debit cards, traveller’s cheques or any other non-cash payment instrument, or the data they contain. The same article punishes making, possessing and supplying programs or devices designed to commit these frauds, and holding or trading in unlawfully obtained cards and payment data for fraudulent use.

Article 250 lists the circumstances that aggravate any of the above, and I deal with it in its own section below.

A fake sale and an emptied account are not the same offence

The difference between the two articles is best understood through specific cases.

You find a phone on a second-hand platform, the seller asks for a bank transfer or a Bizum payment, you pay and the phone never arrives because it never existed. One person lies and another, believing the lie, pays voluntarily. That is ordinary fraud under article 248. The same applies to the fake online shop, of the kind I describe in the article on third-party seller scams, to the holiday rental of a flat that does not exist, to the bogus adviser who persuades you to invest in a crypto-asset platform, to the message from a supposed son who has changed his number and needs money, and to the long-distance relationship that ends in requests for financial help. In all of these the person ordering the payment is the victim, deceived.

The second case is different. You receive a text message that appears to come from your bank, follow the link, enter your credentials on a cloned page and minutes later someone orders transfers from another device that you neither made nor consented to. You were deceived into giving up the credentials, but the money is moved by the perpetrator operating in online banking with someone else’s credentials. The courts have been classifying this conduct as computer fraud, now article 249.1 a), as a non-consensual transfer achieved through a device similar to computer manipulation. If what was used was your card number, expiry date and security code to buy from online merchants, the applicable paragraph is 249.1 b).

There are borderline situations. In the fake call from the bank’s security department, if the victim reads out a code and the perpetrators use it to execute the transaction, the case falls under article 249. If it is the victim who, persuaded by the caller, personally makes the transfer to a supposed safe account, it falls under article 248.

The starting penalty is the same under both articles, but the classification has consequences. It determines what must be proved in the criminal proceedings and, above all, the position of the bank, because a transaction you did not authorise and a transaction you ordered under deception are treated differently by payment services legislation.

Nor is every failure to deliver a fraud. For there to be an offence the seller must have acted from the outset with the intention of not performing. If the seller meant to deliver and could not, or delivered something defective, the matter is a breach of contract to be pursued in the civil courts. That boundary is one of the defence’s usual arguments and one of the reasons why poorly framed complaints are dismissed.

Phishing, smishing, CEO fraud and the other names, and the article each ends up under

The trade names for fraud change every year and the Code does not use them. They describe the method, and the method is what determines the article.

Phishing is the email impersonating a bank, a courier company or a public authority in order to obtain credentials. Smishing is the same by text message and vishing by phone call. When the perpetrators themselves operate with the credentials obtained, the usual classification is article 249. Pharming redirects the user to a fake website by manipulating the resolution of the address, without the user having to click any link, and is computer fraud in the strict sense. In SIM swapping the perpetrators obtain a duplicate of the victim’s SIM card in order to receive the bank’s confirmation codes, so other offences relating to how the duplicate was obtained may be added to the fraud under article 249. The steps specific to banking cases are in the article on reporting bank phishing in Spain.

CEO fraud and fake invoice fraud, grouped in English under the acronym BEC, target companies. Someone impersonates an executive or a supplier and gets an employee to order a payment to an account controlled by the perpetrators. A deceived person pays, so it is fraud under article 248, often aggravated by the amount. If the company’s email was accessed beforehand in order to prepare the deception, the offence of unlawful access to systems under article 197 bis is committed as well.

Investment and crypto-asset fraud, romance fraud and fake technical support are ordinary frauds under article 248, with one particular feature in the last. If the supposed technician persuades the victim to install remote control software and it is he who operates the online banking, the conduct shifts towards article 249.

Offences other than fraud may appear within a single operation, such as forgery of documents, unlawful access or money laundering by those who move the funds. Each has its own penalty and its own limitation period, and that widens the scope of the investigation.

Penalties by bracket, from a one-month fine to eight years in prison

The penalty depends on the amount defrauded and on the circumstances of the act. The brackets set by the Code are those in this table, to which I add the limitation period that corresponds to each.

Situation Article Penalty Limitation period
Fraud of up to 400 euros 248, final paragraph Fine of one to three months One year
Fraud of more than 400 euros 248 Six months to three years in prison Five years
Computer fraud or fraud with cards and payment data 249.1 Six months to three years in prison Five years
Aggravated fraud, among other grounds for exceeding 50,000 euros 250.1 One to six years in prison and a fine of six to twelve months Ten years
More than 250,000 euros, or combined aggravating circumstances 250.2 Four to eight years in prison and a fine of twelve to twenty-four months Ten years

Fines are calculated under the day-fine system. The judge sets a daily rate of between 2 and 400 euros according to the convicted person’s means and multiplies it by the number of days imposed.

Within the basic bracket the judge does not choose the penalty freely. Article 248 itself requires account to be taken of the amount defrauded, the financial harm caused to the victim, the relationship between victim and perpetrator and the means used. A fraud of 600 euros and one of 40,000 share the same range but do not receive the same sentence.

Two points on the 400 euro threshold. The first is that article 249 does not expressly repeat the reduction to a fine for small amounts, and whether that rule extends to computer fraud is a question on which the courts are divided. The second is that amounts are added together. Where the same perpetrator commits several frauds under a single plan, article 74 treats them as a continuing offence and looks at the total harm caused, so that many fake sales of 150 euros each cease to be minor offences.

The penalty also decides which court tries the case. A minor offence is dealt with in a minor offence trial before the investigating judge. Basic fraud and computer fraud go to the criminal court, and aggravated fraud under article 250, which exceeds five years in prison, to the Provincial Court. For a person convicted for the first time and sentenced to no more than two years, article 80 allows the judge to suspend the prison sentence subject to conditions, among them meeting the civil liability.

When online fraud becomes aggravated fraud under article 250

Article 250.1 lists eight circumstances. One is enough for the penalty to become one to six years in prison and a fine of six to twelve months. Those that appear in frauds committed online are the following.

  • The value of the fraud exceeds 50,000 euros or it affects a large number of people. This is the case of fake investment platforms and of online shops set up to take payment from hundreds of buyers.
  • Particular seriousness, having regard to the extent of the harm and the financial situation in which it leaves the victim or the victim’s family. It allows aggravation below 50,000 euros where what was lost were the savings of someone with nothing else.
  • Abuse of the personal relationship between victim and perpetrator, or exploitation of the perpetrator’s business or professional credibility. The courts require a prior and qualified trust here, different from the trust that any fraud breaches by definition.
  • The fraud concerns basic necessities, housing or other goods of recognised social utility. In fake rentals the courts reserve this ground for housing intended to be the victim’s home, not for holiday lets.
  • Multiple reoffending, where the offender had already been convicted by final judgment of at least three offences under the same chapter.

The remaining grounds, such as abuse of another person’s signature or procedural fraud, rarely arise in these cases.

Article 250.2 raises the penalty to four to eight years in prison and a fine of twelve to twenty-four months in two situations. One is where the value of the fraud exceeds 250,000 euros. The other is where the housing or basic necessities ground concurs with particular seriousness, with an amount above 50,000 euros, with abuse of personal relationships or with procedural fraud.

Aggravation changes the whole procedure. The limitation period goes from five to ten years, the trial is held before the Provincial Court and suspension of the sentence ceases to be a reasonable expectation for the accused.

At the firm we act as private prosecution on behalf of the victim and conduct the defence of those summoned as suspects in these cases, and the first task in both is this classification, because the penalty, the time limit and the court all depend on it. What we do in each situation is set out on the cybercrime page.

Organic Law 14/2022, from the former article 248.2 to today’s 249

Much of what can be read online about this offence cites a numbering that no longer exists. Organic Law 14/2022 of 22 December, in force since 12 January 2023, rearranged these articles when transposing Directive (EU) 2019/713 on fraud involving non-cash means of payment.

Before the reform, article 248.1 defined fraud, article 248.2 covered computer fraud, the making of programs and the use of cards, and article 249 set the penalties, including the fine for amounts not exceeding 400 euros. After the reform, article 248 contains the definition of ordinary fraud, its penalty and the 400 euro rule, and article 249 is devoted entirely to computer fraud and payment instruments. Article 250 keeps its content.

The change was more than a renumbering. The current article 249 also punishes anyone who hinders or interferes with the operation of an information system. It also replaces the reference to cards and traveller’s cheques with a broader one covering any material or non-material payment instrument other than cash, which extends to virtual cards and payment applications. And it adds as offences the theft or unlawful acquisition of those instruments for fraudulent use, as well as their possession and distribution with knowledge of their origin.

If the facts predate 12 January 2023, the wording in force when they were committed applies, unless the new wording is more favourable to the accused, as article 2 of the Criminal Code provides. The basic penalties did not change, so for most cases the practical effect is limited to the citation. A judgment or pleading that refers to computer fraud under article 248.2 means what is now article 249.1, and a web page still citing article 248.2 as current law is out of date.

Which court investigates when the fraudster is in another province or another country

In almost every online fraud the victim is in one place, the account receiving the money in another and the perpetrator in a third. The general rule in article 14 of the Criminal Procedure Act assigns the investigation to the investigating court of the place where the offence was committed, and article 15 gives fallback criteria where that place is not known. Investigating courts now form part of the courts of first instance as investigating sections, which does not alter the rule.

The difficulty is deciding where an offence that occurs in several places at once is committed. The Supreme Court resolved it with the ubiquity principle, laid down in an agreement of its Criminal Chamber of 3 February 2005. The offence is deemed committed in every place where any of its elements took place, and the competent court is whichever of them first opened proceedings. In practice this means you can file the complaint where you live and the court of your place of residence can investigate, although it is not unusual for the case to end up transferred to the place where the destination account is held or where several complaints against the same perpetrator are concentrated. The police station at which you file the complaint does not determine the court.

If the perpetrator is abroad, the Spanish courts still have jurisdiction where the harm occurred in Spain, under the same rule. What changes is the difficulty of investigating. Within the European Union there is the European Investigation Order, which allows the Spanish judge to request banking or connection data from another Member State. Outside the Union the tools are letters rogatory and the instruments of the Budapest Convention on Cybercrime, with much longer response times and uneven results depending on the country. That is why the Spanish account through which the money passed, where there is one, tends to be the most useful thread in the investigation.

How long it takes for online fraud to become time-barred

Article 131 of the Criminal Code ties the limitation period to the maximum penalty for the offence. Fraud of up to 400 euros, as a minor offence, becomes time-barred after one year. Basic fraud under article 248 and computer fraud under article 249 become time-barred after five years. Aggravated fraud under article 250 does so after ten.

The period runs from the day the offence was committed. In a continuing offence, which is that of someone who defrauds many people by the same method, it runs from the last act.

One point is commonly misunderstood. Filing a complaint does not in itself stop the clock. Under article 132, the limitation period is interrupted when the proceedings are directed against a specific person by a reasoned judicial decision. A complaint against an unknown perpetrator that is shelved without anyone being identified interrupts nothing, and the one year for a minor offence is easily used up in that situation.

The legal period, moreover, is not the real period. Long before the offence becomes time-barred, the connection data that operators retain for twelve months has gone, the destination account has been emptied and the seller’s profile has been closed. A fraud of 3,000 euros reported after two years can still be prosecuted on paper and can barely be investigated.

Digital evidence, from the screenshot to the expert report

A screenshot is admissible evidence, but fragile. The Supreme Court has warned that conversations held on messaging services can be manipulated and that, if the opposing party challenges their authenticity, it falls to the party relying on them to prove it, normally through a computer forensic report. Hence the importance of keeping the original. The phone with the conversation intact, the email in its mailbox with its headers and the receipt downloaded from online banking are worth more than any printout.

What you keep is one part of the evidence. The other is held by third parties and only the judge can request it. The identity of the holder of the destination account and its movements are held by the bank. The IP address from which the transaction was ordered, the holder of the phone line and the registration data of the profile or the domain are held by operators and platforms. Obtaining them requires, as a general rule, judicial authorisation, and whether they are requested in time depends on the complaint identifying precisely what data exists and where.

The computer forensic report comes in when something not visible to the naked eye has to be shown, such as that a device was infected, that access was made from a terminal other than the victim’s or that a message has not been altered. The prosecution needs it to sustain the facts, and the defence needs it when the accusation rests solely on an IP address or an account being in someone’s name.

Civil liability under articles 109 to 116 and what the bank owes

The money can be claimed within the criminal proceedings themselves. Articles 109 to 116 of the Criminal Code provide that whoever is criminally liable for an offence is also civilly liable, and that this liability comprises restitution, reparation of the damage and compensation for losses. A judgment convicting for fraud at the same time orders repayment of the amount defrauded with interest.

When you file the complaint, the court will make you the offer of actions, which is the question of whether you wish to be a party to the case. If you do nothing, the Public Prosecutor will claim repayment on your behalf. If you join as private prosecution, with a lawyer and a court representative, you can propose investigative steps, request measures over any money located, appeal a dismissal and bring your own charges.

The limit of this route is obvious. A conviction against a perpetrator who is insolvent or cannot be found returns nothing, which is why the criminal case is rarely the only front. Where the transaction was not authorised by the account holder, payment services legislation places on the bank an obligation to refund that does not depend on the perpetrator being found. That is the subject of the article on the bank refund after phishing. How and when that claim is brought, and how it is coordinated with the criminal case so that one does not harm the other, is the lawyer’s work.

When the investigation fails to put a name to the perpetrator

This is the outcome of many complaints. Where there is no known perpetrator, article 284.2 of the Criminal Procedure Act allows the police to keep the report at the disposal of the prosecutor and the judge without sending it to the court, subject to exceptions. If the complaint reaches the court and the inquiries identify no one, the judge issues an order of provisional dismissal under article 641.

That dismissal is provisional in the proper sense. It does not declare that no offence took place and does not prevent the case from being reopened if new information appears while the offence is not time-barred, for example because another investigation arrests the holder of the destination account. The order is notified to the complainant and can be appealed within a short period where useful investigative steps were left undone.

Nor does dismissal of the criminal case close the other routes. A claim against the bank for an unauthorised transaction follows its own course, whether or not the perpetrator is ever found.

Summoned as a suspect because the money passed through your account

Many online fraud cases never reach whoever devised the deception and do reach the holder of the Spanish account that received the money, the so-called money mule. The typical case is that of someone who accepted a work-from-home offer consisting of receiving transfers and forwarding them in exchange for a commission. Another frequent one is that of someone who lent or sold their account to an acquaintance.

The classification varies according to what is proved the person knew. They may be charged as a necessary cooperator in the fraud, with the same penalty as the perpetrator. They may be charged with money laundering under article 301, punished with six months to six years in prison and a fine of one to three times the value of the assets, or with its gross negligence form, with six months to two years in prison and the same fine. In some cases the charge is receiving under article 298, with six months to two years in prison.

Claiming not to have known where the money came from is not enough in itself. The Supreme Court applies to these cases the doctrine of wilful blindness, under which a person who could and should have known the origin of the money and preferred not to ask answers for the consequences. What is assessed is what a person in that position could have noticed, such as a disproportionate commission for doing nothing, the urgency to forward the money or the use of a personal account for the funds of a supposed company. Civil liability may extend to everything that passed through the account, not only to the commission retained.

Before giving a statement you have the right to know the facts attributed to you, to examine the case file with your lawyer, to remain silent and not to incriminate yourself, under article 118 of the Criminal Procedure Act. What should be avoided is going to the police station to clear it up unassisted, deleting the conversations with whoever recruited you, which are precisely your evidence, or contacting the victim on your own. Repaying the money before trial may count as the mitigating circumstance of reparation of the damage under article 21.5, and with sentences of no more than two years and no criminal record suspension is possible. The timing and the manner are decided by the defence once the file has been read.

Companies and minors, article 251 bis and Organic Law 5/2000

A company can be the victim of fraud, as in CEO fraud, and can also be criminally liable for it. Article 251 bis, in conjunction with article 31 bis, provides for a fine on the legal person of three to five times the amount defrauded where the offence committed by the individual carries a prison sentence of more than five years, and of two to four times in other cases. This is the risk run by a company whose website or structure is used to defraud for its benefit.

Where the perpetrator is aged between fourteen and seventeen, the adult Criminal Code does not apply and the case is governed by Organic Law 5/2000 on the criminal liability of minors. The file is handled by the Juvenile Prosecutor’s Office and measures are imposed instead of penalties. What matters for the victim is that the parents or guardians are jointly and severally liable with the minor for the damage caused. Below the age of fourteen there is no criminal liability.

Frequently asked questions

I have been defrauded buying online, which article of the Criminal Code applies to my case, 248 or 249?

Article 248 applies if you voluntarily paid a seller who deceived you, for example for a product that never existed. Article 249 applies if nobody asked you for payment and the money left because your card details or credentials were used without your consent. The basic penalty is the same, six months to three years in prison.

From what amount is it an offence and how does the penalty change with the amount defrauded?

It is an offence from the first euro. Up to 400 euros it is a minor offence, with a fine of one to three months. Above 400 euros the penalty is six months to three years in prison. If it exceeds 50,000 euros it becomes one to six years in prison and a fine, and above 250,000 euros four to eight years in prison.

The next step, depending on whether you have lost money or received a summons

If you are the victim, notifying the bank and filing the complaint fall to you and should be done today, with the documentation I listed at the start. From there the work belongs to a lawyer. Someone has to join the case, ask the court for the inquiries into the destination account before the data is lost and decide whether a claim against the bank is appropriate. It is not worth it in every case. With a loss below 400 euros, an unidentified seller and a card payment the bank has already reversed, the complaint is enough and a lawyer’s fees would exceed what can be recovered. With larger amounts, a destination account in Spain or a bank that refuses to refund, the situation is different.

If you are the suspect, the step is not to give a statement until a lawyer has read the case file.

At Perseus & RC Abogados we act as private prosecution and conduct the defence in cases of fraud and computer fraud, and we handle the claim against the bank where appropriate. You can see what we do under cybercrime and fraud, and write to us through the contact section or call +34 677 841 007. We reply as soon as we can.