1. Sold goods worth 5000 to Mr. A. Received Rs. 2500 in cash.

    Mr. A   a/c Dr.   2500
    cash          Dr.  2500

Sales a/c             5000
on selecting sales voucher it does not work. It works in Receipt.

how to deal with this entry in sales voucher mode as well sales invoice.

Please help.