C# OFX Importer
So i didn’t have much to do yesterday so I wrote an OFX importer. I used Jason’s sharpCash as a starting point but ended up doing my own implementation (always easier to rewrite than to understand someone else’s code!). Its pretty compliant to the main bulk of the OFX specification, although it only supports Credit Card and Bank account types at the moment.
It was written in C# and I have compiled it to a class library, the dll for it is here. Basically because this is for my dissertation, I don’t really know where I stand with releasing the code, I will speak to my project supervisor, worst case scenario I will release it early next year but if anyone wants the source, just email me.
To use it, you simply do:
OFX ofxFile = new OFX(filePath);
Hope this saves someone a couple of days of trouble!
**Update **
Sorry, hadn’t realized that the link had expired, I have put it in my university web space hosting which you can get here. Will be releasing the code as soon as possible but may be a month or 2 before thats possible. I have one request to make for anyone using, could you just drop me an email with the names of banks you are using, and if feeling very generous any performance metric’s you happen to have collated. I need to show this component works properly on a range of banks but can only personally get hold of OFX documents for a couple of banks. Any help would be greatly appreciated.
File has been removed from filefactory. Any chance of getting it back?
BBQNinja
29 Aug 07 at 12:57 am
I am interested in looking at your library as well but the File Factory link no longer works. Would it be possible for you to post the project again?
Thanks in advance.
Chris Whelan
18 Feb 08 at 1:44 am
[...] unfortunatly no open source OFX parsers for C# so part of my project was to develop one. I have blogged about my development of this component before and after quite a lot of interest, i will be open sourcing [...]
Muney: Organizing a user’s financial information « James Hollingworth’s Adventures in Code
27 May 08 at 10:03 pm
Can I get any source code for the OFX logic? I have to convert csv data into OFX so that Microsoft’s Accounting program will read it!
I guess that the OFX logic is not hard, but I cannot find any resources for the formats!
trevor oakley
28 May 08 at 6:12 am