Blog
Crypto tax, explained with cases and numbers
Everything you need to know about the taxation of crypto, investments and financial data: regulatory changes and practical cases with worked numerical examples.
- 35
- Articles
- 4
- Categories
Latest articles
The most recent on cryptocurrency taxation in Spain
Taxation & Investment8 min readNo purchase price for your crypto? How to work out the cost basis for Spanish tax
Without a cost basis, the Spanish tax agency treats everything you receive when you sell as a gain. The four cases where it goes missing, how to rebuild it with evidence and what to do if you have already filed with a zero cost basis.
Taxation & Investment8 min readCrypto tax manager in Spain: portfolio app, accountant or crypto tax specialist?
A "crypto tax manager" can mean a portfolio app, your local accountant (gestoría) or a crypto tax specialist. What each one does, where each falls short with the Spanish tax agency, what to check before you hire and what it costs.
Specific Practical Guides10 min readHow to export your crypto wallet and exchange transactions to CSV for tax (and why none of them include cost basis)
What to export from each exchange and wallet, where the CSV download is in Binance, Bybit, Kraken and Coinbase, how a self-custody wallet is rebuilt and what to check before you send your files to an advisor for your Spanish tax return.
Taxation & Investment7 min readTrust Wallet and the Spanish tax agency: what you must declare if you keep your crypto in your own wallet
Trust Wallet is a self-custody wallet: it does not report to the tax agency and it does not go on form 721. But the swaps, staking and airdrops you do from it are taxable. What to declare and how to rebuild your history.
Taxation & Investment8 min readCoinbase and the Spanish tax agency: what the AEAT knows, when form 721 applies and how to declare
Coinbase is not a Spanish entity, so your balances may count towards form 721, and from 2026 your transactions reach the tax agency through DAC8. What is taxable, what is not and how to declare what you do on Coinbase.
Taxation & Investment9 min readBinance and the Spanish tax agency: what the AEAT knows about your trades and how to declare them
Binance reports your balances and transactions to the Spanish tax agency through forms 172 and 173, and since July 2026 it no longer operates in Spain. What data the AEAT has, what is taxable when you move your crypto out and how to declare it properly.
Explore by Topics
Content structured in thematic clusters to facilitate your search
Cryptocurrency Taxation

No purchase price for your crypto? How to work out the cost basis for Spanish tax
Complete guide on cryptocurrency taxation in Spain: tax forms, obligations to the AEAT, capital gains calculation and digital asset declaration.
- •Crypto tax manager in Spain: portfolio app, accountant or crypto tax specialist?
- •Trust Wallet and the Spanish tax agency: what you must declare if you keep your crypto in your own wallet
- •Coinbase and the Spanish tax agency: what the AEAT knows, when form 721 applies and how to declare
+15 more articles
Advanced DeFi Taxation

Crypto Lending and Borrowing: How DeFi Loans Are Taxed in Spain
Tax treatment of complex DeFi operations: staking, yield farming, liquidity pools, lending, decentralized protocols and on-chain transaction traceability.
- •LP Tokens Uncovered: How Liquidity Pools Are Taxed in Spain
- •Yield Farming in Spain: Complete Tax Guide on How DeFi Returns Are Taxed
- •DAC8 and DeFi: Real Implications for Wallets, Swaps, Liquidity and On-Chain Yields
+1 more articles
Data Engineering Applied to Taxation

ETL Pipeline for Crypto Taxation: Automate Your Tax Filing
Technical methodologies for tax data processing: CSV extraction, dataset cleaning, operation classification, ETL, transaction reconciliation and blockchain data auditing.
Specific Practical Guides

How to export your crypto wallet and exchange transactions to CSV for tax (and why none of them include cost basis)
Step-by-step tutorials for specific tax operations: export exchange histories, download wallet data, document swaps, generate AEAT reports and prepare declarations.
- •How to Document DeFi Transactions for the Spanish Tax Authority: A Practical Guide to Tax Evidence
- •Guide to Download Bybit History: Export Your Tax Data Step by Step
- •How to Get CSV from Kraken: Complete Guide to Export Tax Data
+3 more articles
All articles
- No purchase price for your crypto? How to work out the cost basis for Spanish tax
- Crypto tax manager in Spain: portfolio app, accountant or crypto tax specialist?
- How to export your crypto wallet and exchange transactions to CSV for tax (and why none of them include cost basis)
- Trust Wallet and the Spanish tax agency: what you must declare if you keep your crypto in your own wallet
- Coinbase and the Spanish tax agency: what the AEAT knows, when form 721 applies and how to declare
- Binance and the Spanish tax agency: what the AEAT knows about your trades and how to declare them
- Cryptocurrencies and Freelancers: How to Invoice, Declare VAT and Pay Taxes When Paid in Crypto
- Cryptocurrencies and Digital Nomads: Tax Residency, Taxation and Obligations When Living in Spain
- Crypto Derivatives Taxation in Spain: Futures, Perpetuals, Options and Leverage
- Cryptocurrency Losses: How to Offset Them in Your Spanish Tax Return and Recover Part of What You Lost
- Cryptocurrency Inheritance and Gifts in Spain: How They're Taxed and What You Need to Know
- How to Document DeFi Transactions for the Spanish Tax Authority: A Practical Guide to Tax Evidence
- Form 714 for Cryptocurrencies: Complete Wealth Tax Guide
- ETL Pipeline for Crypto Taxation: Automate Your Tax Filing
- Crypto Lending and Borrowing: How DeFi Loans Are Taxed in Spain
- Guide to Download Bybit History: Export Your Tax Data Step by Step
- How to Get CSV from Kraken: Complete Guide to Export Tax Data
- How to Export Your Transaction History from Ledger: Complete Guide
- LP Tokens Uncovered: How Liquidity Pools Are Taxed in Spain
- Yield Farming in Spain: Complete Tax Guide on How DeFi Returns Are Taxed
- DAC8 and DeFi: Real Implications for Wallets, Swaps, Liquidity and On-Chain Yields
- DAC8 Directive: what crypto data exchanges will send to the tax authorities
- How to Clean Crypto Datasets Before Filing: Tax Data Engineering Guide
- How to Export Your Metamask Transaction History: Complete Guide
- How to Correctly Export Binance History: Complete Guide for Your Tax Return
- Advanced DeFi Taxation in Spain: How DEX Protocols Are Taxed (Uniswap, Curve, PancakeSwap)
- Stablecoins and Taxation in Spain: Why Converting BTC to USDT Does Trigger Taxes with AEAT
- Which Spanish tax forms affect crypto: 100, 721, 714, 172 and 173
- The Best Tools to Track Your Cryptocurrencies: DeBank, Zerion, CoinTracking and More
- Mining crypto and the Spanish tax agency: how mining is taxed and what your obligations are
- NFT Taxation in Spain: How Non-Fungible Tokens Are Taxed by the AEAT
- How to Classify Cryptocurrency Transactions According to the AEAT
- Most Common Mistakes When Declaring Cryptocurrencies to the Tax Agency (and How to Avoid Them)
- DeFi Taxation in Spain: How Your Earnings Are Taxed
- Crypto taxation in Spain explained: FIFO, tax forms and worked examples
Need help with your tax return?
Our team of experts can help you prepare your cryptocurrency tax return
Request Advisory