Debian Codegraph @

mt940_tests/cmxl/mt940.yml

raw
1 &id003 !!python/object:mt940.models.Transactions
2 data:
3 account_identification: BPHKPLPK/320000546101
4 final_closing_balance: !!python/object:mt940.models.Balance
5 amount: !!python/object:mt940.models.Amount
6 amount: !!python/object/apply:decimal.Decimal
7 - '50040.00'
8 currency: PLN
9 date: !!python/object/apply:mt940.models.Date
10 - !!binary |
11 B9IDGQ==
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 - '40000.00'
17 currency: PLN
18 date: !!python/object/apply:mt940.models.Date
19 - !!binary |
20 B9MKAg==
21 status: C
22 related_reference: '9876543210'
23 sequence_number: '001'
24 statement_number: 00084
25 transaction_reference: TELEWIZORY S.A.
26 tags:
27 13: !!python/object:mt940.tags.DateTimeIndication
28 re: !!python/object/apply:re._compile
29 - "^\n (?P<year>\\d{2})\n (?P<month>\\d{2})\n (?P<day>\\d{2})\n (?P<hour>\\d{2})\n
30 \ (?P<minute>\\d{2})\n (\\+(?P<offset>\\d{4})|)\n "
31 - 98
32 20: !!python/object:mt940.tags.TransactionReferenceNumber
33 re: !!python/object/apply:re._compile
34 - (?P<transaction_reference>.{0,16})
35 - 98
36 21: !!python/object:mt940.tags.RelatedReference
37 re: !!python/object/apply:re._compile
38 - (?P<related_reference>.{0,16})
39 - 98
40 25: !!python/object:mt940.tags.AccountIdentification
41 re: !!python/object/apply:re._compile
42 - (?P<account_identification>.{0,35})
43 - 98
44 28: !!python/object:mt940.tags.StatementNumber
45 re: !!python/object/apply:re._compile
46 - "\n (?P<statement_number>\\d{1,5}) # 5n\n (?:/?(?P<sequence_number>\\d{1,5}))?
47 \ # [/5n]\n $"
48 - 98
49 60: !!python/object:mt940.tags.OpeningBalance
50 re: &id001 !!python/object/apply:re._compile
51 - "^\n (?P<status>[DC]) # 1!a Debit/Credit\n (?P<year>\\d{2}) # 6!n Value
52 Date (YYMMDD)\n (?P<month>\\d{2})\n (?P<day>\\d{2})\n (?P<currency>.{3})
53 \ # 3!a Currency\n (?P<amount>[0-9,]{0,16}) # 15d Amount (includes decimal
54 sign, so 16)\n "
55 - 98
56 60M: !!python/object:mt940.tags.IntermediateOpeningBalance
57 re: *id001
58 60F: !!python/object:mt940.tags.FinalOpeningBalance
59 re: *id001
60 61: !!python/object:mt940.tags.Statement
61 re: !!python/object/apply:re._compile
62 - "^\n (?P<year>\\d{2}) # 6!n Value Date (YYMMDD)\n (?P<month>\\d{2})\n
63 \ (?P<day>\\d{2})\n (?P<entry_month>\\d{2})? # [4!n] Entry Date (MMDD)\n
64 \ (?P<entry_day>\\d{2})?\n (?P<status>R?[DC]) # 2a Debit/Credit Mark\n
65 \ (?P<funds_code>[A-Z])? # [1!a] Funds Code (3rd character of the currency\n
66 \ # code, if needed)\n [\\n ]? # apparently some
67 banks (sparkassen) incorporate newlines here\n # cuscal can also send a space
68 here as well\n (?P<amount>[\\d,]{1,15}) # 15d Amount\n (?P<id>[A-Z][A-Z0-9
69 ]{3})? # 1!a3!c Transaction Type Identification Code\n # We need the (slow)
70 repeating negative lookahead to search for // so we\n # don't acciddntly
71 include the bank reference in the customer reference.\n (?P<customer_reference>((?!//)[^\\n]){0,16})
72 \ # 16x Customer Reference\n (//(?P<bank_reference>.{0,23}))? # [//23x]
73 Bank Reference\n (\\n?(?P<extra_details>.{0,34}))? # [34x] Supplementary
74 Details\n $"
75 - 98
76 62: !!python/object:mt940.tags.ClosingBalance
77 re: *id001
78 62M: !!python/object:mt940.tags.IntermediateClosingBalance
79 re: *id001
80 62F: !!python/object:mt940.tags.FinalClosingBalance
81 re: *id001
82 64: !!python/object:mt940.tags.AvailableBalance
83 re: *id001
84 65: !!python/object:mt940.tags.ForwardAvailableBalance
85 re: *id001
86 86: !!python/object:mt940.tags.TransactionDetails
87 re: !!python/object/apply:re._compile
88 - "\n (?P<transaction_details>(([\\s\\S]{0,65}\\r?\\n?){0,8}[\\s\\S]{0,65}))\n
89 \ "
90 - 98
91 34: !!python/object:mt940.tags.FloorLimitIndicator
92 re: !!python/object/apply:re._compile
93 - "^\n (?P<currency>[A-Z]{3}) # 3!a Currency\n (?P<status>[DC ]?) # 2a
94 Debit/Credit Mark\n (?P<amount>[0-9,]{0,16}) # 15d Amount (includes decimal
95 sign, so 16)\n $"
96 - 98
97 NS: !!python/object:mt940.tags.NonSwift
98 re: !!python/object/apply:re._compile
99 - "\n (?P<non_swift>\n (\n (\\d{2}.{0,})\n (\\n\\d{2}.{0,})*\n
100 \ )|(\n [^\\n]*\n )\n )\n $"
101 - 98
102 90: !!python/object:mt940.tags.SumEntries
103 re: &id002 !!python/object/apply:re._compile
104 - "^\n (?P<number>\\d*)\n (?P<currency>.{3}) # 3!a Currency\n (?P<amount>[\\d,]{1,15})
105 \ # 15d Amount\n "
106 - 98
107 90D: !!python/object:mt940.tags.SumDebitEntries
108 re: *id002
109 90C: !!python/object:mt940.tags.SumCreditEntries
110 re: *id002
111 transactions:
112 - !!python/object:mt940.models.Transaction
113 data:
114 amount: !!python/object:mt940.models.Amount
115 amount: !!python/object/apply:decimal.Decimal
116 - '-6800'
117 currency: DEM
118 bank_reference: null
119 currency: DEM
120 customer_reference: '16703074'
121 date: !!python/object/apply:mt940.models.Date
122 - !!binary |
123 B90KEQ==
124 extra_details: ''
125 funds_code: null
126 id: NCHK
127 status: D
128 transaction_details: 999PN5477SCHECK-NR. 0000016703074
129 transaction_reference: '131110'
130 transactions: *id003
131 - !!python/object:mt940.models.Transaction
132 data:
133 amount: !!python/object:mt940.models.Amount
134 amount: !!python/object/apply:decimal.Decimal
135 - '-620.3'
136 currency: DEM
137 bank_reference: null
138 currency: DEM
139 customer_reference: N
140 date: !!python/object/apply:mt940.models.Date
141 - !!binary |
142 B90KEQ==
143 extra_details: ''
144 funds_code: null
145 id: NSTO
146 status: D
147 transaction_details: 999PN0911DAUERAUFTR.NR. 14
148 transaction_reference: '131110'
149 transactions: *id003
150 - !!python/object:mt940.models.Transaction
151 data:
152 amount: !!python/object:mt940.models.Amount
153 amount: !!python/object/apply:decimal.Decimal
154 - '18500'
155 currency: DEM
156 bank_reference: null
157 currency: DEM
158 customer_reference: N
159 date: !!python/object/apply:mt940.models.Date
160 - !!binary |
161 B90KEQ==
162 extra_details: ''
163 funds_code: null
164 id: NCLR
165 status: C
166 transaction_details: 999PN2406SCHECK
167 transaction_reference: '131110'
168 transactions: *id003
169 - !!python/object:mt940.models.Transaction
170 data:
171 amount: !!python/object:mt940.models.Amount
172 amount: !!python/object/apply:decimal.Decimal
173 - '-14220'
174 currency: DEM
175 bank_reference: null
176 currency: DEM
177 customer_reference: N
178 date: !!python/object/apply:mt940.models.Date
179 - !!binary |
180 B90KDw==
181 extra_details: ''
182 funds_code: null
183 id: NBOE
184 status: D
185 transaction_details: 999PN0920WECHSEL
186 transaction_reference: '131110'
187 transactions: *id003
188 - !!python/object:mt940.models.Transaction
189 data:
190 amount: !!python/object:mt940.models.Amount
191 amount: !!python/object/apply:decimal.Decimal
192 - '-1507'
193 currency: DEM
194 bank_reference: null
195 currency: DEM
196 customer_reference: N
197 date: !!python/object/apply:mt940.models.Date
198 - !!binary |
199 B90KEQ==
200 extra_details: ''
201 funds_code: null
202 id: NTRF
203 status: D
204 transaction_details: 999PN0920SCHNELLUEB
205 transaction_reference: '131110'
206 transactions: *id003
207 - !!python/object:mt940.models.Transaction
208 data:
209 amount: !!python/object:mt940.models.Amount
210 amount: !!python/object/apply:decimal.Decimal
211 - '4200'
212 currency: DEM
213 bank_reference: null
214 currency: DEM
215 customer_reference: N
216 date: !!python/object/apply:mt940.models.Date
217 - !!binary |
218 B90KGA==
219 extra_details: ''
220 funds_code: null
221 id: NMSC
222 status: C
223 transaction_details: 999PN2506AUSSENH. NR. 1
224 transaction_reference: '131110'
225 transactions: *id003
226 - !!python/object:mt940.models.Transaction
227 data:
228 amount: !!python/object:mt940.models.Amount
229 amount: !!python/object/apply:decimal.Decimal
230 - '-19900'
231 currency: DEM
232 bank_reference: null
233 currency: DEM
234 customer_reference: N
235 date: !!python/object/apply:mt940.models.Date
236 - !!binary |
237 B90KEQ==
238 extra_details: ''
239 funds_code: null
240 id: NTRF
241 status: D
242 transaction_details: 999PN0907UEBERTRAG
243 transaction_reference: '131110'
244 transactions: *id003
245 - !!python/object:mt940.models.Transaction
246 data:
247 amount: !!python/object:mt940.models.Amount
248 amount: !!python/object/apply:decimal.Decimal
249 - '-400'
250 currency: DEM
251 bank_reference: null
252 currency: DEM
253 customer_reference: N
254 date: !!python/object/apply:mt940.models.Date
255 - !!binary |
256 B90KEQ==
257 extra_details: ''
258 funds_code: null
259 id: NTRF
260 status: D
261 transaction_details: 999PN0891BTX
262 transaction_reference: '131110'
263 transactions: *id003
264 - !!python/object:mt940.models.Transaction
265 data:
266 amount: !!python/object:mt940.models.Amount
267 amount: !!python/object/apply:decimal.Decimal
268 - '3656.74'
269 currency: DEM
270 bank_reference: null
271 currency: DEM
272 customer_reference: N
273 date: !!python/object/apply:mt940.models.Date
274 - !!binary |
275 B90KEg==
276 extra_details: ''
277 funds_code: null
278 id: NMSC
279 status: C
280 transaction_details: 999PN0850EINZAHLG.N
281 transaction_reference: '131110'
282 transactions: *id003
283 - !!python/object:mt940.models.Transaction
284 data:
285 amount: !!python/object:mt940.models.Amount
286 amount: !!python/object/apply:decimal.Decimal
287 - '23040'
288 currency: DEM
289 bank_reference: null
290 currency: DEM
291 customer_reference: N
292 date: !!python/object/apply:mt940.models.Date
293 - !!binary |
294 B90KEw==
295 extra_details: ''
296 funds_code: null
297 id: NMSC
298 status: C
299 transaction_details: 999PN0812LT.ANLAGE
300 transaction_reference: '131110'
301 transactions: *id003
302 - !!python/object:mt940.models.Transaction
303 data:
304 amount: !!python/object:mt940.models.Amount
305 amount: !!python/object/apply:decimal.Decimal
306 - '-5862.14'
307 currency: DEM
308 bank_reference: null
309 currency: DEM
310 customer_reference: N
311 date: !!python/object/apply:mt940.models.Date
312 - !!binary |
313 B90KGw==
314 extra_details: ''
315 funds_code: null
316 id: NCHK
317 status: D
318 transaction_details: 999PN5329AUSLSCHECK
319 transaction_reference: '131110'
320 transactions: *id003
321 - !!python/object:mt940.models.Transaction
322 data:
323 additional_purpose: null
324 amount: !!python/object:mt940.models.Amount
325 amount: !!python/object/apply:decimal.Decimal
326 - '-800'
327 currency: EUR
328 applicant_bin: '10020030'
329 applicant_iban: '234567'
330 applicant_name: MUELLER
331 bank_reference: '55555'
332 currency: EUR
333 customer_reference: NONREF
334 date: !!python/object/apply:mt940.models.Date
335 - !!binary |
336 B9ILAQ==
337 entry_date: !!python/object/apply:mt940.models.Date
338 - !!binary |
339 B9ILAg==
340 extra_details: ''
341 funds_code: R
342 guessed_entry_date: !!python/object/apply:mt940.models.Date
343 - !!binary |
344 B9ILAg==
345 id: NSTO
346 posting_text: DAUERAUFTRAG
347 prima_nota: 0599
348 purpose: Miete November
349 recipient_name: null
350 return_debit_notes: '339'
351 status: D
352 transaction_code: 008
353 transaction_reference: '1234567'
354 transactions: *id003
355 - !!python/object:mt940.models.Transaction
356 data:
357 additional_purpose: null
358 amount: !!python/object:mt940.models.Amount
359 amount: !!python/object/apply:decimal.Decimal
360 - '3000'
361 currency: EUR
362 applicant_bin: '50060400'
363 applicant_iban: 0847564700
364 applicant_name: MUELLER
365 bank_reference: '55555'
366 currency: EUR
367 customer_reference: NONREF
368 date: !!python/object/apply:mt940.models.Date
369 - !!binary |
370 B9ILAg==
371 entry_date: !!python/object/apply:mt940.models.Date
372 - !!binary |
373 B9ILAg==
374 extra_details: ''
375 funds_code: R
376 guessed_entry_date: !!python/object/apply:mt940.models.Date
377 - !!binary |
378 B9ILAg==
379 id: NTRF
380 posting_text: UEBERWEISUNG
381 prima_nota: 0599
382 purpose: Gehalt OktoberFirmaMustermannGmbH
383 recipient_name: null
384 return_debit_notes: '339'
385 status: C
386 transaction_code: '051'
387 transaction_reference: '1234567'
388 transactions: *id003
389 - !!python/object:mt940.models.Transaction
390 data:
391 additional_purpose: null
392 amount: !!python/object:mt940.models.Amount
393 amount: !!python/object/apply:decimal.Decimal
394 - '20000.00'
395 currency: PLN
396 applicant_bin: '10600076'
397 applicant_iban: '0000777777777777'
398 applicant_name: HUTA SZKLA TOPIC ULPRZEMYSLOWA 67 32-669 WROCLAW
399 bank_reference: '8327000090031789'
400 currency: PLN
401 customer_reference: NONREF
402 date: !!python/object/apply:mt940.models.Date
403 - !!binary |
404 B9MKFA==
405 entry_date: !!python/object/apply:mt940.models.Date
406 - !!binary |
407 B9MKFA==
408 extra_details: Card transaction
409 funds_code: null
410 guessed_entry_date: !!python/object/apply:mt940.models.Date
411 - !!binary |
412 B9MKFA==
413 id: FMSC
414 posting_text: Wyplata-(dysp/przel)
415 prima_nota: null
416 purpose: 0810600076000077777777777715617INFO INFO INFO INFO INFO INFO 1 ENDINFO
417 INFO INFO INFO INFOINFO 2 ENDZAPLATA ZA FABRYKATY DO TUB - 200 S ZTUK, TRANZYSTORY-300
418 SZT GR544 I OPORNIKI-500 SZT GTX847 FAKTURA 333/2003.
419 recipient_name: null
420 return_debit_notes: null
421 status: C
422 transaction_code: '020'
423 transaction_reference: TELEWIZORY S.A.
424 transactions: *id003
425 - !!python/object:mt940.models.Transaction
426 data:
427 additional_purpose: null
428 amount: !!python/object:mt940.models.Amount
429 amount: !!python/object/apply:decimal.Decimal
430 - '-10000.00'
431 currency: PLN
432 applicant_bin: '10600076'
433 applicant_iban: '0000777777777777'
434 applicant_name: null
435 bank_reference: '8327000090031790'
436 currency: PLN
437 customer_reference: REF 25611247
438 date: !!python/object/apply:mt940.models.Date
439 - !!binary |
440 B9MKFA==
441 entry_date: !!python/object/apply:mt940.models.Date
442 - !!binary |
443 B9MKFA==
444 extra_details: Transfer
445 funds_code: null
446 guessed_entry_date: !!python/object/apply:mt940.models.Date
447 - !!binary |
448 B9MKFA==
449 id: FTRF
450 posting_text: Wyplata-(dysp/przel)
451 prima_nota: null
452 purpose: 0810600076000077777777777715617INFO INFO INFO INFO INFO INFO 1 ENDINFO
453 INFO INFO INFO INFOINFO 2 ENDZAPLATA ZA FABRYKATY DO TUB - 200 S ZTUK, TRANZYSTORY-300
454 SZT GR544 I OPORNIKI-500 SZT GTX847 FAKTURA 333/2003.
455 recipient_name: null
456 return_debit_notes: null
457 status: D
458 transaction_code: '020'
459 transaction_reference: TELEWIZORY S.A.
460 transactions: *id003
461 - !!python/object:mt940.models.Transaction
462 data:
463 additional_purpose: null
464 amount: !!python/object:mt940.models.Amount
465 amount: !!python/object/apply:decimal.Decimal
466 - '40.00'
467 currency: PLN
468 applicant_bin: null
469 applicant_iban: null
470 applicant_name: null
471 bank_reference: '8327000090031791'
472 currency: PLN
473 customer_reference: NONREF
474 date: !!python/object/apply:mt940.models.Date
475 - !!binary |
476 B9MKFA==
477 entry_date: !!python/object/apply:mt940.models.Date
478 - !!binary |
479 B9MKFA==
480 extra_details: Interest credit
481 funds_code: null
482 guessed_entry_date: !!python/object/apply:mt940.models.Date
483 - !!binary |
484 B9MKFA==
485 id: FTRF
486 posting_text: "Uznanie kwot\u0105 odsetek"
487 prima_nota: null
488 purpose: Odsetki od lokaty nr 101000022086
489 recipient_name: null
490 return_debit_notes: null
491 status: C
492 transaction_code: '844'
493 transaction_reference: TELEWIZORY S.A.
494 transactions: *id003