]> git.ipfire.org Git - thirdparty/python-fints.git/commitdiff
For KTI, we should not pass legacy bank information if we have SEPA
authorRaphael Michel <mail@raphaelmichel.de>
Mon, 3 Dec 2018 08:40:25 +0000 (09:40 +0100)
committerRaphael Michel <mail@raphaelmichel.de>
Mon, 3 Dec 2018 18:35:36 +0000 (19:35 +0100)
Otherwise, this breaks with

Nationale Kontoverbindung nicht erlaubt. (TRP)

fints/formals.py

index 3f6b6b2b422fafa686aa60f010dec0241cb126c3..33912462d0d6ca992f6935899ca530d619ebf868 100644 (file)
@@ -453,12 +453,6 @@ class KTI1(DataElementGroup):
         return cls(
             iban=acc.iban,
             bic=acc.bic,
-            account_number=acc.accountnumber,
-            subaccount_number=acc.subaccount,
-            bank_identifier=BankIdentifier(
-                country_identifier='280',
-                bank_code=acc.blz
-            )
         )