[T5502][FIX] ensure that amount_total is not zero in only for regular invoices, debit and credit notes