File: raphaelm.yml

package info (click to toggle)
python-mt-940 4.30.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,272 kB
  • sloc: python: 1,746; makefile: 201
file content (374 lines) | stat: -rw-r--r-- 11,287 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
&id003 !!python/object:mt940.models.Transactions
data:
  account_identification: '3346780111'
  final_closing_balance: !!python/object:mt940.models.Balance
    amount: !!python/object:mt940.models.Amount
      amount: !!python/object/apply:decimal.Decimal
      - '0.00'
      currency: '950'
    date: !!python/object/apply:mt940.models.Date
    - !!binary |
      B9IDGA==
    status: C
  final_opening_balance: !!python/object:mt940.models.Balance
    amount: !!python/object:mt940.models.Amount
      amount: !!python/object/apply:decimal.Decimal
      - '145000.00'
      currency: DEM
    date: !!python/object/apply:mt940.models.Date
    - !!binary |
      B9IDGA==
    status: C
  intermediate_closing_balance: !!python/object:mt940.models.Balance
    amount: !!python/object:mt940.models.Amount
      amount: !!python/object/apply:decimal.Decimal
      - '0.00'
      currency: '105'
    date: !!python/object/apply:mt940.models.Date
    - !!binary |
      B9IDDw==
    status: C
  intermediate_opening_balance: !!python/object:mt940.models.Balance
    amount: !!python/object:mt940.models.Amount
      amount: !!python/object/apply:decimal.Decimal
      - '105000.00'
      currency: DEM
    date: !!python/object/apply:mt940.models.Date
    - !!binary |
      B9IDDw==
    status: C
  non_swift: '22Test GmbH

    23Testkonto

    240,800

    25010102311202

    3037010000

    3190000022

    32

    33

    34LEER'
  non_swift_22: Test GmbH
  non_swift_23: Testkonto
  non_swift_24: 0,800
  non_swift_25: '010102311202'
  non_swift_30: '37010000'
  non_swift_31: '90000022'
  non_swift_34: LEER
  non_swift_text: 'Test GmbH

    Testkonto

    0,800

    010102311202

    37010000

    90000022


    33

    LEER'
  sequence_number: '1'
  statement_number: '2'
  transaction_reference: STARTUMS
