Skip to content

Latest commit

 

History

40 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my-tezos-taxes

Some scripts that i use to generate my tezos tax reports.

Warning

I'm just an astronomer and not a tax expert. Use these scripts at your own risk. Things might be wrong, so it's better that you double check before you use this information.

Yes, a lot of things are missing. I will probably not include them if i never use them (DeFi), but you are free to extend the scripts to your needs.

How to run it

Edit user_wallets.json, baker_wallets.json and staking_rewards.csv with your personal information.

Edit tax_parameters.json with your country specific tax parameters.

Add any needed operation correction to operation_corrections.json.

Run the scripts using python3 (order is important):

cd my-tezos-taxes/python
python3 historicalTezBalance.py
python3 tokenTransfers.py
python3 walletOperations.py
python3 tokenDetails.py
python3 calculateTaxes.py
python3 createPdfLatexReport.py

After few seconds you will have the tax report and some csv files will be saved in the output directory.

About

Some scripts that i use to generate my tezos tax reports

Resources

Stars

16 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages