Record the correct amount in case of partial payments

Signed-off-by: Malte Sussdorff <malte.sussdorff@cognovis.com>