Debian Codegraph @

mt940_tests/cmxl/account_balance_debit.yml

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