Browse Source
[11.0] [MIG] account_bank_statement_import_mt940_base.
[11.0] [MIG] account_bank_statement_import_mt940_base.
Update version to 11. Get balance start even if currency code is already set. Add SNS test, add header_lines parameter in parse file. Update code, add pre process datafile to change from different format to only one, statements as dict starting with {4:..}, split file to import multiple statements at once, the check of date of statement import not implemented, be carefully not to import twice the same statements. Update flake. Add wrong file.pull/137/head
Fekete Mihai
7 years ago
6 changed files with 245 additions and 84 deletions
-
5account_bank_statement_import_mt940_base/README.rst
-
21account_bank_statement_import_mt940_base/__manifest__.py
-
75account_bank_statement_import_mt940_base/mt940.py
-
78account_bank_statement_import_mt940_base/test_files/test-sns.940
-
11account_bank_statement_import_mt940_base/test_files/test-wrong-file.940
-
89account_bank_statement_import_mt940_base/tests/test_import_bank_statement.py
@ -0,0 +1,78 @@ |
|||
{1:F01SNSBNL2AXXXX0000000000}{2:O940SNSBNL2AXXXXN}{3:}{4: |
|||
:20:0000000000 |
|||
:25:NL05SNSB0908244436 |
|||
:28C:361/1 |
|||
:60F:C171227EUR3026,96 |
|||
:61:1712271227D713,13NOVBNL49RABO0166416932 |
|||
gerrits glas en schilderwerk |
|||
:86:NL49RABO0166416932 gerrits glas en schilderwerk |
|||
|
|||
Factuur 17227/248/20 |
|||
|
|||
|
|||
|
|||
:61:1712271227D10,18NBEA//228ohu/972795 |
|||
:86: |
|||
|
|||
Jumbo Wijchen B.V. >WIJCHEN 27.12.2017 13U38 KV005 4XZJ4Z M |
|||
CC:5411 Contactloze betaling |
|||
|
|||
|
|||
:61:1712271227D13,52NINCNL94INGB0000869000 |
|||
vitens nv |
|||
:86:NL94INGB0000869000 vitens nv |
|||
|
|||
Europese incasso door:VITENS NV NL-Factuurnr 072304597540 VNKlant |
|||
nr 00000000000 BTW 0,77PC 6605 DW 6223, DEC-Incassant ID: NL84ZZZ0 |
|||
50695810000-Kenmerk Machtiging: bla |
|||
|
|||
:61:1712271227D25,61NBEA//229hro/195867 |
|||
:86: |
|||
|
|||
Albert Heijn 1370 >WIJCHEN 27.12.2017 19U13 KV006 70X708 M |
|||
CC:5411 |
|||
|
|||
|
|||
:62F:C171227EUR2264,52 |
|||
-}{5:} |
|||
{1:F01SNSBNL2AXXXX0000000000}{2:O940SNSBNL2AXXXXN}{3:}{4: |
|||
:20:0000000000 |
|||
:25:NL05SNSB0908244436 |
|||
:28C:362/1 |
|||
:60F:C171228EUR2264,52 |
|||
:61:1712281228D10,95NINCNL40RABO0127859497 |
|||
antagonist b.v. |
|||
:86:NL40RABO0127859497 antagonist b.v. |
|||
|
|||
Europese incasso door:ANTAGONIST B.V. NL-DDWPN954156 AI529942Cweb |
|||
share.nl-Incassant ID: NL65ZZZ091364410000-Kenmerk Machtiging: bla |
|||
|
|||
:61:1712281228C0,00NDIV |
|||
:86: |
|||
|
|||
Mobiel betalen is vanaf nu niet meer mogelijk voor B |
|||
ERG M A VAN DEN met Lenovo P2 |
|||
|
|||
|
|||
:62F:C171228EUR2253,57 |
|||
-}{5:} |
|||
{1:F01SNSBNL2AXXXX0000000000}{2:O940SNSBNL2AXXXXN}{3:}{4: |
|||
:20:0000000000 |
|||
:25:NL05SNSB0908244436 |
|||
:28C:363/1 |
|||
:60F:C171229EUR2253,57 |
|||
:61:1712291229D907,29NINCNL19ABNA0427093546 |
|||
florius |
|||
:86:NL19ABNA0427093546 florius |
|||
|
|||
Europese incasso door:FLORIUS NL-Verschuldigde bedragen PERIODE 1 |
|||
2-2017-Incassant ID: NL42ZZZ080242850000-Kenmerk Machtiging: bla |
|||
|
|||
:61:1712291229D35,00NINCNL28DEUT0265186439 |
|||
stichting derdengelden bucka |
|||
:86:NL28DEUT0265186439 stichting derdengelden bucka |
|||
|
|||
Europese incasso door:STICHTING DERDENGELDEN BUCKAROO-T-Mobile Th |
|||
uis B.V.: Rekening dec 2017. Bekijk je rekening op thuismy.t-mobi |
|||
le.nl-Incassant ID: NL39ZZZ302317620000-Kenmerk Machtiging: bla |
|||
-}{5:} |
@ -0,0 +1,11 @@ |
|||
:9401: |
|||
:20:940S140102 |
|||
:25:NL34RABO0142623393 EUR |
|||
:28C:0 |
|||
:60F:C131231EUR000000004433,52 |
|||
:61:140102C000000000400,00N541NONREF |
|||
NL66RABO0160878799 |
|||
:86:/ORDP//NAME/R. SMITH/ADDR/Green market 74 3311BE Sheepcity Nederl |
|||
and NL/REMI/Test money paid by other partner: |
|||
/ISDT/2014-01-02 |
|||
:62F:C140102EUR000000004833,52 |
Write
Preview
Loading…
Cancel
Save
Reference in new issue