When regenerating an invoice, a security deposit set later on is not taken into account. The invoice must be deleted and reissued.
·