MT940 import: swift header

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


Hi,

Damien Perritaz <damien.perritaz at bluewin.ch> 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 
> (http://srd.tcg-net.com/Documentation/MT940/MT940_sample.htm, 
> martin.hinner.info/bankconvert/swift_mt940_942.pdf). 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: 
> http://lists.gnucash.org/pipermail/gnucash-devel/2006-September/018601.html).
>
> 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

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


More information about the gnucash-devel mailing list