From: Raphael Michel Date: Mon, 3 Dec 2018 08:40:25 +0000 (+0100) Subject: For KTI, we should not pass legacy bank information if we have SEPA X-Git-Tag: v2.0.0~1^2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=125baf074b4c2ac36d38edcff7b3b170dc206eea;p=thirdparty%2Fpython-fints.git For KTI, we should not pass legacy bank information if we have SEPA Otherwise, this breaks with Nationale Kontoverbindung nicht erlaubt. (TRP) --- diff --git a/fints/formals.py b/fints/formals.py index 3f6b6b2..3391246 100644 --- a/fints/formals.py +++ b/fints/formals.py @@ -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 - ) )