salt-parser 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +11 -0
  3. data/.rspec +1 -0
  4. data/Gemfile +15 -0
  5. data/Gemfile.lock +88 -0
  6. data/README.rdoc +39 -0
  7. data/Rakefile +7 -0
  8. data/lib/ofx/account.rb +28 -0
  9. data/lib/ofx/accounts.rb +9 -0
  10. data/lib/ofx/balance.rb +15 -0
  11. data/lib/ofx/builder.rb +61 -0
  12. data/lib/ofx/dependencies.rb +13 -0
  13. data/lib/ofx/parser/base.rb +366 -0
  14. data/lib/ofx/parser/ofx102.rb +28 -0
  15. data/lib/ofx/parser/ofx211.rb +21 -0
  16. data/lib/ofx/sign_on.rb +18 -0
  17. data/lib/ofx/transaction.rb +28 -0
  18. data/lib/qif/account.rb +19 -0
  19. data/lib/qif/accounts.rb +54 -0
  20. data/lib/qif/builder.rb +37 -0
  21. data/lib/qif/dependencies.rb +8 -0
  22. data/lib/qif/parser.rb +68 -0
  23. data/lib/qif/transaction.rb +28 -0
  24. data/lib/salt-parser/accounts.rb +11 -0
  25. data/lib/salt-parser/base.rb +19 -0
  26. data/lib/salt-parser/builder.rb +24 -0
  27. data/lib/salt-parser/errors.rb +14 -0
  28. data/lib/salt-parser/version.rb +8 -0
  29. data/salt-parser.gemspec +24 -0
  30. data/spec/ofx/account_spec.rb +97 -0
  31. data/spec/ofx/accounts_response_spec.rb +45 -0
  32. data/spec/ofx/accounts_spec.rb +34 -0
  33. data/spec/ofx/balance_spec.rb +32 -0
  34. data/spec/ofx/builder_spec.rb +136 -0
  35. data/spec/ofx/error_request_spec.rb +37 -0
  36. data/spec/ofx/fixtures/accounts_partial.ofx +52 -0
  37. data/spec/ofx/fixtures/accounts_request.ofx +11 -0
  38. data/spec/ofx/fixtures/accounts_response.ofx +109 -0
  39. data/spec/ofx/fixtures/avatar.gif +0 -0
  40. data/spec/ofx/fixtures/bb.ofx +700 -0
  41. data/spec/ofx/fixtures/credit_card_response.ofx +52 -0
  42. data/spec/ofx/fixtures/creditcard.ofx +79 -0
  43. data/spec/ofx/fixtures/creditcard_transactions_request.ofx +11 -0
  44. data/spec/ofx/fixtures/creditcards_partial.ofx +85 -0
  45. data/spec/ofx/fixtures/date_missing.ofx +73 -0
  46. data/spec/ofx/fixtures/empty_balance.ofx +44 -0
  47. data/spec/ofx/fixtures/invalid_version.ofx +308 -0
  48. data/spec/ofx/fixtures/investment_transactions_response.ofx +108 -0
  49. data/spec/ofx/fixtures/investment_transactions_response2.ofx +200 -0
  50. data/spec/ofx/fixtures/investments_with_mkval.ofx +99 -0
  51. data/spec/ofx/fixtures/missing_headers.ofx +47 -0
  52. data/spec/ofx/fixtures/mixed_accountinfo_response.ofx +58 -0
  53. data/spec/ofx/fixtures/ms_money.ofx +52 -0
  54. data/spec/ofx/fixtures/request_error.ofx +39 -0
  55. data/spec/ofx/fixtures/request_error2.ofx +39 -0
  56. data/spec/ofx/fixtures/request_error3.ofx +36 -0
  57. data/spec/ofx/fixtures/sample_examples/sample_401K_loan.qfx +651 -0
  58. data/spec/ofx/fixtures/sample_examples/sample_banking.qbo +258 -0
  59. data/spec/ofx/fixtures/sample_examples/sample_banking.qfx +258 -0
  60. data/spec/ofx/fixtures/sample_examples/sample_banking_multiacct.qfx +284 -0
  61. data/spec/ofx/fixtures/sample_examples/sample_credit_card.qfx +257 -0
  62. data/spec/ofx/fixtures/sample_examples/sample_investment.qfx +654 -0
  63. data/spec/ofx/fixtures/transactions_empty.ofx +60 -0
  64. data/spec/ofx/fixtures/utf8.ofx +65 -0
  65. data/spec/ofx/fixtures/v102.ofx +314 -0
  66. data/spec/ofx/fixtures/v202.ofx +22 -0
  67. data/spec/ofx/fixtures/v211.ofx +85 -0
  68. data/spec/ofx/investment_accounts_spec.rb +70 -0
  69. data/spec/ofx/ofx102_spec.rb +44 -0
  70. data/spec/ofx/ofx211_spec.rb +68 -0
  71. data/spec/ofx/ofx_parser_spec.rb +100 -0
  72. data/spec/ofx/sign_on_spec.rb +49 -0
  73. data/spec/ofx/transaction_spec.rb +157 -0
  74. data/spec/qif/account_spec.rb +42 -0
  75. data/spec/qif/fixtures/3_records_ddmmyy.qif +19 -0
  76. data/spec/qif/fixtures/3_records_ddmmyyyy.qif +19 -0
  77. data/spec/qif/fixtures/3_records_dmyy.qif +19 -0
  78. data/spec/qif/fixtures/3_records_invalid_header.qif +20 -0
  79. data/spec/qif/fixtures/3_records_mdyy.qif +19 -0
  80. data/spec/qif/fixtures/3_records_mmddyy.qif +19 -0
  81. data/spec/qif/fixtures/3_records_mmddyyyy.qif +19 -0
  82. data/spec/qif/fixtures/3_records_spaced.qif +19 -0
  83. data/spec/qif/fixtures/bank_account.qif +19 -0
  84. data/spec/qif/fixtures/empty_body.qif +1 -0
  85. data/spec/qif/fixtures/empty_header.qif +18 -0
  86. data/spec/qif/fixtures/incompatible_date_formats.qif +13 -0
  87. data/spec/qif/fixtures/invalid_date_format.qif +7 -0
  88. data/spec/qif/fixtures/not_a_QIF_file.txt +3 -0
  89. data/spec/qif/fixtures/quicken_non_investement_account.qif +30 -0
  90. data/spec/qif/fixtures/unknown_account.qif +20 -0
  91. data/spec/qif/fixtures/various_date_format.qif +19 -0
  92. data/spec/qif/fixtures/with_categories_list.qif +8669 -0
  93. data/spec/qif/parser_spec.rb +156 -0
  94. data/spec/qif/transaction_spec.rb +18 -0
  95. data/spec/spec_helper.rb +37 -0
  96. data/spec/support/fixture.rb +9 -0
  97. metadata +208 -0
