From 99cece17294f0675fe0425d6c461031e60f16563 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Henryk=20Pl=C3=B6tz?= Date: Mon, 10 Sep 2018 16:02:06 +0200 Subject: [PATCH] Fix bug in sepa transfer --- fints/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fints/client.py b/fints/client.py index 9b41fca..4446071 100644 --- a/fints/client.py +++ b/fints/client.py @@ -598,7 +598,7 @@ class FinTS3Client: "name": recipient_name, "IBAN": iban, "BIC": bic, - "amount": int(Decimal(amount) * 100), # in cents + "amount": round(Decimal(amount) * 100), # in cents "execution_date": datetime.date(1999, 1, 1), "description": reason, "endtoend_id": endtoend_id, -- 2.47.2