-
Notifications
You must be signed in to change notification settings - Fork 93
Better bank statement import process #98
Copy link
Copy link
Open
Description
The bank statement import process could be made way easier than it is right now.
Here are some broad ideas:
- Take a CSV or Excel file
- Find the header row - some bank statements do not start with the header on the first row of the sheet - needs to match exactly as per configuration set for the given bank account
- From header row, iterate to the bottom and find all “eligible” transaction rows - some statements have closing balance and other information at the end of the statement
- Add support for column mapping - also support things like a single "amount" column with Cr/Dr, positive/negative values - allow users to map whether Cr is treated as a deposit or withdrawal.
- Add exclusion rules based on row variables - some bank statements have weird rows in between which are not transactions but look like them - for example certain "transaction codes" that need to be excluded
- Add column mapping with support for Jinja expressions - so users can concatenate multiple columns (e.g. reference + cheque number)
- Preview transactions before importing
- Get the closing balance from the “balance” column of the last row and set that as closing balance for the given date.
Bank statements are usually imported periodically (monthly, quarterly, yearly) - so we should store the start and end date of each import and warn users if there are duplicate imports for the same period for the same bank account.
Bank statement formats to consider:
- CSV/Excel
- CAMT.052 (XML)
- CAMT.053 (XML)
- OFX (XML)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels