HMRC's Code of Practice 8 outlines the guidelines and principles that govern how Her Majesty's Revenue and Customs operates in relation to tax investigations. This framework seeks to ensure fairness, transparency, and competence throughout the investigation process. It addresses a range of topics, such as taxpayer rights, communication protocols, e