| 1 |
&id003 !!python/object:mt940.models.Transactions |
| 2 |
data: |
| 3 |
account_identification: '123456789' |
| 4 |
final_closing_balance: !!python/object:mt940.models.Balance |
| 5 |
amount: !!python/object:mt940.models.Amount |
| 6 |
amount: !!python/object/apply:decimal.Decimal |
| 7 |
- '159.6' |
| 8 |
currency: CHF |
| 9 |
date: !!python/object/apply:mt940.models.Date |
| 10 |
- !!binary | |
| 11 |
B94EBw== |
| 12 |
status: C |
| 13 |
final_opening_balance: !!python/object:mt940.models.Balance |
| 14 |
amount: !!python/object:mt940.models.Amount |
| 15 |
amount: !!python/object/apply:decimal.Decimal |
| 16 |
- '0' |
| 17 |
currency: CHF |
| 18 |
date: !!python/object/apply:mt940.models.Date |
| 19 |
- !!binary | |
| 20 |
B90LHg== |
| 21 |
status: C |
| 22 |
intermediate_closing_balance: !!python/object:mt940.models.Balance |
| 23 |
amount: !!python/object:mt940.models.Amount |
| 24 |
amount: !!python/object/apply:decimal.Decimal |
| 25 |
- '229.2' |
| 26 |
currency: CHF |
| 27 |
date: !!python/object/apply:mt940.models.Date |
| 28 |
- !!binary | |
| 29 |
B94EBw== |
| 30 |
status: C |
| 31 |
intermediate_opening_balance: !!python/object:mt940.models.Balance |
| 32 |
amount: !!python/object:mt940.models.Amount |
| 33 |
amount: !!python/object/apply:decimal.Decimal |
| 34 |
- '229.2' |
| 35 |
currency: CHF |
| 36 |
date: !!python/object/apply:mt940.models.Date |
| 37 |
- !!binary | |
| 38 |
B94EBw== |
| 39 |
status: C |
| 40 |
sequence_number: '2' |
| 41 |
statement_number: '999' |
| 42 |
transaction_reference: '2014040708285928' |
| 43 |
tags: |
| 44 |
13: !!python/object:mt940.tags.DateTimeIndication |
| 45 |
re: !!python/object/apply:re._compile |
| 46 |
- "^\n (?P<year>\\d{2})\n (?P<month>\\d{2})\n (?P<day>\\d{2})\n (?P<hour>\\d{2})\n |
| 47 |
\ (?P<minute>\\d{2})\n (\\+(?P<offset>\\d{4})|)\n " |
| 48 |
- 98 |
| 49 |
20: !!python/object:mt940.tags.TransactionReferenceNumber |
| 50 |
re: !!python/object/apply:re._compile |
| 51 |
- (?P<transaction_reference>.{0,16}) |
| 52 |
- 98 |
| 53 |
21: !!python/object:mt940.tags.RelatedReference |
| 54 |
re: !!python/object/apply:re._compile |
| 55 |
- (?P<related_reference>.{0,16}) |
| 56 |
- 98 |
| 57 |
25: !!python/object:mt940.tags.AccountIdentification |
| 58 |
re: !!python/object/apply:re._compile |
| 59 |
- (?P<account_identification>.{0,35}) |
| 60 |
- 98 |
| 61 |
28: !!python/object:mt940.tags.StatementNumber |
| 62 |
re: !!python/object/apply:re._compile |
| 63 |
- "\n (?P<statement_number>\\d{1,5}) # 5n\n (?:/?(?P<sequence_number>\\d{1,5}))? |
| 64 |
\ # [/5n]\n $" |
| 65 |
- 98 |
| 66 |
60: !!python/object:mt940.tags.OpeningBalance |
| 67 |
re: &id001 !!python/object/apply:re._compile |
| 68 |
- "^\n (?P<status>[DC]) # 1!a Debit/Credit\n (?P<year>\\d{2}) # 6!n Value |
| 69 |
Date (YYMMDD)\n (?P<month>\\d{2})\n (?P<day>\\d{2})\n (?P<currency>.{3}) |
| 70 |
\ # 3!a Currency\n (?P<amount>[0-9,]{0,16}) # 15d Amount (includes decimal |
| 71 |
sign, so 16)\n " |
| 72 |
- 98 |
| 73 |
60M: !!python/object:mt940.tags.IntermediateOpeningBalance |
| 74 |
re: *id001 |
| 75 |
60F: !!python/object:mt940.tags.FinalOpeningBalance |
| 76 |
re: *id001 |
| 77 |
61: !!python/object:mt940.tags.Statement |
| 78 |
re: !!python/object/apply:re._compile |
| 79 |
- "^\n (?P<year>\\d{2}) # 6!n Value Date (YYMMDD)\n (?P<month>\\d{2})\n |
| 80 |
\ (?P<day>\\d{2})\n (?P<entry_month>\\d{2})? # [4!n] Entry Date (MMDD)\n |
| 81 |
\ (?P<entry_day>\\d{2})?\n (?P<status>R?[DC]) # 2a Debit/Credit Mark\n |
| 82 |
\ (?P<funds_code>[A-Z])? # [1!a] Funds Code (3rd character of the currency\n |
| 83 |
\ # code, if needed)\n [\\n ]? # apparently some |
| 84 |
banks (sparkassen) incorporate newlines here\n # cuscal can also send a space |
| 85 |
here as well\n (?P<amount>[\\d,]{1,15}) # 15d Amount\n (?P<id>[A-Z][A-Z0-9 |
| 86 |
]{3})? # 1!a3!c Transaction Type Identification Code\n # We need the (slow) |
| 87 |
repeating negative lookahead to search for // so we\n # don't acciddntly |
| 88 |
include the bank reference in the customer reference.\n (?P<customer_reference>((?!//)[^\\n]){0,16}) |
| 89 |
\ # 16x Customer Reference\n (//(?P<bank_reference>.{0,23}))? # [//23x] |
| 90 |
Bank Reference\n (\\n?(?P<extra_details>.{0,34}))? # [34x] Supplementary |
| 91 |
Details\n $" |
| 92 |
- 98 |
| 93 |
62: !!python/object:mt940.tags.ClosingBalance |
| 94 |
re: *id001 |
| 95 |
62M: !!python/object:mt940.tags.IntermediateClosingBalance |
| 96 |
re: *id001 |
| 97 |
62F: !!python/object:mt940.tags.FinalClosingBalance |
| 98 |
re: *id001 |
| 99 |
64: !!python/object:mt940.tags.AvailableBalance |
| 100 |
re: *id001 |
| 101 |
65: !!python/object:mt940.tags.ForwardAvailableBalance |
| 102 |
re: *id001 |
| 103 |
86: !!python/object:mt940.tags.TransactionDetails |
| 104 |
re: !!python/object/apply:re._compile |
| 105 |
- "\n (?P<transaction_details>(([\\s\\S]{0,65}\\r?\\n?){0,8}[\\s\\S]{0,65}))\n |
| 106 |
\ " |
| 107 |
- 98 |
| 108 |
34: !!python/object:mt940.tags.FloorLimitIndicator |
| 109 |
re: !!python/object/apply:re._compile |
| 110 |
- "^\n (?P<currency>[A-Z]{3}) # 3!a Currency\n (?P<status>[DC ]?) # 2a |
| 111 |
Debit/Credit Mark\n (?P<amount>[0-9,]{0,16}) # 15d Amount (includes decimal |
| 112 |
sign, so 16)\n $" |
| 113 |
- 98 |
| 114 |
NS: !!python/object:mt940.tags.NonSwift |
| 115 |
re: !!python/object/apply:re._compile |
| 116 |
- "\n (?P<non_swift>\n (\n (\\d{2}.{0,})\n (\\n\\d{2}.{0,})*\n |
| 117 |
\ )|(\n [^\\n]*\n )\n )\n $" |
| 118 |
- 98 |
| 119 |
90: !!python/object:mt940.tags.SumEntries |
| 120 |
re: &id002 !!python/object/apply:re._compile |
| 121 |
- "^\n (?P<number>\\d*)\n (?P<currency>.{3}) # 3!a Currency\n (?P<amount>[\\d,]{1,15}) |
| 122 |
\ # 15d Amount\n " |
| 123 |
- 98 |
| 124 |
90D: !!python/object:mt940.tags.SumDebitEntries |
| 125 |
re: *id002 |
| 126 |
90C: !!python/object:mt940.tags.SumCreditEntries |
| 127 |
re: *id002 |
| 128 |
transactions: |
| 129 |
- !!python/object:mt940.models.Transaction |
| 130 |
data: |
| 131 |
amount: !!python/object:mt940.models.Amount |
| 132 |
amount: !!python/object/apply:decimal.Decimal |
| 133 |
- '79.7' |
| 134 |
currency: CHF |
| 135 |
bank_reference: NONREF |
| 136 |
currency: CHF |
| 137 |
customer_reference: 01916 |
| 138 |
date: !!python/object/apply:mt940.models.Date |
| 139 |
- !!binary | |
| 140 |
B90MCQ== |
| 141 |
entry_date: !!python/object/apply:mt940.models.Date |
| 142 |
- !!binary | |
| 143 |
B90MCQ== |
| 144 |
extra_details: '20131209007602198765432000000012' |
| 145 |
funds_code: null |
| 146 |
guessed_entry_date: !!python/object/apply:mt940.models.Date |
| 147 |
- !!binary | |
| 148 |
B90MCQ== |
| 149 |
id: FMSC |
| 150 |
status: C |
| 151 |
transaction_details: "GIRO AUS ONLINE-SIC 80532 AUFTRAGGEBER: JANE DOE EXAMPLESTRASSE\n |
| 152 |
10 1234 XXXX 131209CH98765432 MITTEILUNGEN: RECHNUNG XXXXXXXXXXXX" |
| 153 |
transaction_reference: '2014040708285927' |
| 154 |
transactions: *id003 |
| 155 |
- !!python/object:mt940.models.Transaction |
| 156 |
data: |
| 157 |
amount: !!python/object:mt940.models.Amount |
| 158 |
amount: !!python/object/apply:decimal.Decimal |
| 159 |
- '149.5' |
| 160 |
currency: CHF |
| 161 |
bank_reference: NONREF |
| 162 |
currency: CHF |
| 163 |
customer_reference: 01916 |
| 164 |
date: !!python/object/apply:mt940.models.Date |
| 165 |
- !!binary | |
| 166 |
B90MCQ== |
| 167 |
entry_date: !!python/object/apply:mt940.models.Date |
| 168 |
- !!binary | |
| 169 |
B90MCQ== |
| 170 |
extra_details: '20131209007602187654321000000012' |
| 171 |
funds_code: null |
| 172 |
guessed_entry_date: !!python/object/apply:mt940.models.Date |
| 173 |
- !!binary | |
| 174 |
B90MCQ== |
| 175 |
id: FMSC |
| 176 |
status: C |
| 177 |
transaction_details: "GIRO AUS ONLINE-SIC 81379 AUFTRAGGEBER: JOHN DOE EXAMPLESTRASSE\n |
| 178 |
12 1234 XXXXXXXXXX 131209CH87654321" |
| 179 |
transaction_reference: '2014040708285927' |
| 180 |
transactions: *id003 |
| 181 |
- !!python/object:mt940.models.Transaction |
| 182 |
data: |
| 183 |
amount: !!python/object:mt940.models.Amount |
| 184 |
amount: !!python/object/apply:decimal.Decimal |
| 185 |
- '-79.9' |
| 186 |
currency: CHF |
| 187 |
bank_reference: NONREF |
| 188 |
currency: CHF |
| 189 |
customer_reference: 01916 |
| 190 |
date: !!python/object/apply:mt940.models.Date |
| 191 |
- !!binary | |
| 192 |
B90MEA== |
| 193 |
entry_date: !!python/object/apply:mt940.models.Date |
| 194 |
- !!binary | |
| 195 |
B90MEA== |
| 196 |
extra_details: '20131216007602112345678000000012' |
| 197 |
funds_code: null |
| 198 |
guessed_entry_date: !!python/object/apply:mt940.models.Date |
| 199 |
- !!binary | |
| 200 |
B90MEA== |
| 201 |
id: FMSC |
| 202 |
status: D |
| 203 |
transaction_details: 'GIRO AUS ONLINE-SIC 80701 AUFTRAGGEBER: XXXXXXXXX XXX XXXXXXXXSTR |
| 204 |
|
| 205 |
ASSE 111 1234 XXXXXXXXXXXX 131216CH12345678 MITTEILUNGEN: 1 SONNE |
| 206 |
|
| 207 |
NGLAESER' |
| 208 |
transaction_reference: '2014040708285928' |
| 209 |
transactions: *id003 |
| 210 |
- !!python/object:mt940.models.Transaction |
| 211 |
data: |
| 212 |
amount: !!python/object:mt940.models.Amount |
| 213 |
amount: !!python/object/apply:decimal.Decimal |
| 214 |
- '10.1' |
| 215 |
currency: CHF |
| 216 |
bank_reference: NONREF |
| 217 |
currency: CHF |
| 218 |
customer_reference: '01651' |
| 219 |
date: !!python/object/apply:mt940.models.Date |
| 220 |
- !!binary | |
| 221 |
B90MEg== |
| 222 |
entry_date: !!python/object/apply:mt940.models.Date |
| 223 |
- !!binary | |
| 224 |
B90MEg== |
| 225 |
extra_details: '20131216816204000100125000000012' |
| 226 |
funds_code: null |
| 227 |
guessed_entry_date: !!python/object/apply:mt940.models.Date |
| 228 |
- !!binary | |
| 229 |
B90MEg== |
| 230 |
id: FMSC |
| 231 |
status: C |
| 232 |
transaction_details: EINZAHLUNGSSCHEIN |
| 233 |
transaction_reference: '2014040708285928' |
| 234 |
transactions: *id003 |