When a cheque receive from a and dicount allowed at same day then entry will be?

Debit discount allowed and credit purcahses