New issue 297: Pass importer results to next importer in bean-extract
https://bitbucket.org/blais/beancount/issues/297/pass-importer-results-to-next-importer-in
Christoph Sarnowski:
I'm writing a couple of importers for personal use, and I am missing this feature.
Rationale:
bean-extract runs all found (and supported) documents through their importer's extract method in one call.
It also has a mechanism to flag duplicate transactions, but only if an existing beancount file is given.
Duplicate transactions happen close to each other in time, so it will be very common that both parts of a duplication will be imported at the same time. Imagine I transfer money from one bank account to another, and I download the CSVs from both banks. Now bean-extract will find both sides of this transaction, but it can't detect them as duplicates.
So I would like to see bean-extract run the importer for one file, append the transactions to the list of existing entries, and then pass this updated list to the next importer run.
In case that this behavior is not universally useful, I'd suggest to add a command line switch to bean-extract to enable this.
Any comments or suggestions? Would you accept this feature?