| 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 |
FRST_ONE_OFF_RECC: null |
| 92 |
additional_position_date: null |
| 93 |
additional_position_reference: CAC97D2144174318AC18D9BF815BD4FB |
| 94 |
additional_purpose: null |
| 95 |
amount: !!python/object:mt940.models.Amount |
| 96 |
amount: !!python/object/apply:decimal.Decimal |
| 97 |
- '-1.62' |
| 98 |
currency: null |
| 99 |
applicant_bin: HYVEDEMMXXX |
| 100 |
applicant_creditor_id: DE98ZZZ09999999999 |
| 101 |
applicant_iban: HUkkbbbsssskcccccccccccccccx |
| 102 |
applicant_name: Peter Pan |
| 103 |
bank_reference: 025498557/000001 |
| 104 |
compensation_amount: null |
| 105 |
currency: null |
| 106 |
customer_reference: null |
| 107 |
date: !!python/object/apply:mt940.models.Date |
| 108 |
- !!binary | |
| 109 |
B94JAQ== |
| 110 |
debitor_identifier: null |
| 111 |
deviate_applicant: null |
| 112 |
deviate_recipient: null |
| 113 |
end_to_end_reference: TRX-0A4A47C3-F846-4729-8A1B-5DF620F |
| 114 |
entry_date: !!python/object/apply:mt940.models.Date |
| 115 |
- !!binary | |
| 116 |
B94JAg== |
| 117 |
extra_details: '' |
| 118 |
funds_code: R |
| 119 |
guessed_entry_date: !!python/object/apply:mt940.models.Date |
| 120 |
- !!binary | |
| 121 |
B94JAg== |
| 122 |
gvc_applicant_bin: null |
| 123 |
gvc_applicant_iban: null |
| 124 |
id: NTRF |
| 125 |
old_SEPA_CI: null |
| 126 |
old_SEPA_additional_position_reference: null |
| 127 |
original_amount: null |
| 128 |
posting_text: SEPA LASTSCHRIFT KUNDE |
| 129 |
prima_nota: '281' |
| 130 |
purpose: FOO TRX-0A4A47C3-F846-4729-8A1B-5DF620F |
| 131 |
purpose_code: null |
| 132 |
recipient_name: null |
| 133 |
return_debit_notes: '171' |
| 134 |
settlement_tag: null |
| 135 |
status: D |
| 136 |
transaction_code: '171' |
| 137 |
transactions: *id003 |