Software for calculating cryptocurrency capital gains for tax purposes. Calculation with LIFO method, developed with Italy in mind.
The screencast is made with random transactions. They are not my holdings.
At the moment, the features of this software are quite limited, but they are the most inconvenient and time-consuming to do manually, at least in my case.
In fact, it is just a script that takes in input a csv file with all your transactions, and elaborates a quite complete and printable report. In the future I plan to make it a more complete software, maybe even with a nice front-end.
config.sample.php
in config.php
, and set inside it the credentials of the MySQL database (it will be used as a cache for cryptocurrency prices) and the location of the transactions.csv
file;index.php
through a web browser.;
. This is the description of the fields:
purchase
, sale
or expense
(or the correspondents in Italian: acquisto
, vendita
or spesa
).
as decimal separatorBTC
, ETH
or BNB
purchase
/acquisto
type transactions with price = 0, you can set the earning category; it affects some calculations in the final reportairdrop
: a capital gain is calculated equal to the value of the cryptocurrency on the day of the transactioninteressi
/interest
: are considered as redditi di capitale, taxed at a rate of 26%cashback
: the value at the day of the transaction is not taxed, but only the eventual capital gain at the time of the saleplease note: these are the considerations this software does, but they may not be the correct ones! DYOR and/or consult an expert!