Actually another case that is analogous to this is Amazon, which provides descriptions of the products you bought on a credit card. One imports their credit card, but may want to have as a side-input an Amazon details file to provide more information on the transactions. It's possible to write your own main program to call the ingest code. It's here (read comments): https://bitbucket.org/blais/beancount/src/tip/beancount/ingest/scripts_utils.py It's a bit convoluted - this code is intended to support the old invocation (e.g. with bean-extract) and the new one (as a script, with subcommands), and I haven't tried to add custom args, so you may have to figure some stuff out, but that's how I'd do this. Cheers,
On Wed, Dec 19, 2018 at 2:31 PM Oon-Ee Ng <[email protected]> wrote: > A e-wallet I've just started to use provides two different PDF files. One > lists transactions with minimal details, the other lists a subgroup of > transactions with full details. > > Background - the ewallet is linked with an RFID system used for convenient > toll payments at the myriad tolled highways in my locality. It can also be > used for other transactions, so it just lists all transactions, but tags > the RFID transactions with minimal detail (basically just an ID, date, and > time). The app also provides an export listing only the RFID usage which > provides more details (in particular which toll gate was used). > > Ideally I'd like to merge/match transactions based on both files. This > does not seem to be something supported 'as-is' in beancount. Here are my > options, as I see them:- > > 1. Write two importers and manually merge (this sucks). > > 2. Write two importers, with the one which handles general transactions > just skipping all the RFID transactions. This would work, but I lose the > ability to cross-check that no odd transactions turned up in one and not > the other (the system is under pilot testing and I would not trust their > output too much, duplicates etc. have been reported already). > > 3. Write one importer which only handles the general transactions file, > and within that importer open/read the other file. > > Any other suggestions, or is there something built-in which would help > with this? > > -- > You received this message because you are subscribed to the Google Groups > "Beancount" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/CAGQ70euN_bXHd7xqenO%2BmxvknKDQ4bZm839VdTVSzh6N%3DPsQGQ%40mail.gmail.com > <https://groups.google.com/d/msgid/beancount/CAGQ70euN_bXHd7xqenO%2BmxvknKDQ4bZm839VdTVSzh6N%3DPsQGQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhNWBV8JqJ6-%2BOt%2BEX%2BPP9d1NCnxdbupLJZVa7BnrHw8Xw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
