add sample ofx/qfx XML files for future reference

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4055 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 2001-04-26 17:08:36 +00:00
parent 2f740f2fd0
commit d414787df2
4 changed files with 294 additions and 0 deletions

View File

@ -1,4 +1,22 @@
Guide to *.qfx Files:
---------------------
QFX is the extension given to files that contain OFX XML data.
Some banks allow users to download QFX files containing statement
data, instead of allowing the PFM to talk to the bank directly.
(Presumably, these banks block direct PFM OFX exchanges for security
reasons). The goal here is to be sure that we can import QFX files
properly.
rbc_gi.qfx
Royal Bank of Canada statement.
cibc_checking.qfx
cibc_visa.qfx
Canadian Bank of Commerce checking and visa card statements.
Note dissimilarities.
Guide to *.xac Files:
---------------------
Many of the *.xac files are from older versions of X-Accountant,
@ -25,6 +43,17 @@ taxreport.xac
Guide to QIF Files:
-------------------
QIF Files are 'quicken interchange format' files, and may com from
from a large variety of sources.
Money95*_fr.qif
QIF files for Microsoft Money95, French edition.
ms-money.qif
QIF from Microsoft Money95, US edition.
web.qif
QIF downloaded from a bank via web page
cbb-export.qif
QIF file that is exported by Olsen's CBB version 0.73

View File

@ -0,0 +1,22 @@
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>OK</STATUS><DTSERVER>20010425225109<LANGUAGE>ENG<DTPROFUP>20010425225109<DTACCTUP>20010425225109<INTU.BID>00005</SONRS></SIGNONMSGSRSV1>
<BANKMSGSRSV1><STMTTRNRS><TRNUID>20010425225109<STATUS><CODE>0<SEVERITY>INFO<MESSAGE>OK</STATUS>
<STMTRS><CURDEF>CAD<BANKACCTFROM><BANKID>600000100<ACCTID>99999 99-99999<ACCTTYPE>SAVINGS</BANKACCTFROM>
<BANKTRANLIST><DTSTART>20010312<DTEND>20010425225109
<STMTTRN><TRNTYPE>DEBIT<DTPOSTED>20010312225109.000[-5:EST]<TRNAMT>-60.00<FITID>2001030900211302<MEMO>INSTANT TELLER WITHDRAWAL;7-ELEVEN 32C1A;Automated Bank Machine</STMTTRN>
<STMTTRN><TRNTYPE>CREDIT<DTPOSTED>20010402225109.000[-5:EST]<TRNAMT>80.00<FITID>2001040201204206<MEMO>INSTANT TELLER DEPOSIT;9TH & VICTORIA 01A05;Automated Bank Machine</STMTTRN>
<STMTTRN><TRNTYPE>SRVCHG<DTPOSTED>20010331225109.000[-5:EST]<TRNAMT>-0.95<FITID>2001040201204207<MEMO>SERVICE CHARGE;In-branch banking</STMTTRN>
<STMTTRN><TRNTYPE>CREDIT<DTPOSTED>20010331225109.000[-5:EST]<TRNAMT>0.30<FITID>2001040201204208<MEMO>SERVICE CHARGE REWARDS;In-branch banking</STMTTRN>
<STMTTRN><TRNTYPE>DEBIT<DTPOSTED>20010402225109.000[-5:EST]<TRNAMT>-85.00<FITID>2001040201204209<NAME>STUDNT LOA<MEMO>PREAUTHORIZED DEBIT;STUDENT LOANS;Electronic Funds Transfer</STMTTRN>
<STMTTRN><TRNTYPE>CREDIT<DTPOSTED>20010406225109.000[-5:EST]<TRNAMT>51.25<FITID>2001040500201868<MEMO>GOV'T DEPOSIT WITH S/C CREDIT;K2 GA FE;GOVT CANADA/GOUV CANADA;Electronic Funds Transfer</STMTTRN>
<STMTTRN><TRNTYPE>DEBIT<DTPOSTED>20010409225109.000[-5:EST]<TRNAMT>-40.00<FITID>2001040900386291<MEMO>INSTANT TELLER WITHDRAWAL;7-ELEVEN 32D03;Automated Bank Machine</STMTTRN>
</BANKTRANLIST><LEDGERBAL><BALAMT>93.21<DTASOF>20010425225109</LEDGERBAL><AVAILBAL><BALAMT>93.21<DTASOF>20010425225109</AVAILBAL></STMTRS></STMTTRNRS></BANKMSGSRSV1></OFX>

