How to apply discount on MRP that is added as custom field on invoice?

Sorry, it is not possible to add discount on custom fields added on the invoice.

The discount can only applicable on the fixed fields(Unit Price, Price with Tax, Net amount, Total amount).