This command line utility produces tax report in tab-separated format. Time zone of report will match local.
Usage: <account> <from-date> [to-date [output-file-name]] [-waitForDownloadComplete] [-ignoreIncompleteDownload]
account - account to run report for
from-date - date in yyyymmdd format, inclusive
to-date - date in yyyymmdd format, inclusive, defaults to today
output-file-name - defaults to report-for_account_from-date_to-date.csv
By default this tool exits with warning if blockchain last block timestamp is before to-date.
Following flags modify this behavior:
-ignoreIncompleteDownload - run report for locally available blockchain
-waitForDownloadComplete - run wait for enough blocks downloaded before running this report
Optional additional parameters
--unknownEventPolicy=<FAIL|IGNORE> - what to do with ledger events unknown by this tool. 'FAIL' by default.
--timeZone=<timezone id> - 'UTC' by default, see java.time.ZoneId.of(java.lang.String) for more info
--dateFormat=<date and time format> - 'dd-MM-yyyy HH:mm:ss' by default, see java.time.format.DateTimeFormatter.ofPattern(java.lang.String) for more info
--delimiter=<delimiter to separate values> - '\t' by default, no character escaping is done.
Usage examples:
ARDOR-4RU9-TNCT-F3MU-8952K 20190101 20200101 output.csv
ARDOR-4RU9-TNCT-F3MU-8952K 20190101 20200101 - will create file with name report-for_ARDOR-4RU9-TNCT-F3MU-8952K_20190101_20200101.csv