From 21e9a021c5cc79694c390883758a1dd9bf9ec574 Mon Sep 17 00:00:00 2001 From: dankl Date: Sun, 27 Oct 2019 22:05:00 +0100 Subject: [PATCH] Fixed debitor IBAN and BIC --- .../segmente/implementierte/sepa/SepaEinzelueberweisung.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fints4javaLib/src/main/kotlin/net/dankito/fints/messages/segmente/implementierte/sepa/SepaEinzelueberweisung.kt b/fints4javaLib/src/main/kotlin/net/dankito/fints/messages/segmente/implementierte/sepa/SepaEinzelueberweisung.kt index ea986426..8db66777 100644 --- a/fints4javaLib/src/main/kotlin/net/dankito/fints/messages/segmente/implementierte/sepa/SepaEinzelueberweisung.kt +++ b/fints4javaLib/src/main/kotlin/net/dankito/fints/messages/segmente/implementierte/sepa/SepaEinzelueberweisung.kt @@ -19,8 +19,8 @@ open class SepaEinzelueberweisung( 1, sepaDescriptorUrn, "pain.001.001.03.xml", - data.creditorIban, - data.creditorBic, + debitor.iban ?: "", // TODO: what to do if iban is not set? + debitorBic, mapOf( SepaMessageCreator.NumberOfTransactionsKey to "1", // TODO: may someday support more then one transaction per file "DebitorName" to debitor.name,