Debian Codegraph @

mt940_tests/cmxl/statement_line.yml

raw
1 &id003 !!python/object:mt940.models.Transactions
2 data: {}
3 tags:
4 13: !!python/object:mt940.tags.DateTimeIndication
5 re: !!python/object/apply:re._compile
6 - "^\n (?P<year>\\d{2})\n (?P<month>\\d{2})\n (?P<day>\\d{2})\n (?P<hour>\\d{2})\n
7 \ (?P<minute>\\d{2})\n (\\+(?P<offset>\\d{4})|)\n "
8 - 98
9 20: !!python/object:mt940.tags.TransactionReferenceNumber
10 re: !!python/object/apply:re._compile
11 - (?P<transaction_reference>.{0,16})
12 - 98
13 21: !!python/object:mt940.tags.RelatedReference
14 re: !!python/object/apply:re._compile
15 - (?P<related_reference>.{0,16})
16 - 98
17 25: !!python/object:mt940.tags.AccountIdentification
18 re: !!python/object/apply:re._compile
19 - (?P<account_identification>.{0,35})
20 - 98
21 28: !!python/object:mt940.tags.StatementNumber
22 re: !!python/object/apply:re._compile
23 - "\n (?P<statement_number>\\d{1,5}) # 5n\n (?:/?(?P<sequence_number>\\d{1,5}))?
24 \ # [/5n]\n $"
25 - 98
26 60: !!python/object:mt940.tags.OpeningBalance
27 re: &id001 !!python/object/apply:re._compile
28 - "^\n (?P<status>[DC]) # 1!a Debit/Credit\n (?P<year>\\d{2}) # 6!n Value
29 Date (YYMMDD)\n (?P<month>\\d{2})\n (?P<day>\\d{2})\n (?P<currency>.{3})
30 \ # 3!a Currency\n (?P<amount>[0-9,]{0,16}) # 15d Amount (includes decimal
31 sign, so 16)\n "
32 - 98
33 60M: !!python/object:mt940.tags.IntermediateOpeningBalance
34 re: *id001
35 60F: !!python/object:mt940.tags.FinalOpeningBalance
36 re: *id001
37 61: !!python/object:mt940.tags.Statement
38 re: !!python/object/apply:re._compile
39 - "^\n (?P<year>\\d{2}) # 6!n Value Date (YYMMDD)\n (?P<month>\\d{2})\n
40 \ (?P<day>\\d{2})\n (?P<entry_month>\\d{2})? # [4!n] Entry Date (MMDD)\n
41 \ (?P<entry_day>\\d{2})?\n (?P<status>R?[DC]) # 2a Debit/Credit Mark\n
42 \ (?P<funds_code>[A-Z])? # [1!a] Funds Code (3rd character of the currency\n
43 \ # code, if needed)\n [\\n ]? # apparently some
44 banks (sparkassen) incorporate newlines here\n # cuscal can also send a space
45 here as well\n (?P<amount>[\\d,]{1,15}) # 15d Amount\n (?P<id>[A-Z][A-Z0-9
46 ]{3})? # 1!a3!c Transaction Type Identification Code\n # We need the (slow)
47 repeating negative lookahead to search for // so we\n # don't acciddntly
48 include the bank reference in the customer reference.\n (?P<customer_reference>((?!//)[^\\n]){0,16})
49 \ # 16x Customer Reference\n (//(?P<bank_reference>.{0,23}))? # [//23x]
50 Bank Reference\n (\\n?(?P<extra_details>.{0,34}))? # [34x] Supplementary
51 Details\n $"
52 - 98
53 62: !!python/object:mt940.tags.ClosingBalance
54 re: *id001
55 62M: !!python/object:mt940.tags.IntermediateClosingBalance
56 re: *id001
57 62F: !!python/object:mt940.tags.FinalClosingBalance
58 re: *id001
59 64: !!python/object:mt940.tags.AvailableBalance
60 re: *id001
61 65: !!python/object:mt940.tags.ForwardAvailableBalance
62 re: *id001
63 86: !!python/object:mt940.tags.TransactionDetails
64 re: !!python/object/apply:re._compile
65 - "\n (?P<transaction_details>(([\\s\\S]{0,65}\\r?\\n?){0,8}[\\s\\S]{0,65}))\n
66 \ "
67 - 98
68 34: !!python/object:mt940.tags.FloorLimitIndicator
69 re: !!python/object/apply:re._compile
70 - "^\n (?P<currency>[A-Z]{3}) # 3!a Currency\n (?P<status>[DC ]?) # 2a
71 Debit/Credit Mark\n (?P<amount>[0-9,]{0,16}) # 15d Amount (includes decimal
72 sign, so 16)\n $"
73 - 98
74 NS: !!python/object:mt940.tags.NonSwift
75 re: !!python/object/apply:re._compile
76 - "\n (?P<non_swift>\n (\n (\\d{2}.{0,})\n (\\n\\d{2}.{0,})*\n
77 \ )|(\n [^\\n]*\n )\n )\n $"
78 - 98
79 90: !!python/object:mt940.tags.SumEntries
80 re: &id002 !!python/object/apply:re._compile
81 - "^\n (?P<number>\\d*)\n (?P<currency>.{3}) # 3!a Currency\n (?P<amount>[\\d,]{1,15})
82 \ # 15d Amount\n "
83 - 98
84 90D: !!python/object:mt940.tags.SumDebitEntries
85 re: *id002
86 90C: !!python/object:mt940.tags.SumCreditEntries
87 re: *id002
88 transactions:
89 - !!python/object:mt940.models.Transaction
90 data:
91 amount: !!python/object:mt940.models.Amount
92 amount: !!python/object/apply:decimal.Decimal
93 - '-1.62'
94 currency: null
95 bank_reference: 025498557/000001
96 currency: null
97 customer_reference: 0000549855700010
98 date: !!python/object/apply:mt940.models.Date
99 - !!binary |
100 B94JAQ==
101 entry_date: !!python/object/apply:mt940.models.Date
102 - !!binary |
103 B94JAg==
104 extra_details: ''
105 funds_code: R
106 guessed_entry_date: !!python/object/apply:mt940.models.Date
107 - !!binary |
108 B94JAg==
109 id: NTRF
110 status: D
111 transactions: *id003