View File

@ -0,0 +1,48 @@
OFXHEADER:100
DATA:OFXSGML
VERSION:102
SECURITY:NONE
ENCODING:USASCII
CHARSET:1252
COMPRESSION:NONE
OLDFILEUID:
NEWFILEUID:
<OFX><SIGNONMSGSRSV1><SONRS><STATUS>
<CODE>0<SEVERITY>INFO<MESSAGE>OK
</STATUS>
<DTSERVER>20010425225126
<USERKEY>20010425225126
<LANGUAGE>ENG
<INTU.BID>00005
</SONRS></SIGNONMSGSRSV1>
<CREDITCARDMSGSRSV1><CCSTMTTRNRS><TRNUID>20010425225126
<STATUS>
<CODE>0
<SEVERITY>INFO
<MESSAGE>OK
</STATUS>
<CCSTMTRS>
<CURDEF>CAD
<CCACCTFROM>
<ACCTID>9999999999999999
</CCACCTFROM>
<BANKTRANLIST>
<DTSTART>20010102
<DTEND>20010425
<STMTTRN><TRNTYPE>DEBIT<DTPOSTED>20010102225126.000[-5:EST]<TRNAMT>80.00<FITID>2001010201648450<NAME>**PAYMENT THANK YOU - PAIEMENT</STMTTRN>
<STMTTRN><TRNTYPE>CREDIT<DTPOSTED>20010103225126.000[-5:EST]<TRNAMT>-0.05<FITID>2001010302643560<NAME>INTEREST CHARGE</STMTTRN>
<STMTTRN><TRNTYPE>CREDIT<DTPOSTED>20010104225126.000[-5:EST]<TRNAMT>-49.06<FITID>2001010401456294<NAME>CDN TIRE GASBAR #01890 BRANDO</STMTTRN>
<STMTTRN><TRNTYPE>CREDIT<DTPOSTED>20010109225126.000[-5:EST]<TRNAMT>-840.30<FITID>2001010902134778<NAME>BEN MOSS JEWELLERS #14 BRANDO</STMTTRN>
<STMTTRN><TRNTYPE>CREDIT<DTPOSTED>20010117225126.000[-5:EST]<TRNAMT>-61.16<FITID>2001011701314775<NAME>CDN TIRE GASBAR #01890 BRANDO</STMTTRN>
<STMTTRN><TRNTYPE>CREDIT<DTPOSTED>20010124225126.000[-5:EST]<TRNAMT>-41.48<FITID>2001012401273237<NAME>CDN TIRE GASBAR #01890 BRANDO</STMTTRN>
<STMTTRN><TRNTYPE>DEBIT<DTPOSTED>20010202225126.000[-5:EST]<TRNAMT>200.00<FITID>2001020201277210<NAME>**PAYMENT THANK YOU - PAIEMENT</STMTTRN>
<STMTTRN><TRNTYPE>CREDIT<DTPOSTED>20010202225126.000[-5:EST]<TRNAMT>-3.59<FITID>2001020201277211<NAME>INTEREST CHARGE</STMTTRN>
<STMTTRN><TRNTYPE>DEBIT<DTPOSTED>20010205225126.000[-5:EST]<TRNAMT>20.00<FITID>2001020501355608<NAME>**PAYMENT THANK YOU - PAIEMENT</STMTTRN>
<STMTTRN><TRNTYPE>DEBIT<DTPOSTED>20010214225126.000[-5:EST]<TRNAMT>120.00<FITID>2001021401397161<NAME>**PAYMENT THANK YOU - PAIEMENT</STMTTRN>
<STMTTRN><TRNTYPE>CREDIT<DTPOSTED>20010302225126.000[-5:EST]<TRNAMT>-14.24<FITID>2001030201312497<NAME>INTEREST CHARGE</STMTTRN>
<STMTTRN><TRNTYPE>DEBIT<DTPOSTED>20010306225126.000[-5:EST]<TRNAMT>380.00<FITID>2001030602287753<NAME>**PAYMENT THANK YOU - PAIEMENT</STMTTRN>
<STMTTRN><TRNTYPE>DEBIT<DTPOSTED>20010306225126.000[-5:EST]<TRNAMT>0.11<FITID>2001030602287754<NAME>INTEREST REVERSAL</STMTTRN>
<STMTTRN><TRNTYPE>CREDIT<DTPOSTED>20010403225126.000[-5:EST]<TRNAMT>-4.67<FITID>2001040302607160<NAME>INTEREST CHARGE</STMTTRN>
<STMTTRN><TRNTYPE>DEBIT<DTPOSTED>20010420225126.000[-5:EST]<TRNAMT>25.00<FITID>2001042001113668<NAME>**PAYMENT THANK YOU - PAIEMENT</STMTTRN>
</BANKTRANLIST><LEDGERBAL><BALAMT>-487.00<DTASOF>20010425225126</LEDGERBAL><AVAILBAL><BALAMT>-487.00<DTASOF>20010425225126</AVAILBAL></CCSTMTRS></CCSTMTTRNRS></CREDITCARDMSGSRSV1></OFX>

