Glad you find the importers helpful! Thanks for reporting this. Someone else had a case of this too. Filed: https://github.com/redstreet/beancount_reds_importers/issues/9
Made a fix that should help. Could you please try re-running after: pip3 install git+https://github.com/redstreet/beancount_reds_importers On Sunday, May 23, 2021 at 6:31:28 AM UTC-7 john.a.r...@gmail.com wrote: > Apologies for piggy-backing on this thread, but it fits -- especially > since I agree with Jonathan that Red has been a huge help on importing > records. Thanks! > > I have three investment accounts with Fidelity, and I've used Red's set-up > to import records from two of them. However, I can't get records for the 3d > account, though I know that transactions for this account are in the > download. It fails with this message: > > Error: fund info not found for: [] > > Just to be clear -- nothing is inside the brackets. This appears to be the > same response that calls for addition CUSIP info in my import file. With > the other accounts, once I'd added the requested CUSIP numbers and related > fund information the processing continued. > > Any hints on what it's missing and how I can trouble-shoot this? (It's > surely clear from the way I've described this and asked my question that > I'm not a programmer!) > > Thanks -- > > John > > On Monday, April 19, 2021 at 11:22:34 PM UTC-4 redst...@gmail.com wrote: > >> That's great! >> >> 1. Ah, I need to clean/document that better. You can ignore it assuming >> you're not having trouble. ofxparse should pick up your account number fine >> from that input. >> >> 2. Also code that needs to be cleaned up. There should be only a single >> entry. Correct, that is how your Vanguard files should be named. That's how >> the website names them when you download them, BTW, so this should work out >> of the box. >> >> 3. Correct, the banking transaction builder relies on smart_importer to >> generate that Income posting. See this article >> <https://reds-rants.netlify.app/personal-finance/transaction-builders/>. >> You'll have to setup smart_importer (very easy), and point it at your >> existing beancount file. >> >> On Monday, April 19, 2021 at 7:04:50 PM UTC-7 jrgo...@gmail.com wrote: >> >>> Also want to give a shout out to Red for the really helpful posts and >>> great contribution to getting going quickly with importing. I was able to >>> get 3 importers working using this framework (one US bank that has OFX, one >>> overseas bank with OFX), and one investment account. >>> >>> I had a few questions regarding the code: >>> >>> 1) in the importer class you have "self.account_number_field = >>> "account_id". How is that used? The OFX file has this: >>> <BANKID>123456789<ACCTID>123456<ACCTTYPE>CHECKING. Is this relevant? >>> >>> 2) In your examples folder you have 2 entries for >>> "self.filename_identifier_substring". Is this an "AND" match or is it a >>> "OR" match? Do I hard code entries in my bank importer or is there a way to >>> use the config file to pass those parameters. For example, in your importer >>> for Vanguard you have self.filename_identifier_substring = >>> 'OfxDownload.qfx' so does that mean I have to have the Vanguard files be >>> called '***OfxDownload.qfx'? >>> >>> 3) My OFX for my bank has entries like this >>> >>> "<STMTTRN><TRNTYPE>DEP<DTPOSTED>20200131000000<TRNAMT>4.22<FITID>123<NAME>Credit >>> >>> Interest<MEMO>Deposit, Processed</STMTTRN> >>> " >>> >>> Your config example has entries like "income' : >>> 'INCOME:INTEREST:BANKNAME" >>> >>> Is this idea that this type of transaction automatically gets processed >>> and put into that account? Out of the box it didn't happen has perhaps >>> banking.py in libimport is looking for a different string. My question is >>> how should I configure this or is this simply better to handle with the >>> smart_importer and mostly ignore those configurations? >>> >>> thanks, >>> Jonathan >>> >> -- 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 beancount+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/0815b539-feda-4720-ad5b-df361db6cf00n%40googlegroups.com.