lastStatement
There is one more REST method that it is not documented in the official API documentation but it is used by official java application 'api-plus';
'lastStatement' method returns the the last statement sequence number of the year. Examples: https://www.fio.cz/ib_api/rest/lastStatement/{TOKEN}/statement?year=2017 2017,12 https://www.fio.cz/ib_api/rest/lastStatement/{TOKEN}/statement 2018,4 https://www.fio.cz/ib_api/rest/lastStatement/{TOKEN}/statement?year=2000 null,null https://www.fio.cz/ib_api/rest/lastStatement/{TOKEN}/statement?year=2020 null,null
Sequence numbers are used in the following REST call: https://www.fio.cz/ib_api/rest/by-id/{TOKEN}/{YEAR}/{SEQ}/transactions.{FORMAT}"
I'm happy to accept a PR adding this feature. If you read this and want this feature, but don't want to implement it, please use GitHub reactions to vote for this feature, so that I know it's something worth investing time into.
This issue is related to documentation, important API feature was not documented and was found by reverse engendering... Please, fix the documentation. I am not sure about situation in 2024, issue was opened in 2018...
I see, I think I misunderstood the issue. I think I can get to it while working on https://github.com/honzajavorek/fiobank/issues/32