Spanish income tax on your crypto bots, calculated with FIFO
For Spanish tax residents. Shaper works out the gain or loss on every trade your bots make, per tax year, and prepares your data for form 721 (Modelo 721).
A calculation aid. Not a substitute for a tax adviser.
Tax summary 2026EXAMPLE
ITEMAMOUNT · EXAMPLE
Capital gains+€4,618.20
Capital losses−€2,113.75
Net result+€2,504.45
Trades (FIFO)312
Form 721:Not requiredBalance on 31/12 on foreign platforms: €18,240.00 (example) · threshold €50,000
THE PROBLEM
A bot doesn't make one trade a year. It makes hundreds.
01Hundreds of tradesEvery buy and sell your bot makes has to be recorded, with its date, price and cost.
02Crypto-to-crypto swaps are taxable tooSwapping BTC for ETH is an exchange (permuta) in Spain: it creates a gain or loss even if you never touch euros.
03The Spanish tax agency requires FIFOThe first units you bought are the first ones you sell. Doing that by hand across hundreds of trades is not realistic.
WHAT SHAPER DOES
The maths, done
- Capital gains and losses per tax year, calculated with FIFO
- Crypto-to-crypto swaps included
- The data you need for form 721
Where trades come fromThe ones you import from a Kraken or Binance CSV, or with the Bot Shaper template; your bots’ real trades once LIVE arrives. The paper account never counts: it is virtual money.
Crypto tax guideCALENDAR
Form 721Crypto held on foreign platformsJan 1 – Mar 31
Income tax return (Renta)Last year's gains and lossesApril – June
FAQ
Frequently asked questions
Yes. It is an exchange (permuta): the tax agency treats it as selling BTC and buying ETH, which creates a capital gain or loss.
If on 31 December you hold more than €50,000 in crypto on foreign platforms. It is filed between 1 January and 31 March.
No. It is a calculation aid so you arrive with your data ready. For your specific case, talk to a tax adviser.
FIFO: the first units you bought of each crypto are the first ones treated as sold.
Bot Shaper provides a calculation aid. It is not tax advice and does not replace a tax adviser. Check the data before you file.
Let your bots keep the books.
In plain English, the way you'd explain it to a friend. Shaper does the rest.
- €100,000 virtual to test with
- Backtest on real history
- Data hosted in the EU