tags:
  13: !!python/object:mt940.tags.DateTimeIndication
    re: !!python/object/apply:re._compile
    - "^\n    (?P<year>\\d{2})\n    (?P<month>\\d{2})\n    (?P<day>\\d{2})\n    (?P<hour>\\d{2})\n
      \   (?P<minute>\\d{2})\n    (\\+(?P<offset>\\d{4})|)\n    "
    - 98
  20: !!python/object:mt940.tags.TransactionReferenceNumber
    re: !!python/object/apply:re._compile
    - (?P<transaction_reference>.{0,16})
    - 98
  21: !!python/object:mt940.tags.RelatedReference
    re: !!python/object/apply:re._compile
    - (?P<related_reference>.{0,16})
    - 98
  25: !!python/object:mt940.tags.AccountIdentification
    re: !!python/object/apply:re._compile
    - (?P<account_identification>.{0,35})
    - 98
  28: !!python/object:mt940.tags.StatementNumber
    re: !!python/object/apply:re._compile
    - "\n    (?P<statement_number>\\d{1,5})  # 5n\n    (?:/?(?P<sequence_number>\\d{1,5}))?
      \ # [/5n]\n    $"
    - 98
  60: !!python/object:mt940.tags.OpeningBalance
    re: &id001 !!python/object/apply:re._compile
    - "^\n    (?P<status>[DC])  # 1!a Debit/Credit\n    (?P<year>\\d{2})  # 6!n Value
      Date (YYMMDD)\n    (?P<month>\\d{2})\n    (?P<day>\\d{2})\n    (?P<currency>.{3})
      \ # 3!a Currency\n    (?P<amount>[0-9,]{0,16})  # 15d Amount (includes decimal
      sign, so 16)\n    "
    - 98
  60M: !!python/object:mt940.tags.IntermediateOpeningBalance
    re: *id001
  60F: !!python/object:mt940.tags.FinalOpeningBalance
    re: *id001
  61: !!python/object:mt940.tags.Statement
    re: !!python/object/apply:re._compile
    - "^\n    (?P<year>\\d{2})  # 6!n Value Date (YYMMDD)\n    (?P<month>\\d{2})\n
      \   (?P<day>\\d{2})\n    (?P<entry_month>\\d{2})?  # [4!n] Entry Date (MMDD)\n
      \   (?P<entry_day>\\d{2})?\n    (?P<status>R?[DC])  # 2a Debit/Credit Mark\n
      \   (?P<funds_code>[A-Z])? # [1!a] Funds Code (3rd character of the currency\n
      \                           # code, if needed)\n    [\\n ]? # apparently some
      banks (sparkassen) incorporate newlines here\n    # cuscal can also send a space
      here as well\n    (?P<amount>[\\d,]{1,15})  # 15d Amount\n    (?P<id>[A-Z][A-Z0-9
      ]{3})?  # 1!a3!c Transaction Type Identification Code\n    # We need the (slow)
      repeating negative lookahead to search for // so we\n    # don't acciddntly
      include the bank reference in the customer reference.\n    (?P<customer_reference>((?!//)[^\\n]){0,16})
      \ # 16x Customer Reference\n    (//(?P<bank_reference>.{0,23}))?  # [//23x]
      Bank Reference\n    (\\n?(?P<extra_details>.{0,34}))?  # [34x] Supplementary
      Details\n    $"
    - 98
  62: !!python/object:mt940.tags.ClosingBalance
    re: *id001
  62M: !!python/object:mt940.tags.IntermediateClosingBalance
    re: *id001
  62F: !!python/object:mt940.tags.FinalClosingBalance
    re: *id001
  64: !!python/object:mt940.tags.AvailableBalance
    re: *id001
  65: !!python/object:mt940.tags.ForwardAvailableBalance
    re: *id001
  86: !!python/object:mt940.tags.TransactionDetails
    re: !!python/object/apply:re._compile
    - "\n    (?P<transaction_details>(([\\s\\S]{0,65}\\r?\\n?){0,8}[\\s\\S]{0,65}))\n
      \   "
    - 98
  34: !!python/object:mt940.tags.FloorLimitIndicator
    re: !!python/object/apply:re._compile
    - "^\n    (?P<currency>[A-Z]{3})  # 3!a Currency\n    (?P<status>[DC ]?)  # 2a
      Debit/Credit Mark\n    (?P<amount>[0-9,]{0,16})  # 15d Amount (includes decimal
      sign, so 16)\n    $"
    - 98
  NS: !!python/object:mt940.tags.NonSwift
    re: !!python/object/apply:re._compile
    - "\n    (?P<non_swift>\n        (\n            (\\d{2}.{0,})\n            (\\n\\d{2}.{0,})*\n
      \       )|(\n            [^\\n]*\n        )\n    )\n    $"
    - 98
  90: !!python/object:mt940.tags.SumEntries
    re: &id002 !!python/object/apply:re._compile
    - "^\n    (?P<number>\\d*)\n    (?P<currency>.{3})  # 3!a Currency\n    (?P<amount>[\\d,]{1,15})
      \ # 15d Amount\n    "
    - 98
  90D: !!python/object:mt940.tags.SumDebitEntries
    re: *id002
  90C: !!python/object:mt940.tags.SumCreditEntries
    re: *id002
transactions:
- !!python/object:mt940.models.Transaction
  data:
    amount: !!python/object:mt940.models.Amount
      amount: !!python/object/apply:decimal.Decimal
      - '5000.00'
      currency: DEM
    bank_reference: null
    currency: DEM
    customer_reference: '68790452'
    date: !!python/object/apply:mt940.models.Date
    - !!binary |
      B9IDEQ==
    entry_date: !!python/object/apply:mt940.models.Date
    - !!binary |
      B9IDFA==
    extra_details: ''
    funds_code: M
    guessed_entry_date: !!python/object/apply:mt940.models.Date
    - !!binary |
      B9IDFA==
    id: S051
    non_swift: "01Verwendungszweck 1\n02Verwendungszweck 2\n15Empf\xE4nger\n17Buchungstext\n1812345\n191000\n204711"
    non_swift_01: Verwendungszweck 1
    non_swift_02: Verwendungszweck 2
    non_swift_15: "Empf\xE4nger"
    non_swift_17: Buchungstext
    non_swift_18: '12345'
    non_swift_19: '1000'
    non_swift_20: '4711'
    non_swift_text: "Verwendungszweck 1\nVerwendungszweck 2\nEmpf\xE4nger\nBuchungstext\n12345\n1000\n4711"
    status: C
    transaction_reference: STARTUMS
  transactions: *id003
