Home
Softono
SharpMt940Lib.Core

SharpMt940Lib.Core

Open source MIT C#
25
Stars
18
Forks
10
Issues
4
Watchers
3 years
Last Commit

About SharpMt940Lib.Core

SharpMt940Lib.Core is a C library that implements the SWIFT MT940 Customer Statement Message standard for the .NET platform. Originally a port of the Raptorious.Finance.Swift.Mt940 package, it parses financial transaction data exported by banks in the MT940 plain text format, with specific support for variations like those used by ABN AMRO. The library serves as a foundational component for building financial software applications, enabling developers to read, interpret, and validate statement files programmatically. Its primary use cases include migrating legacy banking data, generating reports, and converting MT940 files into more widely supported formats such as CSV or OFX for integration with accounting packages and personal finance tools. As an open-source project distributed under the MIT license, it is free for use in both commercial and non-commercial projects. It addresses the common gap in software support where users cannot directly import raw bank exports, eliminating the need for manual conversio

Platforms

Web Self-hosted Windows

Languages

C#

Links

NuGet License: MIT Build Status

SharpMT940Lib.Core

SharpMt940Lib.Core is an unofficial port of the Raptorious.Finance.Swift.Mt940 library to .NET Core.

What is it?

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:

Download

You can get the prerelease package by using nuget. For changes checkout the changelog

Are you missing a feature or is it broken?

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.

Author

Jaco Adriaansen (@raptux)

Momamad Javad Ebrahimi

License

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.