From c66f27d88bd4167bb10395754c5e44fc4d526f0a Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 24 Sep 2020 03:17:40 +0200 Subject: [PATCH] Fixed parsing the correct amount --- .../kotlin/net/dankito/banking/fints/response/ResponseParser.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/ResponseParser.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/ResponseParser.kt index 275d13cd..6d8ea3dc 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/ResponseParser.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/ResponseParser.kt @@ -698,7 +698,7 @@ open class ResponseParser( val bookingDate = parseDate(dataElements[1]) val valueDate = parseDate(dataElements[2]) - val amount = parseCreditCardAmount(dataElements.subList(4, 7)) + val amount = parseCreditCardAmount(dataElements.subList(8, 11)) val otherPartyName = parseString(dataElements[11]) val isCleared = parseBoolean(dataElements[20])