Debian Codegraph @

mt940_tests/jejik/knab.yml

raw
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 - '798.98'
8 currency: EUR
9 date: !!python/object/apply:mt940.models.Date
10 - !!binary |
11 B94HHg==
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 - '3058.98'
17 currency: EUR
18 date: !!python/object/apply:mt940.models.Date
19 - !!binary |
20 B94HHQ==
21 status: C
22 sequence_number: '1'
23 statement_number: '999'
24 transaction_reference: B4G30MS9D00A003D
25 tags:
26 13: !!python/object:mt940.tags.DateTimeIndication
27 re: !!python/object/apply:re._compile
28 - "^\n (?P<year>\\d{2})\n (?P<month>\\d{2})\n (?P<day>\\d{2})\n (?P<hour>\\d{2})\n
29 \ (?P<minute>\\d{2})\n (\\+(?P<offset>\\d{4})|)\n "
30 - 98
31 20: !!python/object:mt940.tags.TransactionReferenceNumber
32 re: !!python/object/apply:re._compile
33 - (?P<transaction_reference>.{0,16})
34 - 98
35 21: !!python/object:mt940.tags.RelatedReference
36 re: !!python/object/apply:re._compile
37 - (?P<related_reference>.{0,16})
38 - 98
39 25: !!python/object:mt940.tags.AccountIdentification
40 re: !!python/object/apply:re._compile
41 - (?P<account_identification>.{0,35})
42 - 98
43 28: !!python/object:mt940.tags.StatementNumber
44 re: !!python/object/apply:re._compile
45 - "\n (?P<statement_number>\\d{1,5}) # 5n\n (?:/?(?P<sequence_number>\\d{1,5}))?
46 \ # [/5n]\n $"
47 - 98
48 60: !!python/object:mt940.tags.OpeningBalance
49 re: &id001 !!python/object/apply:re._compile
50 - "^\n (?P<status>[DC]) # 1!a Debit/Credit\n (?P<year>\\d{2}) # 6!n Value
51 Date (YYMMDD)\n (?P<month>\\d{2})\n (?P<day>\\d{2})\n (?P<currency>.{3})
52 \ # 3!a Currency\n (?P<amount>[0-9,]{0,16}) # 15d Amount (includes decimal
53 sign, so 16)\n "
54 - 98
55 60M: !!python/object:mt940.tags.IntermediateOpeningBalance
56 re: *id001
57 60F: !!python/object:mt940.tags.FinalOpeningBalance
58 re: *id001
59 61: !!python/object:mt940.tags.Statement
60 re: !!python/object/apply:re._compile
61 - "^\n (?P<year>\\d{2}) # 6!n Value Date (YYMMDD)\n (?P<month>\\d{2})\n
62 \ (?P<day>\\d{2})\n (?P<entry_month>\\d{2})? # [4!n] Entry Date (MMDD)\n
63 \ (?P<entry_day>\\d{2})?\n (?P<status>R?[DC]) # 2a Debit/Credit Mark\n
64 \ (?P<funds_code>[A-Z])? # [1!a] Funds Code (3rd character of the currency\n
65 \ # code, if needed)\n [\\n ]? # apparently some
66 banks (sparkassen) incorporate newlines here\n # cuscal can also send a space
67 here as well\n (?P<amount>[\\d,]{1,15}) # 15d Amount\n (?P<id>[A-Z][A-Z0-9
68 ]{3})? # 1!a3!c Transaction Type Identification Code\n # We need the (slow)
69 repeating negative lookahead to search for // so we\n # don't acciddntly
70 include the bank reference in the customer reference.\n (?P<customer_reference>((?!//)[^\\n]){0,16})
71 \ # 16x Customer Reference\n (//(?P<bank_reference>.{0,23}))? # [//23x]
72 Bank Reference\n (\\n?(?P<extra_details>.{0,34}))? # [34x] Supplementary
73 Details\n $"
74 - 98
75 62: !!python/object:mt940.tags.ClosingBalance
76 re: *id001
77 62M: !!python/object:mt940.tags.IntermediateClosingBalance
78 re: *id001
79 62F: !!python/object:mt940.tags.FinalClosingBalance
80 re: *id001
81 64: !!python/object:mt940.tags.AvailableBalance
82 re: *id001
83 65: !!python/object:mt940.tags.ForwardAvailableBalance
84 re: *id001
85 86: !!python/object:mt940.tags.TransactionDetails
86 re: !!python/object/apply:re._compile
87 - "\n (?P<transaction_details>(([\\s\\S]{0,65}\\r?\\n?){0,8}[\\s\\S]{0,65}))\n
88 \ "
89 - 98
90 34: !!python/object:mt940.tags.FloorLimitIndicator
91 re: !!python/object/apply:re._compile
92 - "^\n (?P<currency>[A-Z]{3}) # 3!a Currency\n (?P<status>[DC ]?) # 2a
93 Debit/Credit Mark\n (?P<amount>[0-9,]{0,16}) # 15d Amount (includes decimal
94 sign, so 16)\n $"
95 - 98
96 NS: !!python/object:mt940.tags.NonSwift
97 re: !!python/object/apply:re._compile
98 - "\n (?P<non_swift>\n (\n (\\d{2}.{0,})\n (\\n\\d{2}.{0,})*\n
99 \ )|(\n [^\\n]*\n )\n )\n $"
100 - 98
101 90: !!python/object:mt940.tags.SumEntries
102 re: &id002 !!python/object/apply:re._compile
103 - "^\n (?P<number>\\d*)\n (?P<currency>.{3}) # 3!a Currency\n (?P<amount>[\\d,]{1,15})
104 \ # 15d Amount\n "
105 - 98
106 90D: !!python/object:mt940.tags.SumDebitEntries
107 re: *id002
108 90C: !!python/object:mt940.tags.SumCreditEntries
109 re: *id002
110 transactions:
111 - !!python/object:mt940.models.Transaction
112 data:
113 amount: !!python/object:mt940.models.Amount
114 amount: !!python/object/apply:decimal.Decimal
115 - '500'
116 currency: EUR
117 bank_reference: B4E07XM00J000023
118 currency: EUR
119 customer_reference: NONREF
120 date: !!python/object/apply:mt940.models.Date
121 - !!binary |
122 B94FBw==
123 entry_date: !!python/object/apply:mt940.models.Date
124 - !!binary |
125 B94FBw==
126 extra_details: ''
127 funds_code: null
128 guessed_entry_date: !!python/object/apply:mt940.models.Date
129 - !!binary |
130 B94FBw==
131 id: NTRF
132 status: C
133 transaction_details: 'HIER EEN MOOIE OMSCHRIJVING IN HOOFDLETTERS
134
135 WANT DAT IS ZOALS DE NEDERLANDSE BANKEN COMMUNICEREN'
136 transaction_reference: B4E08MS9D00A0009
137 transactions: *id003
138 - !!python/object:mt940.models.Transaction
139 data:
140 amount: !!python/object:mt940.models.Amount
141 amount: !!python/object/apply:decimal.Decimal
142 - '-7260'
143 currency: EUR
144 bank_reference: B4G29PGCVO7Q06US
145 currency: EUR
146 customer_reference: NONREF
147 date: !!python/object/apply:mt940.models.Date
148 - !!binary |
149 B94HHQ==
150 entry_date: !!python/object/apply:mt940.models.Date
151 - !!binary |
152 B94HHQ==
153 extra_details: ''
154 funds_code: null
155 guessed_entry_date: !!python/object/apply:mt940.models.Date
156 - !!binary |
157 B94HHQ==
158 id: NTRF
159 status: D
160 transaction_details: 'FACTUUR 201403110, 201403113
161
162 REK: NL65INGB0123456789/NAAM: PICQER'
163 transaction_reference: B4G30MS9D00A003D
164 transactions: *id003
165 - !!python/object:mt940.models.Transaction
166 data:
167 amount: !!python/object:mt940.models.Amount
168 amount: !!python/object/apply:decimal.Decimal
169 - '500'
170 currency: EUR
171 bank_reference: B4G29PGDCK1QFV3E
172 currency: EUR
173 customer_reference: 29-07-2014 10:05
174 date: !!python/object/apply:mt940.models.Date
175 - !!binary |
176 B94HHQ==
177 entry_date: !!python/object/apply:mt940.models.Date
178 - !!binary |
179 B94HHQ==
180 extra_details: ''
181 funds_code: null
182 guessed_entry_date: !!python/object/apply:mt940.models.Date
183 - !!binary |
184 B94HHQ==
185 id: NTRF
186 status: C
187 transaction_details: '12160475 0050001631430920 ORDERID: 264267 MEDIA MARKT ONLINE
188 NE
189
190 REK: NL84INGB0234561789/NAAM: MMS ONLINE NEDERLAND B.V.'
191 transaction_reference: B4G30MS9D00A003D
192 transactions: *id003