Payment type with manual amount entered than discounted

Are you looking for something like explained under Method 4?