Modelo 100, box by box
Each disposal is assigned to its tax category and the year is added up by box, with loss offsetting. Every figure traces back to the operation behind it.
PortCodex reads your wallet history on seven networks, works out your gains and losses with lot-based FIFO and gives you the Modelo 100 breakdown by box to carry over to your return or take to your advisor. Built for people who file taxes in Spain.
Public addresses only. We never ask for keys or seed phrases.
Net worth
€48,230.15
Capital gain this tax year
€3,412.80
Calculated with lot-based FIFO
History and balances on seven networks, plus HyperEVM through ProjectX positions. It recognizes operations from 50 DeFi protocols.
Reads addresses on
Recognized DeFi protocols, among others
It is read-only: you use public addresses, with no private keys, no seed phrases and nothing to sign.
History and balances on seven networks. Positions on Aave, Uniswap and PancakeSwap on EVM, ProjectX on HyperEVM, and Kamino, Orca, Meteora and Jupiter on Solana. It recognizes operations from 50 DeFi protocols when classifying.
It uses lot-based FIFO, the criterion applied by Spain’s DGT (its tax rulings directorate), and breaks the year down by Modelo 100 box (Spain’s income tax return). The PDF is for your return or your advisor; it is guidance, not a substitute for an advisor.
Swapping one token for another, collecting staking rewards or moving liquidity in DeFi all have tax consequences. Rebuilding it by hand from block explorers and spreadsheets takes hours of work and is easy to get wrong.
How it worksPortCodex calculates with the rules of Spain’s income tax (IRPF), not a generic method.
Capital gains and losses and investment income, each operation in the tax base where it belongs.
The year broken down by box, with loss offsetting, to review and carry into your return. Operations not yet classified, such as NFTs or derivatives, are not in the breakdown.
Modelo 721 covers balances held with custodians abroad. We do not read custodian accounts automatically, but you can add their balances by hand in your portfolio, with their acquisition date, and they go into the report of each tax year, including that of a closed one if PortCodex had no snapshot of that year end or the snapshot tells what is read on-chain apart from what is added by hand (with an older snapshot that does not, they may be left out, and Tax says so for that year). Self-custody does not count.
Every sale or swap consumes the oldest lots first, each with its acquisition cost.
The guides explain each operation with the cited rulings of Spain’s tax authority (DGT) and flag what still has no official criterion.
A clear portfolio for the investor and a working access for whoever prepares the return.
Your wallets in a single net worth in euros, every movement classified and the year worked out lot by lot.
Request beta accessAdvisor mode gives access to the portfolios of the clients who invite their firm, each client’s inbox and the PDF report. The client decides the scope and can withdraw it whenever they like.
Request beta accessEach disposal is assigned to its tax category and the year is added up by box, with loss offsetting. Every figure traces back to the operation behind it.
It reads each network’s history and values every movement in euros. What is unambiguous is classified on its own; anything doubtful goes to the on-chain inbox for you to confirm. If history is missing, it flags it instead of making up a cost.
The year’s disposals, the offset and the breakdown by box, in a document your advisor can review.
Paste the public address of each wallet. You connect no wallets and sign nothing.
We walk every network, value each movement in euros and classify it.
Check your portfolio and your tax year whenever you like and download the PDF report.
The usual questions before getting started. If yours is missing, write to us through support.
An app that brings your crypto wallets together, keeps their books current and works out their tax position in Spain. It reads the history of your public addresses, values every movement in euros and calculates your capital gains and losses with lot-based FIFO. The result is indicative and does not replace a tax advisor.
No. We only need public addresses, and access is read-only. We will never ask for private keys or seed phrases, or for you to connect your wallet or sign anything.
History and balances on Bitcoin, Solana, Ethereum, Arbitrum, Base, Polygon and BNB Chain. On HyperEVM we only read ProjectX positions.
On the EVM networks where they are deployed, Aave v3 loans and Uniswap v3 and PancakeSwap v3 liquidity; ProjectX liquidity on HyperEVM; and on Solana, Kamino, Orca, Meteora and Jupiter Lend positions. We read them straight from the contract or from the protocol’s public API. V3 pool fees, Aave v3 interest and the rewards from Lido (stETH) and native Solana staking are detected on their own; other staking rewards are recorded from Portfolio. Other protocols are not read as positions yet.
We do not read exchanges automatically. You can add their balance by hand, choosing each one when you create the position, with its acquisition date and total cost: it counts for Modelo 721 and the wealth taxes on 31 December of every year you held it (also in a closed tax year, although with a snapshot of that year end from before PortCodex told what is read on-chain apart from what is added by hand it may be left out, and Tax says so. For the wealth taxes, without a snapshot of what is read on-chain at that year end, only if what you added by hand already exceeds the threshold). If you move a balance from the exchange to a wallet you also have here, record the withdrawal on the exchange as “Transfer to a wallet of your own” so it is not counted twice: it is not a sale and the cost is kept. What happened inside the exchange does not show in PortCodex.
It works out the year’s capital gains and losses with lot-based FIFO and gives you a PDF report to carry into your return or hand to your advisor. You or your advisor file it.
Yes. You create your firm and your clients invite it with your firm's code, or accept the invitation you send them; they choose whether you can manage or only view. You see each client’s portfolio and inbox to review their movements, and the client can withdraw your access whenever they like.
You may have to: swapping one token for another can create a capital gain or loss even if you never go through euros. Each case depends on your circumstances: ask your advisor. Swaps guide
Not reporting a capital gain can lead the tax authority to regularize it, with surcharges, interest and, depending on the case, penalties. This is general information, not advice: ask your advisor. See the tax guides
Spanish tax season opens in April. Get on the list and, when there is room, all you do is add one address.
Private beta
Leave your email and we write to you when there is room for your portfolio. We only use it to let you know and to decide which networks to prioritize; no newsletters.