@@ -0,0 +1,258 @@
1
+ OFXHEADER: 100
2
+ DATA: OFXSGML
3
+ VERSION: 102
4
+ SECURITY: NONE
5
+ ENCODING: USASCII
6
+ CHARSET: 1252
7
+ COMPRESSION: NONE
8
+ OLDFILEUID: NONE
9
+ NEWFILEUID: NONE
10
+
11
+ <OFX>
12
+ <SIGNONMSGSRSV1>
13
+ <SONRS>
14
+ <STATUS>
15
+ <CODE>0
16
+ <SEVERITY>INFO
17
+ <MESSAGE>SUCCESS
18
+ </STATUS>
19
+ <DTSERVER>20060101230000.000[-5:EST]
20
+ <LANGUAGE>ENG
21
+ <FI>
22
+ <ORG>Intuit Test Bank
23
+ <FID>5680
24
+ </FI>
25
+ <INTU.BID>5680
26
+ <INTU.USERID>USERID
27
+ </SONRS>
28
+ </SIGNONMSGSRSV1>
29
+ <BANKMSGSRSV1>
30
+ <STMTTRNRS>
31
+ <TRNUID>0
32
+ <STATUS>
33
+ <CODE>0
34
+ <SEVERITY>INFO
35
+ </STATUS>
36
+ <STMTRS>
37
+ <CURDEF>USD
38
+ <BANKACCTFROM>
39
+ <BANKID>123456789
40
+ <ACCTID>989898989
41
+ <ACCTTYPE>CHECKING
42
+ </BANKACCTFROM>
43
+ <BANKTRANLIST>
44
+ <DTSTART>20050101000000.000[-5:EST]
45
+ <DTEND>20060101000000.000[-5:EST]
46
+ <STMTTRN>
47
+ <TRNTYPE>ATM
48
+ <DTPOSTED>20050101000000.000[-5:EST]
49
+ <DTUSER>20050101000000.000[-5:EST]
50
+ <TRNAMT>500.00
51
+ <FITID>2005010100000000012345
52
+ <NAME>ATM Deposit
53
+ <MEMO>Detailed description for an ATM Deposit Transaction
54
+ </STMTTRN>
55
+ <STMTTRN>
56
+ <TRNTYPE>ATM
57
+ <DTPOSTED>20050102000000.000[-5:EST]
58
+ <DTUSER>20050102000000.000[-5:EST]
59
+ <TRNAMT>-45.95
60
+ <FITID>2005010200000000012345
61
+ <NAME>ATM Withdrawl
62
+ <MEMO>Detailed description for an ATM Withdrawl Transaction
63
+ </STMTTRN>
64
+ <STMTTRN>
65
+ <TRNTYPE>CASH
66
+ <DTPOSTED>20050103000000.000[-5:EST]
67
+ <DTUSER>20050103000000.000[-5:EST]
68
+ <TRNAMT>-25.78
69
+ <FITID>2005010300000000012345
70
+ <NAME>Cash Withdrawl
71
+ <MEMO>Detailed description for a Cash Withdrawl transaction
72
+ </STMTTRN>
73
+ <STMTTRN>
74
+ <TRNTYPE>CHECK
75
+ <DTPOSTED>20050104000000.000[-5:EST]
76
+ <DTUSER>20050104000000.000[-5:EST]
77
+ <TRNAMT>-127.04
78
+ <FITID>2005010400000000012345
79
+ <CHECKNUM>101
80
+ <NAME>John Smith
81
+ <MEMO>Detailed description for a Check transaction
82
+ </STMTTRN>
83
+ <STMTTRN>
84
+ <TRNTYPE>CREDIT
85
+ <DTPOSTED>20050105000000.000[-5:EST]
86
+ <DTUSER>20050105000000.000[-5:EST]
87
+ <TRNAMT>2.00
88
+ <FITID>2005010500000000012341
89
+ <NAME>Generic Credit
90
+ <MEMO>Detailed description for a Generic Credit transaction
91
+ </STMTTRN>
92
+ <STMTTRN>
93
+ <TRNTYPE>DEBIT
94
+ <DTPOSTED>20050105000000.000[-5:EST]
95
+ <DTUSER>20050105000000.000[-5:EST]
96
+ <TRNAMT>-2.00
97
+ <FITID>2005010500000000012342
98
+ <NAME>Generic Debit
99
+ <MEMO>Detailed description for a Generic Debit transaction
100
+ </STMTTRN>
101
+ <STMTTRN>
102
+ <TRNTYPE>DEP
103
+ <DTPOSTED>20050106000000.000[-5:EST]
104
+ <DTUSER>20050106000000.000[-5:EST]
105
+ <TRNAMT>81923.99
106
+ <FITID>2005010600000000012345
107
+ <NAME>Deposit
108
+ <MEMO>Detailed description for a Deposit transaction
109
+ </STMTTRN>
110
+ <STMTTRN>
111
+ <TRNTYPE>DIRECTDEBIT
112
+ <DTPOSTED>20050107000000.000[-5:EST]
113
+ <DTUSER>20050107000000.000[-5:EST]
114
+ <TRNAMT>-298.29
115
+ <FITID>2005010700000000012345
116
+ <NAME>Merchant Initiated Debit
117
+ <MEMO>Detailed description for a Direct Debit transaction
118
+ </STMTTRN>
119
+ <STMTTRN>
120
+ <TRNTYPE>DIRECTDEP
121
+ <DTPOSTED>20050107000000.000[-5:EST]
122
+ <DTUSER>20050107000000.000[-5:EST]
123
+ <TRNAMT>2368.05
124
+ <FITID>2005010700000000012346
125
+ <NAME>Direct Deposit
126
+ <MEMO>Detailed description for a Direct Deposit transaction
127
+ </STMTTRN>
128
+ <STMTTRN>
129
+ <TRNTYPE>DIV
130
+ <DTPOSTED>20050108000000.000[-5:EST]
131
+ <DTUSER>20050108000000.000[-5:EST]
132
+ <TRNAMT>0.87
133
+ <FITID>2005010800000000012345
134
+ <NAME>Dividend
135
+ <MEMO>Detailed description for a Dividend transaction
136
+ </STMTTRN>
137
+ <STMTTRN>
138
+ <TRNTYPE>FEE
139
+ <DTPOSTED>20050109000000.000[-5:EST]
140
+ <DTUSER>20050109000000.000[-5:EST]
141
+ <TRNAMT>-4.95
142
+ <FITID>2005010900000000012345
143
+ <NAME>Financial Institution Fee
144
+ <MEMO>Detailed description for a Fee transaction
145
+ </STMTTRN>
146
+ <STMTTRN>
147
+ <TRNTYPE>INT
148
+ <DTPOSTED>20050201000000.000[-5:EST]
149
+ <DTUSER>20050201000000.000[-5:EST]
150
+ <TRNAMT>0.98
151
+ <FITID>2005020100000000012345
152
+ <NAME>Interest Earned
153
+ <MEMO>Detailed description for an Interest Earned transaction
154
+ </STMTTRN>
155
+ <STMTTRN>
156
+ <TRNTYPE>INT
157
+ <DTPOSTED>20050201000000.000[-5:EST]
158
+ <DTUSER>20050201000000.000[-5:EST]
159
+ <TRNAMT>-0.98
160
+ <FITID>2005020100000000054321
161
+ <NAME>Interest Paid
162
+ <MEMO>Detailed description for an Interest Paid transaction
163
+ </STMTTRN>
164
+ <STMTTRN>
165
+ <TRNTYPE>OTHER
166
+ <DTPOSTED>20050202000000.000[-5:EST]
167
+ <DTUSER>20050202000000.000[-5:EST]
168
+ <TRNAMT>-1218.01
169
+ <FITID>2005020200000000012345
170
+ <NAME>Debit transaction (Other)
171
+ <MEMO>Detailed description for an Other debit transaction
172
+ </STMTTRN>
173
+ <STMTTRN>
174
+ <TRNTYPE>OTHER
175
+ <DTPOSTED>20050202000000.000[-5:EST]
176
+ <DTUSER>20050202000000.000[-5:EST]
177
+ <TRNAMT>1218.01
178
+ <FITID>2005020200000000012346
179
+ <NAME>Credit transaction (Other)
180
+ <MEMO>Detailed description for an Other credit transaction
181
+ </STMTTRN>
182
+ <STMTTRN>
183
+ <TRNTYPE>PAYMENT
184
+ <DTPOSTED>20050205000000.000[-5:EST]
185
+ <DTUSER>20050205000000.000[-5:EST]
186
+ <TRNAMT>-724.09
187
+ <FITID>2005020500000000012345
188
+ <CHECKNUM>29705
189
+ <NAME>Electronic Payment
190
+ <MEMO>Detailed description for an Electronic Payment transaction
191
+ </STMTTRN>
192
+ <STMTTRN>
193
+ <TRNTYPE>POS
194
+ <DTPOSTED>20050206000000.000[-5:EST]
195
+ <DTUSER>20050206000000.000[-5:EST]
196
+ <TRNAMT>17.80
197
+ <FITID>2005020600000000012342
198
+ <NAME>Point of Sale Credit
199
+ <MEMO>Detailed description for a Point of sale credit transaction
200
+ </STMTTRN>
201
+ <STMTTRN>
202
+ <TRNTYPE>POS
203
+ <DTPOSTED>20050206000000.000[-5:EST]
204
+ <DTUSER>20050206000000.000[-5:EST]
205
+ <TRNAMT>-17.80
206
+ <FITID>2005020600000000012341
207
+ <NAME>Point of Sale Debit
208
+ <MEMO>Detailed description for a Point of sale debit transaction
209
+ </STMTTRN>
210
+ <STMTTRN>
211
+ <TRNTYPE>REPEATPMT
212
+ <DTPOSTED>20050207000000.000[-5:EST]
213
+ <DTUSER>20050207000000.000[-5:EST]
214
+ <TRNAMT>-121.35
215
+ <FITID>2005020700000000012345
216
+ <NAME>Repeating Pmt/standing order
217
+ <MEMO>Description for a Repeating payment/standing order transaction
218
+ </STMTTRN>
219
+ <STMTTRN>
220
+ <TRNTYPE>SRVCHG
221
+ <DTPOSTED>20050208000000.000[-5:EST]
222
+ <DTUSER>20050208000000.000[-5:EST]
223
+ <TRNAMT>-3.95
224
+ <FITID>2005020800000000012345
225
+ <NAME>Service Charge
226
+ <MEMO>Detailed description for a Service Charge transaction
227
+ </STMTTRN>
228
+ <STMTTRN>
229
+ <TRNTYPE>XFER
230
+ <DTPOSTED>20050209000000.000[-5:EST]
231
+ <DTUSER>20050209000000.000[-5:EST]
232
+ <TRNAMT>1.01
233
+ <FITID>2005020900000000012345
234
+ <NAME>Transfer from Acct #12345678
235
+ <MEMO>Detailed description for a Transfer in transaction
236
+ </STMTTRN>
237
+ <STMTTRN>
238
+ <TRNTYPE>XFER
239
+ <DTPOSTED>20050209000000.000[-5:EST]
240
+ <DTUSER>20050209000000.000[-5:EST]
241
+ <TRNAMT>-1.01
242
+ <FITID>2005020900000000012346
243
+ <NAME>Transfer to Acct #12345678
244
+ <MEMO>Detailed description for a Transfer out transaction
245
+ </STMTTRN>
246
+ </BANKTRANLIST>
247
+ <LEDGERBAL>
248
+ <BALAMT>83441.51
249
+ <DTASOF>20060101230000.000[-5:EST]
250
+ </LEDGERBAL>
251
+ <AVAILBAL>
252
+ <BALAMT>83441.51
253
+ <DTASOF>20060101230000.000[-5:EST]
254
+ </AVAILBAL>
255
+ </STMTRS>
256
+ </STMTTRNRS>
257
+ </BANKMSGSRSV1>
258
+ </OFX>
@@ -0,0 +1,258 @@
1
+ OFXHEADER: 100
2
+ DATA: OFXSGML
3
+ VERSION: 102
4
+ SECURITY: NONE
5
+ ENCODING: USASCII
6
+ CHARSET: 1252
7
+ COMPRESSION: NONE
8
+ OLDFILEUID: NONE
9
+ NEWFILEUID: NONE
10
+
11
+ <OFX>
12
+ <SIGNONMSGSRSV1>
13
+ <SONRS>
14
+ <STATUS>
15
+ <CODE>0
16
+ <SEVERITY>INFO
17
+ <MESSAGE>SUCCESS
18
+ </STATUS>
19
+ <DTSERVER>20060101230000.000[-5:EST]
20
+ <LANGUAGE>ENG
21
+ <FI>
22
+ <ORG>Intuit Test Bank
23
+ <FID>5680
24
+ </FI>
25
+ <INTU.BID>5680
26
+ <INTU.USERID>USERID
27
+ </SONRS>
28
+ </SIGNONMSGSRSV1>
29
+ <BANKMSGSRSV1>
30
+ <STMTTRNRS>
31
+ <TRNUID>0
32
+ <STATUS>
33
+ <CODE>0
34
+ <SEVERITY>INFO
35
+ </STATUS>
36
+ <STMTRS>
37
+ <CURDEF>USD
38
+ <BANKACCTFROM>
39
+ <BANKID>123456789
40
+ <ACCTID>989898989
41
+ <ACCTTYPE>CHECKING
42
+ </BANKACCTFROM>
43
+ <BANKTRANLIST>
44
+ <DTSTART>20050101000000.000[-5:EST]
45
+ <DTEND>20060101000000.000[-5:EST]
46
+ <STMTTRN>
47
+ <TRNTYPE>ATM
48
+ <DTPOSTED>20050101000000.000[-5:EST]
49
+ <DTUSER>20050101000000.000[-5:EST]
50
+ <TRNAMT>500.00
51
+ <FITID>2005010100000000012345
52
+ <NAME>ATM Deposit
53
+ <MEMO>Detailed description for an ATM Deposit Transaction
54
+ </STMTTRN>
55
+ <STMTTRN>
56
+ <TRNTYPE>ATM
57
+ <DTPOSTED>20050102000000.000[-5:EST]
58
+ <DTUSER>20050102000000.000[-5:EST]
59
+ <TRNAMT>-45.95
60
+ <FITID>2005010200000000012345
61
+ <NAME>ATM Withdrawl
62
+ <MEMO>Detailed description for an ATM Withdrawl Transaction
63
+ </STMTTRN>
64
+ <STMTTRN>
65
+ <TRNTYPE>CASH
66
+ <DTPOSTED>20050103000000.000[-5:EST]
67
+ <DTUSER>20050103000000.000[-5:EST]
68
+ <TRNAMT>-25.78
69
+ <FITID>2005010300000000012345
70
+ <NAME>Cash Withdrawl
71
+ <MEMO>Detailed description for a Cash Withdrawl transaction
72
+ </STMTTRN>
73
+ <STMTTRN>
74
+ <TRNTYPE>CHECK
75
+ <DTPOSTED>20050104000000.000[-5:EST]
76
+ <DTUSER>20050104000000.000[-5:EST]
77
+ <TRNAMT>-127.04
78
+ <FITID>2005010400000000012345
79
+ <CHECKNUM>101
80
+ <NAME>John Smith
81
+ <MEMO>Detailed description for a Check transaction
82
+ </STMTTRN>
83
+ <STMTTRN>
84
+ <TRNTYPE>CREDIT
85
+ <DTPOSTED>20050105000000.000[-5:EST]
86
+ <DTUSER>20050105000000.000[-5:EST]
87
+ <TRNAMT>2.00
88
+ <FITID>2005010500000000012341
89
+ <NAME>Generic Credit
90
+ <MEMO>Detailed description for a Generic Credit transaction
91
+ </STMTTRN>
92
+ <STMTTRN>
93
+ <TRNTYPE>DEBIT
94
+ <DTPOSTED>20050105000000.000[-5:EST]
95
+ <DTUSER>20050105000000.000[-5:EST]
96
+ <TRNAMT>-2.00
97
+ <FITID>2005010500000000012342
98
+ <NAME>Generic Debit
99
+ <MEMO>Detailed description for a Generic Debit transaction
100
+ </STMTTRN>
101
+ <STMTTRN>
102
+ <TRNTYPE>DEP
103
+ <DTPOSTED>20050106000000.000[-5:EST]
104
+ <DTUSER>20050106000000.000[-5:EST]
105
+ <TRNAMT>81923.99
106
+ <FITID>2005010600000000012345
107
+ <NAME>Deposit
108
+ <MEMO>Detailed description for a Deposit transaction
109
+ </STMTTRN>
110
+ <STMTTRN>
111
+ <TRNTYPE>DIRECTDEBIT
112
+ <DTPOSTED>20050107000000.000[-5:EST]
113
+ <DTUSER>20050107000000.000[-5:EST]
114
+ <TRNAMT>-298.29
115
+ <FITID>2005010700000000012345
116
+ <NAME>Merchant Initiated Debit
117
+ <MEMO>Detailed description for a Direct Debit transaction
118
+ </STMTTRN>
119
+ <STMTTRN>
120
+ <TRNTYPE>DIRECTDEP
121
+ <DTPOSTED>20050107000000.000[-5:EST]
122
+ <DTUSER>20050107000000.000[-5:EST]
123
+ <TRNAMT>2368.05
124
+ <FITID>2005010700000000012346
125
+ <NAME>Direct Deposit
126
+ <MEMO>Detailed description for a Direct Deposit transaction
127
+ </STMTTRN>
128
+ <STMTTRN>
129
+ <TRNTYPE>DIV
130
+ <DTPOSTED>20050108000000.000[-5:EST]
131
+ <DTUSER>20050108000000.000[-5:EST]
132
+ <TRNAMT>0.87
133
+ <FITID>2005010800000000012345
134
+ <NAME>Dividend
135
+ <MEMO>Detailed description for a Dividend transaction
136
+ </STMTTRN>
137
+ <STMTTRN>
138
+ <TRNTYPE>FEE
139
+ <DTPOSTED>20050109000000.000[-5:EST]
140
+ <DTUSER>20050109000000.000[-5:EST]
141
+ <TRNAMT>-4.95
142
+ <FITID>2005010900000000012345
143
+ <NAME>Financial Institution Fee
144
+ <MEMO>Detailed description for a Fee transaction
145
+ </STMTTRN>
146
+ <STMTTRN>
147
+ <TRNTYPE>INT
148
+ <DTPOSTED>20050201000000.000[-5:EST]
149
+ <DTUSER>20050201000000.000[-5:EST]
150
+ <TRNAMT>0.98
151
+ <FITID>2005020100000000012345
152
+ <NAME>Interest Earned
153
+ <MEMO>Detailed description for an Interest Earned transaction
154
+ </STMTTRN>
155
+ <STMTTRN>
156
+ <TRNTYPE>INT
157
+ <DTPOSTED>20050201000000.000[-5:EST]
158
+ <DTUSER>20050201000000.000[-5:EST]
159
+ <TRNAMT>-0.98
160
+ <FITID>2005020100000000054321
161
+ <NAME>Interest Paid
162
+ <MEMO>Detailed description for an Interest Paid transaction
163
+ </STMTTRN>
164
+ <STMTTRN>
165
+ <TRNTYPE>OTHER
166
+ <DTPOSTED>20050202000000.000[-5:EST]
167
+ <DTUSER>20050202000000.000[-5:EST]
168
+ <TRNAMT>-1218.01
169
+ <FITID>2005020200000000012345
170
+ <NAME>Debit transaction (Other)
171
+ <MEMO>Detailed description for an Other debit transaction
172
+ </STMTTRN>
173
+ <STMTTRN>
174
+ <TRNTYPE>OTHER
175
+ <DTPOSTED>20050202000000.000[-5:EST]
176
+ <DTUSER>20050202000000.000[-5:EST]
177
+ <TRNAMT>1218.01
178
+ <FITID>2005020200000000012346
179
+ <NAME>Credit transaction (Other)
180
+ <MEMO>Detailed description for an Other credit transaction
181
+ </STMTTRN>
182
+ <STMTTRN>
183
+ <TRNTYPE>PAYMENT
184
+ <DTPOSTED>20050205000000.000[-5:EST]
185
+ <DTUSER>20050205000000.000[-5:EST]
186
+ <TRNAMT>-724.09
187
+ <FITID>2005020500000000012345
188
+ <CHECKNUM>29705
189
+ <NAME>Electronic Payment
190
+ <MEMO>Detailed description for an Electronic Payment transaction
191
+ </STMTTRN>
192
+ <STMTTRN>
193
+ <TRNTYPE>POS
194
+ <DTPOSTED>20050206000000.000[-5:EST]
195
+ <DTUSER>20050206000000.000[-5:EST]
196
+ <TRNAMT>17.80
197
+ <FITID>2005020600000000012342
198
+ <NAME>Point of Sale Credit
199
+ <MEMO>Detailed description for a Point of sale credit transaction
200
+ </STMTTRN>
201
+ <STMTTRN>
202
+ <TRNTYPE>POS
203
+ <DTPOSTED>20050206000000.000[-5:EST]
204
+ <DTUSER>20050206000000.000[-5:EST]
205
+ <TRNAMT>-17.80
206
+ <FITID>2005020600000000012341
207
+ <NAME>Point of Sale Debit
208
+ <MEMO>Detailed description for a Point of sale debit transaction
209
+ </STMTTRN>
210
+ <STMTTRN>
211
+ <TRNTYPE>REPEATPMT
212
+ <DTPOSTED>20050207000000.000[-5:EST]
213
+ <DTUSER>20050207000000.000[-5:EST]
214
+ <TRNAMT>-121.35
215
+ <FITID>2005020700000000012345
216
+ <NAME>Repeating Pmt/standing order
217
+ <MEMO>Description for a Repeating payment/standing order transaction
218
+ </STMTTRN>
219
+ <STMTTRN>
220
+ <TRNTYPE>SRVCHG
221
+ <DTPOSTED>20050208000000.000[-5:EST]
222
+ <DTUSER>20050208000000.000[-5:EST]
223
+ <TRNAMT>-3.95
224
+ <FITID>2005020800000000012345
225
+ <NAME>Service Charge
226
+ <MEMO>Detailed description for a Service Charge transaction
227
+ </STMTTRN>
228
+ <STMTTRN>
229
+ <TRNTYPE>XFER
230
+ <DTPOSTED>20050209000000.000[-5:EST]
231
+ <DTUSER>20050209000000.000[-5:EST]
232
+ <TRNAMT>1.01
233
+ <FITID>2005020900000000012345
234
+ <NAME>Transfer from Acct #12345678
235
+ <MEMO>Detailed description for a Transfer in transaction
236
+ </STMTTRN>
237
+ <STMTTRN>
238
+ <TRNTYPE>XFER
239
+ <DTPOSTED>20050209000000.000[-5:EST]
240
+ <DTUSER>20050209000000.000[-5:EST]
241
+ <TRNAMT>-1.01
242
+ <FITID>2005020900000000012346
243
+ <NAME>Transfer to Acct #12345678
244
+ <MEMO>Detailed description for a Transfer out transaction
245
+ </STMTTRN>
246
+ </BANKTRANLIST>
247
+ <LEDGERBAL>
248
+ <BALAMT>83441.51
249
+ <DTASOF>20060101230000.000[-5:EST]
250
+ </LEDGERBAL>
251
+ <AVAILBAL>
252
+ <BALAMT>83441.51
253
+ <DTASOF>20060101230000.000[-5:EST]
254
+ </AVAILBAL>
255
+ </STMTRS>
256
+ </STMTTRNRS>
257
+ </BANKMSGSRSV1>
258
+ </OFX>