Gst not deposited by vendor, how to claim

Kamal Pal (Dy. Mgr. Accounts) (128 Points)

23 March 2018  
Dear All, This is query which can be understand only with the example below, kindly have a look and reply. X company have taken a premise on rent from landlord Y, Z is the maintenance company of building who bills Y the landlord for the maintenance charges but X pays the maintenance charge as per rent agreement, now when X checks his GST input he finds Z have not deposited any tax on behalf of X and deposited tax on behalf of Y because the billing are done directly to Y not X. The problem is X do not want to enter in the agreement of maintenance with Z because it demands a six month security deposit which impacts the X's working capital very bad. My question here is if X pays all dues with tax to Z and billing and tax deposit are being done in favor of Y will the X be eligible to claim the input tax in this condition? Or is there any alternative or solution to this issue.