30th june transactions

ajay aju (29 Points)

08 July 2018  
if purchase of 20000 done on 30th june( invoice raised in VAT), where transaction entered in books is on 2nd july considering GST rates for the same invoice amount.

whether transaction entered in books is correct?

if not , suggest me the correct treatment.