Lumpsum Discount option at invoice

Discount amount should be entered one time, may be enter in customer profile and automatically showed while creating invoice and that should be editable

You can create a discount expense account and even a discount item (non-Inventory item) for that purpose.
Just select the account or item and enter a negative number.

Ok-good solution, the non inventory item is created but how can automatically calculate the discount amount that will be entered is system

This method cannot be automated