guest@tfb:~$ cat analysis/p2p bitcoin source of funds.md
guest@tfb: ~/analysis — less

No-KYC p2p bitcoin trading. Proof of the source of funds

Proof of cost and origin · Articles 105 and 106 LGT · off-ramp and money laundering
Spanish income tax on crypto: how IRPF works 6 min · ≈1 blockReviewed 29 November 2026

It is common for a bitcoin to have been bought from another private individual through a p2p trading platform and paid for by Bizum, by SEPA transfer, through a neobank or even in cash, and therefore never to have passed through an exchange. It will then have spent years in a self-custody wallet, moved between the holder’s own wallets and, in some cases, been sold directly in exchange for goods or services. The day that bitcoin has to enter the banking system, to buy a home, finance an investment or justify wealth before an institution, its holder, if they have not kept things in order, may find that they have no statement and no clear transaction history with which to show its traceability.

It should be noted that, in p2p activity, it is for the taxpayer to prove the origin, the date and the acquisition cost of those bitcoins, even if the purchase dates back to a time-barred year.

Evidence cannot be confined to the documents provided by an exchange

First, lacking documents from an exchange is not the same as lacking valid evidence, provided there is clear documentation proving the p2p transaction.

In tax law, proof of the taxable event, of the acquisition value or of the date of purchase is not reserved by statute to a single means of proof. Article 105 of the General Tax Act (LGT) places the burden of proof on whoever asserts a right, so it is the taxpayer invoking a given acquisition value or date who must provide the relevant evidence. Article 106, for its part, refers, as regards the means of proof and their assessment, to the rules of the Civil Code and the Civil Procedure Act, without privileging any of them.

In short, a taxpayer can build a solid position from a coherent set of converging indicia and documents proving the purchase of some bitcoins and their trail on the chain, even if the transaction was carried out through a p2p trade.

Second, not all evidence carries the same weight. A spreadsheet rebuilt years later from a wallet’s labels, with no external backing, has little evidential value. A file assembled with dated screenshots of the p2p trades on the platforms, transaction identifiers (txid), verifiable on-chain movements, evidence from the counterparty and euro transfers linked to each purchase carries a very different evidential weight. To that file must be added a valuation criterion consistent with the FIFO method that the Directorate General for Taxes has been requiring for homogeneous crypto-assets (among others, rulings V1604-18 and V2520-22), so that the allocation of each cost to each sale is not arbitrary. We do not question here whether it is correct to treat as homogeneous UTXOs held under different policies or in different wallets, nor, ultimately, whether the FIFO criterion laid down by the DGT for ordering the taxation of crypto-asset sales suits the nature of these assets.

What must be substantiated

As a general rule, the taxpayer should be in a position to prove where the funds used to acquire the crypto-assets came from, or what transaction generated their original acquisition, when they were acquired and at what value.

Traceability must also be provable, that is, the connection between those original assets and the ones finally disposed of, bartered or brought into the banking system through a financial institution or an exchange.

Proof of the acquisition cost and date is crucial in any tax defence file. If the amount paid for the assets later disposed of and the date on which they were acquired are not substantiated with some minimum solidity, any reassessment can be very burdensome, because no cost at all may be admitted for the assets disposed of. In old transactions, prudence counsels reconstructing that cost file as soon as possible, without waiting for the sale, which is usually the worst moment to start putting the evidence in order.

Self-custody and the burden of proof

Self-custody does not by itself create a tax problem, but it does transfer to the taxpayer an essential part of the burden of proof, as we have seen. When the asset remains for years outside centralised custodians, the blockchain proves the movement, but not always the economic identity of the counterparty, the price actually paid or whether an intermediate wallet was the holder’s own or someone else’s. The file must therefore always separate the holder’s own wallets, those of third parties, bridge wallets and those of temporary custody.

Entering the banking system

The problem becomes more serious when, after years of activity outside exchanges and regulated entities, the holder wants to use that bitcoin to buy a home, make a contribution to a company or pay significant amounts into an account. At that point the question is no longer only a tax one and enters the field of anti-money-laundering, which requires the financial institution to know the source of its customer’s funds (Article 6 of Law 10/2010). For that reason, having correctly reported the gain in Personal Income Tax (IRPF), or the year of the sale being already time-barred, is not enough on its own to meet what the institution may require: where the bitcoin comes from will also have to be shown.

Hence the advisability of building a defensive evidence dossier before it is needed. It need not be a solemn document or a unilateral declaration, but an orderly working file, with the chronology of the acquisitions, the external evidence associated with each one and a reasonable explanation justifying the traceability of the assets.

Practical checklist

  • Identify the holder’s own wallets and separate them from those of third parties or bridge wallets.
  • Reconstruct the cost and date of acquisition in tranches, even if the original documentation is imperfect.
  • Associate each relevant transaction with a piece of external evidence: txid, screenshot, euro transfer, wallet CSV, message or receipt.
  • Prepare, before the off-ramp, a dossier on the source of funds and the coherence of the assets.
  • Avoid leaving the first documentary ordering of years of activity until a bank or a tax inspection has already made it urgent.
DGT rulings — IRPF
  • V1604-18 · V2520-22 — cryptocurrencies of the same type are treated as homogeneous assets: in partial disposals, those acquired first are deemed disposed of first (FIFO).

Applicable legislation: Articles 105 and 106 LGT (burden and means of proof); Articles 33 to 37 LIRPF.

An essentially evidentiary question, not one of liability to tax: no-KYC activity is taxed in the same way, but it shifts to the taxpayer the burden of substantiating origin, date and cost. Operating outside custodians with reporting reduces the initial visibility, not the obligation to pay tax nor that of proving the origin of the assets.