[kmymoney] [Bug 419463] New: OFX importer fails on OFX spec 2.2 files (XML)

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Mar 31 20:23:14 BST 2020


https://bugs.kde.org/show_bug.cgi?id=419463

            Bug ID: 419463
           Summary: OFX importer fails on OFX spec 2.2 files (XML)
           Product: kmymoney
           Version: 5.0.8
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: importer
          Assignee: kmymoney-devel at kde.org
          Reporter: glyphimor at gmail.com
  Target Milestone: ---

SUMMARY

The OFX importer can't process .ofx files compliant w/ version 2.2 of the OFX
specification. These use XML, not SGML.

STEPS TO REPRODUCE

1. File -> Import -> OFX...
2. Select new .ofx file and attempt to import

OBSERVED RESULT

"Incorrect format

Unable to import file:///path/to/file.ofx using the OFX importer plugin. This
file is not the correct format."


EXPECTED RESULT

Import wizard runs normally

SOFTWARE/OS VERSIONS

KDE Plasma Version: 
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION

Just found that American Express is exporting data compliant w/ this newer
version of the OFX spec. AmeEx's old SGML format was:

OFXHEADER:100
DATA:OFXSGML
VERSION:102
SECURITY:NONE
ENCODING:USASCII
CHARSET:1252
COMPRESSION:NONE
OLDFILEUID:NONE
NEWFILEUID:NONE

<OFX><SIGNONMSGSRSV1><SONRS><STATUS><CODE>0<SEVERITY>INFO<MESSAGE>Login
successful</STATUS><DTSERVER>
...
</CREDITCARDMSGSRSV1></OFX>

--

Their new XML format is:

<?xml version="1.0" standalone="no"?>
<?OFX OFXHEADER="200" VERSION="202" SECURITY="NONE" OLDFILEUID="NONE"
NEWFILEUID="NONE"?>
<OFX xmlns:ns2="http://ofx.net/types/2003/04">
<SIGNONMSGSRSV1><SONRS><STATUS><CODE>0</CODE><SEVERITY><INFO></SEVERITY><MESSAGE>Login
Successful!</MESSAGE></STATUS><DTSERVER>
...
</CREDITCARDMSGSRSV1></OFX>

The actual transactions look the same: tags for STMTTRN, TRNTYPE, DTPOSTED,
TRNAMT, FITID, REFNUM, NAME. Although I don't see any MEMO tags.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list