195
doc/examples/rbc_gi.qfx Normal file
View File

@ -0,0 +1,195 @@
OFXHEADER:100
DATA:OFXSGML
VERSION:102
SECURITY:TYPE1
ENCODING:USASCII
CHARSET:1252
COMPRESSION:NONE
OLDFILEUID:NONE
NEWFILEUID:NONE
<OFX>
<SIGNONMSGSRSV1>
<SONRS>
<STATUS>
<CODE>0
<SEVERITY>INFO
<MESSAGE>OK
</STATUS>
<DTSERVER>20010425214635[-8]
<LANGUAGE>ENG
<INTU.BID>00015
</SONRS>
</SIGNONMSGSRSV1>
<BANKMSGSRSV1>
<STMTTRNRS>
<TRNUID>C001008075031596
<STATUS>
<CODE>0
<SEVERITY>INFO
<MESSAGE>OK
</STATUS>
<STMTRS>
<CURDEF>CAD
<BANKACCTFROM>
<BANKID>900000100
<ACCTID>999999999999
<ACCTTYPE>CHECKING
</BANKACCTFROM>
<BANKTRANLIST>
<DTSTART>20010312120000[-8]
<DTEND>20010423120000[-8]
<STMTTRN>
<TRNTYPE>ATM
<DTPOSTED>20010312120000[-8]
<TRNAMT>-68.39
<FITID>90000010020010312C00117505B19
<NAME>Payment
<MEMO>PTB PMT -- WA659731
</STMTTRN>
<STMTTRN>
<TRNTYPE>ATM
<DTPOSTED>20010319120000[-8]
<TRNAMT>508.91
<FITID>90000010020010319C0016CC27A90
<NAME>Deposit
<MEMO>PTB DEP -- WA648838
</STMTTRN>
<STMTTRN>
<TRNTYPE>ATM
<DTPOSTED>20010319120000[-8]
<TRNAMT>-40.00
<FITID>90000010020010319C0019CF7D625
<NAME>Withdrawal
<MEMO>PTB WD --- WC726443
</STMTTRN>
<STMTTRN>
<TRNTYPE>ATM
<DTPOSTED>20010402120000[-8]
<TRNAMT>519.66
<FITID>90000010020010402C00103C29B3B
<NAME>Deposit
<MEMO>PTB DEP -- WA717378
</STMTTRN>
<STMTTRN>
<TRNTYPE>ATM
<DTPOSTED>20010402120000[-8]
<TRNAMT>-140.00
<FITID>90000010020010402C0015BA171D3
<NAME>Withdrawal
<MEMO>PTB WD --- WA644736
</STMTTRN>
<STMTTRN>
<TRNTYPE>POS
<DTPOSTED>20010402120000[-8]
<TRNAMT>-12.94
<FITID>90000010020010402C0011D9648D0
<NAME>REAL CDN SUPERS
<MEMO>IDP PURCHASE - 9766
</STMTTRN>
<STMTTRN>
<TRNTYPE>POS
<DTPOSTED>20010402120000[-8]
<TRNAMT>-35.00
<FITID>90000010020010402C00124120DCF
<NAME>DRIVER &amp; VEHICL
<MEMO>IDP PURCHASE - 8723
</STMTTRN>
<STMTTRN>
<TRNTYPE>DEBIT
<DTPOSTED>20010402120000[-8]
<TRNAMT>-63.00
<FITID>90000010020010402C001582CDBA3
<NAME>LOAN PAYMENT
</STMTTRN>
<STMTTRN>
<TRNTYPE>DEBIT
<DTPOSTED>20010402120000[-8]
<TRNAMT>-98.00
<FITID>90000010020010402C001E661FF8A
<NAME>LOAN PAYMENT
</STMTTRN>
<STMTTRN>
<TRNTYPE>CHECK
<DTPOSTED>20010403120000[-8]
<TRNAMT>-375.00
<FITID>90000010020010403C0018F8E9C5B
<CHECKNUM>000002
<NAME>CHEQUE - # 002
</STMTTRN>
<STMTTRN>
<TRNTYPE>POS
<DTPOSTED>20010404120000[-8]
<TRNAMT>-62.08
<FITID>90000010020010404C0012F20EFA7
<NAME>GAS BAR #1715
<MEMO>IDP PURCHASE - 9764
</STMTTRN>
<STMTTRN>
<TRNTYPE>DEBIT
<DTPOSTED>20010406120000[-8]
<TRNAMT>-4.00
<FITID>90000010020010406C001E17F6344
<NAME>MONTHLY FEE
</STMTTRN>
<STMTTRN>
<TRNTYPE>ATM
<DTPOSTED>20010409120000[-8]
<TRNAMT>-30.58
<FITID>90000010020010409C001023F8B64
<NAME>Payment
<MEMO>PTB PMT -- WA672823
</STMTTRN>
<STMTTRN>
<TRNTYPE>ATM
<DTPOSTED>20010416120000[-8]
<TRNAMT>519.66
<FITID>90000010020010416C0010F5C7702
<NAME>Deposit
<MEMO>PTB DEP -- WA641813
</STMTTRN>
<STMTTRN>
<TRNTYPE>POS
<DTPOSTED>20010417120000[-8]
<TRNAMT>-24.93
<FITID>90000010020010417C00154052E33
<NAME>CANADA SAFEWAY
<MEMO>IDP PURCHASE - 0642
</STMTTRN>
<STMTTRN>
<TRNTYPE>POS
<DTPOSTED>20010419120000[-8]
<TRNAMT>-12.72
<FITID>90000010020010419C0011826E634
<NAME>WENDY'S RESTAUR
<MEMO>IDP PURCHASE - 8845
</STMTTRN>
<STMTTRN>
<TRNTYPE>POS
<DTPOSTED>20010423120000[-8]
<TRNAMT>-17.32
<FITID>90000010020010423C00129E32AB7
<NAME>WESTEND IGA
<MEMO>IDP PURCHASE - 2585
</STMTTRN>
<STMTTRN>
<TRNTYPE>POS
<DTPOSTED>20010423120000[-8]
<TRNAMT>-90.38
<FITID>90000010020010423C00108BF8596
<NAME>REAL CDN SUPERS
<MEMO>IDP PURCHASE - 0991
</STMTTRN>
</BANKTRANLIST>
<LEDGERBAL>
<BALAMT>1010.86
<DTASOF>20010424
</LEDGERBAL>
<AVAILBAL>
<BALAMT>1010.86
<DTASOF>20010424
</AVAILBAL>
</STMTRS>
</STMTTRNRS>
</BANKMSGSRSV1>
</OFX>