IDG40310 | Sharing information outside of HMRC: lawful disclosure: with customer's consent
From HM Revenue & Customs · Information Disclosure Guide
HMRC may disclose information with the consent of each person to whom the information relates. Please see IDG30210 for what constitutes valid consent and the various ways in which it can be captured.