HMRC's Code of Practice 8 details the guidelines and principles that govern how Her Majesty's Revenue and Customs operates in relation to tax investigations. This document endeavors to ensure fairness, transparency, and competence throughout the investigation process. It encompasses a range of topics, including taxpayer rights, communication protoc