- !!python/object:mt940.models.Transaction
  data:
    amount: !!python/object:mt940.models.Amount
      amount: !!python/object/apply:decimal.Decimal
      - '20000.00'
      currency: DEM
    bank_reference: null
    currency: DEM
    customer_reference: ''
    date: !!python/object/apply:mt940.models.Date
    - !!binary |
      B9IDFg==
    extra_details: ''
    funds_code: M
    id: NCHG
    status: C
    transaction_reference: STARTUMS
  transactions: *id003
- !!python/object:mt940.models.Transaction
  data:
    amount: !!python/object:mt940.models.Amount
      amount: !!python/object/apply:decimal.Decimal
      - '20000.00'
      currency: DEM
    bank_reference: null
    currency: DEM
    customer_reference: ''
    date: !!python/object/apply:mt940.models.Date
    - !!binary |
      B9IDFg==
    extra_details: ''
    funds_code: M
    id: S051
    status: C
    transaction_reference: STARTUMS
  transactions: *id003
- !!python/object:mt940.models.Transaction
  data:
    amount: !!python/object:mt940.models.Amount
      amount: !!python/object/apply:decimal.Decimal
      - '20000.00'
      currency: DEM
    bank_reference: null
    currency: DEM
    customer_reference: ''
    date: !!python/object/apply:mt940.models.Date
    - !!binary |
      B9IDFg==
    extra_details: ''
    funds_code: M
    id: S051
    status: C
    transaction_reference: STARTUMS
  transactions: *id003
- !!python/object:mt940.models.Transaction
  data:
    amount: !!python/object:mt940.models.Amount
      amount: !!python/object/apply:decimal.Decimal
      - '20000.00'
      currency: DEM
    bank_reference: null
    currency: DEM
    customer_reference: ''
    date: !!python/object/apply:mt940.models.Date
    - !!binary |
      B9IDFg==
    extra_details: ''
    funds_code: M
    id: S051
    status: C
    transaction_reference: STARTUMS
  transactions: *id003
- !!python/object:mt940.models.Transaction
  data:
    amount: !!python/object:mt940.models.Amount
      amount: !!python/object/apply:decimal.Decimal
      - '20000.00'
      currency: DEM
    bank_reference: null
    currency: DEM
    customer_reference: ''
    date: !!python/object/apply:mt940.models.Date
    - !!binary |
      B9IDFg==
    extra_details: ''
    funds_code: M
    id: S051
    non_swift: '223037010000'
    non_swift_22: '3037010000'
    non_swift_text: '3037010000'
    status: C
    transaction_reference: STARTUMS
  transactions: *id003
- !!python/object:mt940.models.Transaction
  data:
    amount: !!python/object:mt940.models.Amount
      amount: !!python/object/apply:decimal.Decimal
      - '20000.00'
      currency: DEM
    bank_reference: null
    currency: DEM
    customer_reference: ''
    date: !!python/object/apply:mt940.models.Date
    - !!binary |
      B9IDFg==
    extra_details: ''
    funds_code: M
    id: S051
    status: C
    transaction_reference: STARTUMS
  transactions: *id003
- !!python/object:mt940.models.Transaction
  data:
    amount: !!python/object:mt940.models.Amount
      amount: !!python/object/apply:decimal.Decimal
      - '20000.00'
      currency: DEM
    bank_reference: null
    currency: DEM
    customer_reference: ''
    date: !!python/object/apply:mt940.models.Date
    - !!binary |
      B9IDFg==
    extra_details: ''
    funds_code: M
    id: S051
    non_swift: '22Meyer + Schneider

      23Testkonto

      3037010000

      3187132101'
    non_swift_22: Meyer + Schneider
    non_swift_23: Testkonto
    non_swift_30: '37010000'
    non_swift_31: '87132101'
    non_swift_text: 'Meyer + Schneider

      Testkonto

      37010000

      87132101'
    status: C
    transaction_reference: STARTUMS
  transactions: *id003
- !!python/object:mt940.models.Transaction
  data:
    amount: !!python/object:mt940.models.Amount
      amount: !!python/object/apply:decimal.Decimal
      - '-50000.00'
      currency: DEM
    bank_reference: null
    currency: DEM
    customer_reference: ''
    date: !!python/object/apply:mt940.models.Date
    - !!binary |
      B9IDGA==
    extra_details: ''
    funds_code: M
    id: S051
    non_swift: '01bekannt

      1812345'
    non_swift_01: bekannt
    non_swift_18: '12345'
    non_swift_text: 'bekannt

      12345'
    status: D
    transaction_reference: STARTUMS
  transactions: *id003