bill date is 15/05/2021 gst claimed and book entered 15/05/2021 date bill amount paid on 15/07/2021 tds deducted on 15/07/2021 tds paid on 4th August 2021
Since you have booked the transaction on 15th May, TDS should have been deducted and paid on or before 7th June 2021 else interest would be applicable.
Bill date is not so important, TDS should deductible on date of debit to the expenditure or payment to the vendor which ever is earlier, and TDS should deposit within 7 days after the last day of previous month