Debian Codegraph @

mt940_tests/cmxl/statement_number.yml

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