ofxparse icon indicating copy to clipboard operation
ofxparse copied to clipboard

Feature Request - Add Transaction Parsing for "DTAVAIL" Field in <STMTTRN>

Open paulusbd opened this issue 10 months ago • 0 comments

Hello Jerry,

I really like this tool and am using it in a ofx2csv script.

I have been running into a case where I'm wanting both the DTPOSTED and DTAVAIL fields when I'm justifying the date of the transaction verses when the bank posted the transaction. It is a special case.

It looks like I could add and modify the fields in transaction for the dates to be:

class Transaction(object):
    def __init__(self):
        self.payee = ''
        self.type = ''
        self.date = ''
        self.avail_date = '' #new
        self.user_date = None
        self.amount = None
        self.id = ''
        self.memo = ''
        self.sic = None
        self.mcc = ''
        self.checknum = ''

And make the corresponding changes in the rest of the code and parser. I'm fairly new to coding, but find I'm now driven by necessity and desire to not do this by hand.

paulusbd avatar Apr 20 '24 01:04 paulusbd