Simple parser for .qfx and .qbo files.
Pass to the library a file path or a Strem and it will return a "Statement" object that contains the Account number and the list of Transactions.
Example:
usingQFXparser;FileParserparser=newFileParser("C:\\filename.qbo");Statementresult=parser.BuildStatement();The returned objects are:
Statement
publicclassStatement{publicstringAccountNum{get;set;}publicICollection<Transaction>Transactions{get;set;}=newList<Transaction>();}Transaction
publicclassTransaction{publicstringType{get;set;}publicDateTimePostedOn{get;set;}publicDecimalAmount{get;set;}publicstringTransactionId{get;set;}publicstringRefNumber{get;set;}publicstringName{get;set;}publicstringMemo{get;set;}}In case the financial institution is not including the timezone with the transaction date, we assume it is UTC.
Please let me know if any issues and if you like give a star.