Open martijnderidder opened 10 months ago
I already tried this with the example ABN file i found online, but this also doenst work;
ABNANL2A
:20:ABN AMRO BANK NV
:25:517852257
:28:19321/1
:60F:C110522EUR3236,28
:61:1105240524D9,N192NONREF
:86:GIRO 428428 KPN - DIGITENNE BETALINGSKENM. 000000042188659
5314606715 BETREFT FACTUUR D.D. 20-05-2011
INCL. 1,44 BTW
:61:1105210523D11,59N426NONREF
:86:BEA NR:XXX1234 21.05.11/12.54 DIRCKIII FIL2500 KATWIJK,PAS999
:61:1105230523D11,63N426NONREF
:86:BEA NR:XXX1234 23.05.11/09.08 DIGROS FIL1015 KATWIJK Z,PAS999
:61:1105220523D11,8N426NONREF
:86:BEA NR:XXX1234 22.05.11/14.25 MC DONALDS A44 LEIDEN,PAS999
:61:1105210523D13,45N426NONREF
:86:BEA NR:XXX1234 21.05.11/12.09 PRINCE FIL. 55 KATWIJK Z,PAS999
:61:1105210523D15,49N426NONREF
:86:BEA NR:XXX1234 21.05.11/12.55 DIRX FIL6017 KATWIJK ZH ,PAS999
:61:1105210523D107,N426NONREF
:86:BEA NR:XXX1234 21.05.11/12.04 HANS ANDERS OPT./056 KAT,PAS999
:61:1105220523D141,48N426NONREF
:86:BEA NR:XXX1234 22.05.11/13.45 MYCOM DEN HAAG S-GRAVEN,PAS999
:62F:C110523EUR876,84
-
ABNANL2A
940
ABNANL2A
:20:ABN AMRO BANK NV
:25:517852257
:28C:19322/1
:60M:C110523EUR2876,84
:61:1105240524D9,49N426NONREF
:86:BEA NR:XXX1234 24.05.11/09.18 PETS PLACE KATWIJK KATWI,PAS999
:61:1105240524D15,N426NONREF
:86:52.89.39.882 MYCOM DEN HAAG
:62M:C110524EUR1849,75
-
Ahhh.
I see the Error. https://www.abnamro.nl/en/media/AOL_Reporting_Download_Format_Book_tcm18-117090.pdf
There are different Formats for sepa and non-sepa transactions ...
Can you make this package work that the parser can parse the versions with the slashes? I guess this is the new format that is used nowadays.
Joar. I will try to fix this this night.
I already tried this with the example ABN file i found online, but this also doenst work;
...
Nope, The demo file is tested this should work. This file is the file in our tests: https://github.com/sandermarechal/jejik-mt940/blob/master/tests/Jejik/Tests/MT940/Fixture/document/abnamro.txt
And the test: https://github.com/sandermarechal/jejik-mt940/blob/master/tests/Jejik/Tests/MT940/Parser/AbnAmroTest.php
We are using your package to read the MT940 file a client is uploading. The client uses ABNAMRO. The account statements, opening, closing balances can be read.
But when we read the transactions we get the correct amount of transactions, but the transaction data is quite empty. The sample response would be something like this:
Why is all the transaction data empty? When we use
getIBAN
for example it response with an empty string.If you want to try it with a demo ABNAMRO file, you can use this string below. Its different than we use, but it also gives back a empty transaction data.