MT940 import: swift header

Derek Atkins warlord at MIT.EDU
Tue Apr 8 11:44:59 EDT 2008


Damien Perritaz <damien.perritaz at> writes:

> hello,
> i am a new user of gnucash (version 2.2.4 on windows xp) for personal 
> accounting. i import my banking data using MT940 files with two 
> different banks. one file (A) is well imported and the other (B) not. i 
> have noticed the difference between the two files. file A has no swift 
> header and begins directly with ":20:". file B has a swift header in the 
> same format as described in different places 
> (, 
> the swift header 
> consists in one line with up to four fields; the last field (preceded by 
> "{4:") begins on the following line with the usual ":20" label. note 
> that this header (and closing footer "-}") generally appear multiple times.
> is this problem already known? (someone already posted on similar 
> subject some month ago, but without acceptable solution: 
> is it possible to modify the source to take this swift header into account?
> for information, it is possible to modify file B by hand by removing 
> headers (and footers) to make the import possible. however this solution 
> is not satisfactory...

You should contact the AqBanking people.

> regards


       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL:    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available

More information about the gnucash-devel mailing list