Questions tagged [mt940]

MT940 is a format used by the SWIFT network to represent account statement data. Use the tag [swift-mt] for more general questions about SWIFT messaging standards.

Customer statement message. This message is used to transmit detailed information about all entries booked to an account, serviced by a financial institution. Sent only once a day. Most electronic banking systems are able to sent and receive MT940 to exchange statement information.

19 questions
6
votes
1 answer

Parsing structured text data in PHP

I am looking for various (better) ways of parsing structured text data in PHP and getting that data into a PHP object graph. I have seen a lot of different parsers in PHP for a variety of text-based file formats but pretty much all of them seem to…
Sander Marechal
  • 22,978
  • 13
  • 65
  • 96
6
votes
2 answers

Library to parse and convert SWIFT MT files

In order to read and parse MT942, MT940 files, which library is recommended to use. I came across two options, Using open-source library provided by PROWIDE Using SWIFT standard libraries - SWIFT Is there any other approach to read and parse SWFIT…
DAIRAV
  • 723
  • 1
  • 9
  • 31
5
votes
2 answers

MT940 format parser

Can you recommend any OS, ready-to-go, well-documented and not dead MT940 format parser for Python?
bx2
  • 6,356
  • 5
  • 36
  • 40
3
votes
3 answers

How to find double transactions in MT940

At the moment I'm working on a import script that imports bank account data into a MySQL database using php. I found some mt940 pharser but those didn't do what I wanted to do or didn't meet the current MT940 standard. So I wrote my own simple class…
Timo002
  • 3,138
  • 4
  • 40
  • 65
2
votes
2 answers

Powershell: Erase sections in a file - matched with a regex

I want to edit plain text files (MT940 Standard). Here is an example file with dummy…
2
votes
0 answers

Does anyone knows what is the best way to convert Swift MT940 to csv?

Does anyone knows what is the best way to convert Swift MT940 to csv?
SuperSql
  • 81
  • 6
2
votes
1 answer

best way to parse plain text file with a nested information structure

The text file has hundreds of these entries (format is MT940 bank statement) {1:F01AHHBCH110XXX0000000000}{2:I940X …
Beffa
  • 915
  • 1
  • 8
  • 18
1
vote
1 answer

Swift MT940 parser in C#

How to parse a MT940 swift message using C#? Below is the message that I have to parse: :20:MT940-1411201901 :25:1234567837710016…
Candy
  • 407
  • 1
  • 7
  • 19
1
vote
1 answer

how should I interpret the MT940 specifications

I'm building my own MT940 parser and I'm running into something that seems to be unspecified issue. The specification of a :61: tag, states that it ends with a variable amount of characters (34x). From an example file I see that they can continue on…
Corno
  • 5,448
  • 4
  • 25
  • 41
1
vote
1 answer

Reading swift message MT940

Am reading Swift message MT940, it reads fine, until I encounter a slight issue. Below is the snippet of the message am…
user3560266
  • 27
  • 1
  • 7
0
votes
1 answer

Reading an MT940 file data and storing into database table

I am new to MT940 file and I am searching for a sample code to read content of .mt940 and store in a database table with respective fields. I am struggling to analyze it. Is there any simple way to parse and save it in a table? For example take the…
Bin
  • 59
  • 5
0
votes
1 answer

How to convert JSON object received in response to REST Client request to a MT940 Swift text file in Java?

How to convert sample JSON given below to a MT940 txt file: This JSON would be a bad sample to show but hope you get the gist of it... Just like we have a library in place to parse MT940 strings/txt we also have a library which can help construct a…
shonal k
  • 3
  • 3
0
votes
1 answer

How to resolve this `t9n` translations error when I use its `plural` property?

I am trying to translate some text using t9n library, but I get this error Compiling... Error compiling ICU message for locale en-US: SyntaxError: Expected "=", "}", or identifier but "," found. To debug this set DEBUG_ICU to 'true' when I use…
Abhisar Tripathi
  • 1,569
  • 10
  • 21
0
votes
1 answer

PHP Parse returned Object

As I am trying to read the mt940 file from ING with help of https://github.com/fruitl00p/php-mt940 I tried his test file. it returns like this. array(1) { [0]=> object(Kingsquare\Banking\Statement)#4 (9) {…
Kvvaradha
  • 732
  • 1
  • 13
  • 28
0
votes
1 answer

How can I create .txt file in swift(MT940) format using node.js

How can I create .txt file in swift(MT940) format using node.js. Is there any npm module for that?
1
2