Receiving money

can some on help please
when i reciept a payment that is less than the amount of a specific invoice
(in other words where there is a discount involved ) it does not pick the payment up. It does not reflect as being paid on the invoice In the bank accout it reflects as zero
Thanks

please do not worry have sorted out
Thanks