The way it's supposed to work is if you make a taxable capital gain, you have to declare it to the Revenue, either on your tax return if you do self assessment, or via the real time CGT reporting service otherwise.
Failing to declare a gain, or misrepresenting the purchase price, would be tax...