I added some code to the ravencoin-taxman tool today:
https://github.com/morphex/ravencoin-taxman/commit/55f47b67f...
which enables the calculation of earnings in a local currency. So if you're mining for example, it is possible to get the entire earnings in a year, into the local currency, which should be sufficient for accounting and tax purposes for that year.
The commit also included a bit of refactoring, of I guess you can call it standard debug stuff, to lessen the amount of code necessary to write later. Support for CSV files using ; as a separator was also added, the Norwegian bank uses that as a separator in its datafiles, as , is the decimal separator in the Norwegian locale.
I also added a test, to illustrate the command line and how to operate it:
https://github.com/morphex/ravencoin-taxman/commit/e08301ba0...
https://github.com/morphex/ravencoin-taxman/commit/55f47b67f...
which enables the calculation of earnings in a local currency. So if you're mining for example, it is possible to get the entire earnings in a year, into the local currency, which should be sufficient for accounting and tax purposes for that year.
The commit also included a bit of refactoring, of I guess you can call it standard debug stuff, to lessen the amount of code necessary to write later. Support for CSV files using ; as a separator was also added, the Norwegian bank uses that as a separator in its datafiles, as , is the decimal separator in the Norwegian locale.
I also added a test, to illustrate the command line and how to operate it:
https://github.com/morphex/ravencoin-taxman/commit/e08301ba0...