Debian Codegraph @

mt940_tests/jejik/rabobank-iban.yml

raw
1 &id003 !!python/object:mt940.models.Transactions
2 data:
3 account_identification: NL71RABO0123456789
4 final_closing_balance: !!python/object:mt940.models.Balance
5 amount: !!python/object:mt940.models.Amount
6 amount: !!python/object/apply:decimal.Decimal
7 - '930.00'
8 currency: EUR
9 date: !!python/object/apply:mt940.models.Date
10 - !!binary |
11 B90BDw==
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 - '965.00'
17 currency: EUR
18 date: !!python/object/apply:mt940.models.Date
19 - !!binary |
20 B90BCA==
21 status: C
22 sequence_number: null
23 statement_number: '0'
24 transaction_reference: 940S130101
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 - '-25.00'
116 currency: EUR
117 bank_reference: null
118 currency: EUR
119 customer_reference: EREF
120 date: !!python/object/apply:mt940.models.Date
121 - !!binary |
122 B90BAQ==
123 extra_details: NL70ABNA0987654321
124 funds_code: null
125 id: N102
126 status: D
127 transaction_details: '/EREF/01-01-2013 12:00 0030000987654321/BENM//NAME/CONTRA
128 ACCOUN
129
130 T HOLDER/REMI//ISDT/2013-07-11'
131 transaction_reference: 940S130101
132 transactions: *id003
133 - !!python/object:mt940.models.Transaction
134 data:
135 amount: !!python/object:mt940.models.Amount
136 amount: !!python/object/apply:decimal.Decimal
137 - '-10.00'
138 currency: EUR
139 bank_reference: null
140 currency: EUR
141 customer_reference: NONREF
142 date: !!python/object/apply:mt940.models.Date
143 - !!binary |
144 B90BAg==
145 extra_details: P001234567
146 funds_code: null
147 id: N154
148 status: D
149 transaction_details: /BENM//NAME/JOHN DOE/REMI/Reference 201301234/ISDT/2013-01-02
150 transaction_reference: 940S130101
151 transactions: *id003
152 - !!python/object:mt940.models.Transaction
153 data:
154 amount: !!python/object:mt940.models.Amount
155 amount: !!python/object/apply:decimal.Decimal
156 - '-25.00'
157 currency: EUR
158 bank_reference: null
159 currency: EUR
160 customer_reference: EREF
161 date: !!python/object/apply:mt940.models.Date
162 - !!binary |
163 B90BCA==
164 extra_details: NL70ABNA0987654321
165 funds_code: null
166 id: N102
167 status: D
168 transaction_details: '/EREF/08-01-2013 12:00 0030000987654321/BENM//NAME/CONTRA
169 ACCOUN
170
171 T HOLDER/REMI//ISDT/2013-07-11'
172 transaction_reference: 940S130101
173 transactions: *id003
174 - !!python/object:mt940.models.Transaction
175 data:
176 amount: !!python/object:mt940.models.Amount
177 amount: !!python/object/apply:decimal.Decimal
178 - '-10.00'
179 currency: EUR
180 bank_reference: null
181 currency: EUR
182 customer_reference: NONREF
183 date: !!python/object/apply:mt940.models.Date
184 - !!binary |
185 B90BCQ==
186 extra_details: P001234567
187 funds_code: null
188 id: N154
189 status: D
190 transaction_details: /BENM//NAME/JOHN DOE/REMI/Reference 201301234/ISDT/2013-01-09
191 transaction_reference: 940S130101
192 transactions: *id003