Kointax.ioKointax.io

How to keep records of your crypto operations

What documentation you must keep to justify your crypto operations to the AEAT, for how long, and in what format.

Equipo declaracrypto·April 15, 2026·5 min read

How to keep records of your crypto operations

The AEAT may require documentation of your crypto operations for the last 4 years (or up to 10 in serious cases). Having the documentation correctly organized can be the difference between a check that closes quickly and a long and costly inspection.

What documentation should you keep?

From exchanges (CEX)

  • Full historical statement of all operations (CSV or PDF) with: date, type of operation, pair, quantity, unit price, fee.
  • Deposit and withdrawal history: with transaction hashes.
  • Screenshots of the balance as of December 31 of each year.
  • KYC documentation: confirmation of your account with the exchange.

From own wallets

  • List of all wallets (public) owned by you.
  • Transaction history of each wallet (exportable from blockchain explorers or tools like Koinly, CoinTracking…).
  • Proof of purchase of hardware wallets (Ledger, Trezor…).

From DeFi operations

  • Transaction hashes of each on-chain operation.
  • Screenshots and records of positions in DeFi protocols (Aave, Uniswap…).
  • Claim history of rewards or airdrops.

From P2P operations

  • Chat or confirmation from the P2P platform.
  • Payment receipt (bank transfer, PayPal, etc.).
  • In-chain transaction hash of the crypto sending/receiving.

In what format to keep them?

  • CSV downloaded directly from the exchange when still possible: some exchanges delete history after a certain time.
  • PDF/screenshots as backup.
  • Tax software export (Koinly, TaxDown, declaracrypto…) that generates the already calculated report.
  • Cloud backup (Google Drive, iCloud, Dropbox) plus local copy.

How long to keep them?

SituationMinimum time
General4 years
If there is fraud or concealment10 years
Practical recommendation10 years

The 4-year statute of limitations begins to count from the last day of the deadline for filing the tax return for the year in question.

The risk of exchanges that disappear

If the exchange closes, you lose access to the history. Always download the full CSV periodically (at least every year) and save it offline.

Conclusion

Documentation is your first line of defense against any AEAT requirement. Invest 30 minutes a year in downloading and organizing statements from all your exchanges. If you use a tax tool like declaracrypto, the generated report is an excellent starting point for documentation.

Ready to calculate your crypto taxes?

Connect your exchanges, import your history and generate your IRPF report in minutes.

Start free — no card needed