SharpMt940Lib.Core is an unofficial port of the Raptorious.Finance.Swift.Mt940 library to .NET Core.
SharpMT940Lib implements the MT940 format in C# based on specifications by ABN AMRO. You can use it as a base for financial software or for conversions to other formats like CSV or OFX.
Like many other banks ABN AMRO gives customers the possibility to download financial transactions to this format. I wanted to use this export format to manage my personal finance. So I search for different solutions to import this file format. Most (free) software I evaluated couldn’t directly import the format, you had to convert it to something else first, such as OFX.
Since I couldn’t find an application that didn’t precisely do what I wanted I decided to write my own. But first I needed a library to read the MT940 format.
MT940 Customer Statement Message is a plain text financial format standardized by SWIFT. Banks use this format to export to financial packages can use this for their process.
You can find more information (in dutch) at the following places:
You can get the prerelease package by using nuget. For changes checkout the changelog
Please contact me or leave a reply if you are missing a feature or when you run into a bug. If I know about it, then I can fix it. You can report them at the issue tracker. Please note I work alone at this project, so fixes sometimes might take some time.
Also I do not have access to every MT940 format. Different banks can have different headers and footers, the AbnAmro class might work for your file also. If it does or does not, please let me know so I can improve the code.
SharpMT940Lib has been given an MIT license. This is an open source approved license. You can use the library freely in both open source software and commercial software.