# Tax Season - Is there API or CSV or something easy for taxes?

**URL:** <https://forum.sovryn.com/t/tax-season-is-there-api-or-csv-or-something-easy-for-taxes/2182>\
**Category:** General Commons\
**Created:** [January 12, 2022, 3:01am UTC](https://forum.sovryn.com/t/tax-season-is-there-api-or-csv-or-something-easy-for-taxes/2182 "2022-01-12T03:01:30Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![felo08](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.sovryn.com/felo08/32/334_2.png) [@felo08](https://forum.sovryn.com/u/felo08)\
**Post date:** [January 12, 2022, 3:01am UTC](https://forum.sovryn.com/t/tax-season-is-there-api-or-csv-or-something-easy-for-taxes/2182/1 "2022-01-12T03:01:30Z")

</div>

Trying to fill missing links in crypto tax software for this tax season. Do we have to try and get all our info. from the wallet we used, or is there somewhere on this Sovryn platform we can download everything CSV style?

---

<div class="post-metadata">

**Author:** ![light](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.sovryn.com/light/32/11_2.png) [@light](https://forum.sovryn.com/u/light)\
**Post date:** [January 21, 2022, 2:42am UTC](https://forum.sovryn.com/t/tax-season-is-there-api-or-csv-or-something-easy-for-taxes/2182/2 "2022-01-21T02:42:27Z")

</div>

There’s no CSV export right now. lqbweb on Discord posted this project he is working on that might be helpful: [https://github.com/rupebac/rsk\_taxes](https://github.com/rupebac/rsk_taxes)

fwiw I do all my accounting by hand using the Sovryn history tables and block explorer. It’s a pain but at least I know everything is recorded accurately 🤞

Maybe in the future we can get something like [rotki.com](http://rotki.com) to support RSK and Sovryn txs.

---

<div class="post-metadata">

**Author:** ![dseroy](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.sovryn.com/dseroy/32/849_2.png) [@dseroy](https://forum.sovryn.com/u/dseroy)\
**Post date:** [January 21, 2022, 2:36pm UTC](https://forum.sovryn.com/t/tax-season-is-there-api-or-csv-or-something-easy-for-taxes/2182/3 "2022-01-21T14:36:31Z")

</div>

I tried looking at the historical AMM swaps and noticed it was missing several transactions. That was about a month ago. Any idea if that bug has since been fixed?

---

<div class="post-metadata">

**Author:** ![light](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.sovryn.com/light/32/11_2.png) [@light](https://forum.sovryn.com/u/light)\
**Post date:** [January 22, 2022, 5:40am UTC](https://forum.sovryn.com/t/tax-season-is-there-api-or-csv-or-something-easy-for-taxes/2182/4 "2022-01-22T05:40:39Z")

</div>

I wasn’t aware of any issue with the history tables. Please create a ticket on Freshdesk with the specific txs you think are missing from your history and the support team can coordinate with the devs to look into it.

---

<div class="post-metadata">

**Author:** ![Lucastos](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.sovryn.com/lucastos/32/420_2.png) [@Lucastos](https://forum.sovryn.com/u/Lucastos)\
**Post date:** [January 27, 2022, 10:19pm UTC](https://forum.sovryn.com/t/tax-season-is-there-api-or-csv-or-something-easy-for-taxes/2182/5 "2022-01-27T22:19:05Z")

</div>

I have nearly 20% of all my transactions missing.  
This isn’t a good method. I feel this needs more attention. Numerous people have reported missing transactions in the history. The history doesn’t even show a date opened / closed. There should also be a total Entry/Exit/Gas Fee shown that would help also. Trying to track this in painful at a miniumum.  
Just my 2 sats.  
Thanks

---

<div class="post-metadata">

**Author:** ![Lucastos](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.sovryn.com/lucastos/32/420_2.png) [@Lucastos](https://forum.sovryn.com/u/Lucastos)\
**Post date:** [January 27, 2022, 10:23pm UTC](https://forum.sovryn.com/t/tax-season-is-there-api-or-csv-or-something-easy-for-taxes/2182/6 "2022-01-27T22:23:03Z")

</div>

![image](https://europe1.discourse-cdn.com/flex017/uploads/sovryn1/original/1X/63416b85cf3b5f876a451c29569002c21c369233.png)

---

<div class="post-metadata">

**Author:** ![dseroy](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.sovryn.com/dseroy/32/849_2.png) [@dseroy](https://forum.sovryn.com/u/dseroy)\
**Post date:** [January 30, 2022, 10:54pm UTC](https://forum.sovryn.com/t/tax-season-is-there-api-or-csv-or-something-easy-for-taxes/2182/7 "2022-01-30T22:54:28Z")

</div>

I was able to successfully use lqweb’s GitHub. It seems to work. For the very non-technical, like myself, here’s a step by step run-down:

- Go to GitHub: [GitHub - rupebac/rsk\_taxes: a small application that generates a CSV file with all transactions happened inside Sovryn / RSK](https://github.com/rupebac/rsk_taxes).
- Click green Code drop down. Install ZIP. Unzip it and save it somewhere on your computer.
- There is a file called gradle.properties, open it up as a normal text file in wordpad or similar. Paste in and save the following where you’re replacing the \<\> with your specific api key and rsk wallet address:  
com.rsk.apiKey=  
com.rsk.wallet=
- If you don’t have a covalent API key then go [https://www.covalenthq.com/](https://www.covalenthq.com/) and register for an API key. It will be something that reads "ckey\_.
- Go to your cmd prompt. For windows that just means go into start menu, type cmd and open the black box.
- Type cd from the second step.
- Type ‘gradlew :run’ or ‘/gradlew :run’
- It should start processing and spit out a file called ctc\_report.csv in the directory where everything else is saved.

The file should have all your buy and sells, vesting withdrawals, liquidity mining etc. It may take a little bit to familiarize with the file and understand what exactly it all is. However, this will be the basis for a document that you can upload to a tax website like Cointracker.

Normal disclaimer. I am not a CPA. Pay your taxes. Hope this helps.

Feel free to post any questions or follow ups.

Thanks!

---

<div class="post-metadata">

**Author:** ![light](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.sovryn.com/light/32/11_2.png) [@light](https://forum.sovryn.com/u/light)\
**Post date:** [February 2, 2022, 4:32am UTC](https://forum.sovryn.com/t/tax-season-is-there-api-or-csv-or-something-easy-for-taxes/2182/8 "2022-02-02T04:32:50Z")

</div>

Thanks for bringing that to my attention, hadn’t seen that thread before. This issue has been logged.

---

<div class="post-metadata">

**Author:** ![Lucastos](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.sovryn.com/lucastos/32/420_2.png) [@Lucastos](https://forum.sovryn.com/u/Lucastos)\
**Post date:** [February 2, 2022, 4:51pm UTC](https://forum.sovryn.com/t/tax-season-is-there-api-or-csv-or-something-easy-for-taxes/2182/9 "2022-02-02T16:51:16Z")

</div>

I will look into this. I wonder if it would be possible for Sovern to incorporate this type of info into the protocol and allow a tax section. I know taxes/soverign don’t always mix, but it still up to the individual what they do with the information. Thanks for the info dseroy!

---

<div class="post-metadata">

**Author:** ![Lucastos](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.sovryn.com/lucastos/32/420_2.png) [@Lucastos](https://forum.sovryn.com/u/Lucastos)\
**Post date:** [February 2, 2022, 4:55pm UTC](https://forum.sovryn.com/t/tax-season-is-there-api-or-csv-or-something-easy-for-taxes/2182/10 "2022-02-02T16:55:27Z")

</div>

Thank You Light! ❤ 🤍 ❤ 🤍

---

<div class="post-metadata">

**Author:** ![trustno1](https://avatars.discourse-cdn.com/v4/letter/t/4bbf92/32.png) [@trustno1](https://forum.sovryn.com/u/trustno1)\
**Post date:** [March 13, 2022, 12:53am UTC](https://forum.sovryn.com/t/tax-season-is-there-api-or-csv-or-something-easy-for-taxes/2182/11 "2022-03-13T00:53:43Z")

</div>

I’m getting a command not found error on step _Type gradlew :run_. Any idea how to fix it?

---

<div class="post-metadata">

**Author:** ![trustno1](https://avatars.discourse-cdn.com/v4/letter/t/4bbf92/32.png) [@trustno1](https://forum.sovryn.com/u/trustno1)\
**Post date:** [March 13, 2022, 12:55am UTC](https://forum.sovryn.com/t/tax-season-is-there-api-or-csv-or-something-easy-for-taxes/2182/12 "2022-03-13T00:55:42Z")

</div>

FIgured it out. Type - _./gradlew :run_

---

<div class="post-metadata">

**Author:** ![rucks](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.sovryn.com/rucks/32/793_2.png) [@rucks](https://forum.sovryn.com/u/rucks)\
**Post date:** [April 6, 2022, 2:15am UTC](https://forum.sovryn.com/t/tax-season-is-there-api-or-csv-or-something-easy-for-taxes/2182/13 "2022-04-06T02:15:28Z")

</div>

Running into the following error.

“Can’t find TokenContract for address: 0xef213441a85df4d7acbdae0cf78004e1e486bb96”

Any ideas how to troubleshoot?

---

<div class="post-metadata">

**Author:** ![rucks](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.sovryn.com/rucks/32/793_2.png) [@rucks](https://forum.sovryn.com/u/rucks)\
**Post date:** [April 6, 2022, 2:30am UTC](https://forum.sovryn.com/t/tax-season-is-there-api-or-csv-or-something-easy-for-taxes/2182/15 "2022-04-06T02:30:51Z")

</div>

Nevermind. Realized I just needed to define the address in TokenContractSpecs.java and that worked.

---

<div class="post-metadata">

**Author:** ![Lucastos](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.sovryn.com/lucastos/32/420_2.png) [@Lucastos](https://forum.sovryn.com/u/Lucastos)\
**Post date:** [November 8, 2022, 1:35pm UTC](https://forum.sovryn.com/t/tax-season-is-there-api-or-csv-or-something-easy-for-taxes/2182/16 "2022-11-08T13:35:00Z")

</div>

![image](https://europe1.discourse-cdn.com/flex017/uploads/sovryn1/original/1X/c9846fc61ec2ce4302a1407cf24a89bf1fd05fa8.png)  
 ![image](https://europe1.discourse-cdn.com/flex017/uploads/sovryn1/original/1X/6b44c51ce3a59a21e204e54f08829924d4ff14c3.png)  
Any help on what I’m doing wrong here or what I have typed wrong. I can’t get this to work or run.

Thanks  
-Lucastos

---

<div class="post-metadata">

**Author:** ![groovy](https://avatars.discourse-cdn.com/v4/letter/g/b9bd4f/32.png) [@groovy](https://forum.sovryn.com/u/groovy)\
**Post date:** [December 30, 2024, 11:48am UTC](https://forum.sovryn.com/t/tax-season-is-there-api-or-csv-or-something-easy-for-taxes/2182/17 "2024-12-30T11:48:00Z")

</div>

It’s Dec. 2024. Does anyone know how to export their sovryn transactions for taxes? I searched with AI brave search engine and I see there is something called \*\*DK1 (Direct K-1) Import/Export that might get a .csv file downloaded with all tax data, but I don’t see a reference to it in wiki.sovyrn.  
Also, I looked in the rootstock wallet of my connected wallet, but it has NO transactions at all, so I can’t figure out where on the blockchain the transactions would be located. We should not have to go to github to try to do that complicated tech stuff!!! I don’t think I’d succeed anyway, just like others didn’t succeed. Sovryn has failed in this regard…
