You should consider getting proper legal or tax advice before you approach either Revenue or a local authority with your hands up. If you rented the entire property without retaining a right to live there in at least one room, you're probably snookered but its high stakes and it may be worth doing your homework.