diff --git a/modules/amundi/pages.py b/modules/amundi/pages.py index 639e05f6ef71ff979617c929e821ec31563400b6..02c2b7fa8a94952ffaae9565b287e4d12beb2bb3 100644 --- a/modules/amundi/pages.py +++ b/modules/amundi/pages.py @@ -116,7 +116,10 @@ def get_amount(self, instructions, account): if ('nomDispositif' in ins and 'montantNet' in ins and 'codeDispositif' in ins and '%s%s' % (ins['nomDispositif'], ins['codeDispositif']) == '%s%s' % (account.label, account.id)): - amount += ins['montantNet'] + if ins['type'] == 'RACH_TIT': + amount -= ins['montantNet'] + else: + amount += ins['montantNet'] return CleanDecimal().filter(amount)