Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support filtering by "Product" #24

Closed
hades opened this issue Jul 14, 2023 · 2 comments
Closed

Support filtering by "Product" #24

hades opened this issue Jul 14, 2023 · 2 comments

Comments

@hades
Copy link
Contributor

hades commented Jul 14, 2023

My CSV exports from Revolut contain multiple accounts in the same file (e.g. stocks and current account). What if we added support a setting to filter the transactions by the "Product" column, so that multiple OFX files can be generated from the same CSV?

See also kedder/ofxstatement#47

@mlaitinen
Copy link
Owner

Thanks for the feature request. I'm no longer using this plugin since YNAB now supports importing Revolut transactions through an integration. If someone is willing to implement such feature, I'd be happy to review and merge it.

As a workaround you could use csvtool to filter the CSV statement files before running them through ofxstatement.

For example:

csvtool --encoding UTF-8 -c 2 -s '^Current$' account-statement-revolut.csv > revolut-current.csv

will produce a revolut-current.csv file that contains the header and the transactions of the current account only.

@mlaitinen
Copy link
Owner

Closed by #26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants