Currently when Bank Accounts are synced, the consent token is generated for 3 months
This consent token has the upper limit or the start date from where bank transactions can be fetched
The start date is assumed to be the current fiscal year's start date, which may not be what the user wants
Kosma throws an error if older transactions are fetched beyond the consent's start date
Cases:
New setup > User has never fetched accounts or statements > User wants to start from 2018 > Daily transaction updates will be as usual (starting from the last synced date to today)
System is in use > User wants to fetch old transactions from some point (manually)
Possible Solution:
Case 1 :
Prompt user for a start date while fetching bank accounts for the first time (check if any bank with kosma ID)
Case 2:
Use Flow API > ask user for start and end date > user will have to authenticate again > fetch
Issue:
Cases:
Possible Solution: Case 1 :
Case 2: