Closed laszlopandy closed 4 years ago
I have seen other banks also add a few empty lines for some reasons at the beginning so maybe a better approach would be to allow the option of selecting the number of rows to skip?
@aniav maybe don't stop there but actually enable a range of rows to be selected for input, e.g. "rows 3-27".
My bank will export some intro rows (CHECKING account) similar to @laszlopandy 's example, then list the individual transactions in proper CSV format, followed by some blank lines, then another set of intro rows for a second account (SAVINGS), then transactions for my second account, again some intro rows for the third account (VISA) followed by the transactions of that third account.
I have no option to export individual CSVs for each account so I have to split that contraption manually. Being able to define a range of lines to be the source data for conversion would help tremendously.
Agreed on that proposal! I don't expect to have time to do anything around that in the next weeks. Happy to accept anyone doing that change though! 🙏
This is now fixed. You can choose at which row to start:
For some reason, by bank decided it is a good idea to put a title, and date range information on the first three lines before the column headers appear. This is clearly non-standard, and makes the
ynab-csv
converter believe that there is only one column.Perhaps the heuristic should be: when searching for the column headers, ignore lines that appear to only have one column. If I try sending a PR if I have some time later.