#!/usr/bin/env python3 """Example import configuration.""" # Insert our custom importers path here. # (In practice you might just change your PYTHONPATH environment.) import sys from os import path sys.path.insert(0, path.join(path.dirname(__file__))) from importers import suncoast_g #from importers import acme_pdf from beancount.ingest import extract #from beancount.ingest.importers import ofx # Setting this variable provides a list of importer instances. # # Removed the following from below to replace with my own, saved for reference # # utrade.Importer("USD", # "Assets:US:UTrade", # "Assets:US:UTrade:Cash", # "Income:US:UTrade:{}:Dividend", # "Income:US:UTrade:{}:Gains", # "Expenses:Financial:Fees", # "Assets:US:BofA:Checking"), # # ofx.Importer("379700001111222", # "Liabilities:US:CreditCard", # "bofa"), # # acme_pdf.Importer("Assets:US:AcmeBank"), # CONFIG = [ suncoast_g.Importer(config = {'[DATE]': 'Posted Date', '[TXN_DATE]': 'Transaction Date','[NARRATION1]': 'Description','[CREDIT]': 'Deposit','[DEBIT]': 'Withdrawal','[BALANCE]': 'Balance'}, account = "Assets:Suncoast:Checking-G", currency = "USD", regexps = ""), ] # Override the header on extracted text (if desired). extract.HEADER = ';; -*- mode: org; mode: beancount; coding: utf-8; -*-\n'