"We are of the opinion that though the High Courts have power to pass any appropriate order in the exercise of the powers conferred under Article 226 of the Constitution, such a petition solely praying for the issue of a writ of mandamus directing the State to refund the money is not ordinarily maintainable for the simple reason that a claim for such a refund can always be made in a suit against the authority which had illegally collected the money as a tax.
We, therefore, hold that normally petitions solely praying for the refund of money against the State by a writ of mandamus are not to be entertained. The aggrieved party has the right of going to the civil court for claiming the amount and it is open to the State to raise all possible defences to the claim, defences which cannot, in most cases, be appropriately raised and considered in the exercise of writ jurisdiction."
2001 (2) SCC 549 relied in ABL v. ECGC, 2004 (3) SCC 553