{
  "url": "https://openlegislation.uk/commissioners-for-revenue-and-customs-act-2005/section-22",
  "json_url": "https://openlegislation.uk/commissioners-for-revenue-and-customs-act-2005/section-22.json",
  "legislation": "ukpga/2005/11",
  "legislation_title": "Commissioners for Revenue and Customs Act 2005",
  "legislation_url": "https://openlegislation.uk/commissioners-for-revenue-and-customs-act-2005",
  "path": "section/22",
  "kind": "section",
  "number": "22",
  "heading": "Data protection, &c.",
  "text": "(1) Nothing in sections 17 to 21 authorises the making of a disclosure which—\n(a) contravenes the data protection legislation , or\n(b) is prohibited by any of Parts 1 to 7 or Chapter 1 of Part 9 of the Investigatory Powers Act 2016 .\n(2) In this section, “the data protection legislation” has the same meaning as in the Data Protection Act 2018 (see section 3 of that Act).",
  "extent": "E+W+S+N.I.",
  "status": null,
  "version": "current",
  "annotations": [
    {
      "type": "F",
      "label": "F1",
      "text": "S. 22(1): s. 22 renumbered as s. 22(1) (25.5.2018) by Data Protection Act 2018 (c. 12), s. 212(1), Sch. 19 para. 110(2) (with ss. 117, 209, 210); S.I. 2018/625, reg. 2(1)(g)"
    },
    {
      "type": "F",
      "label": "F2",
      "text": "Words in s. 22(1)(a) substituted (25.5.2018) by Data Protection Act 2018 (c. 12), s. 212(1), Sch. 19 para. 110(3) (with ss. 117, 209, 210); S.I. 2018/625, reg. 2(1)(g)"
    },
    {
      "type": "F",
      "label": "F3",
      "text": "Words in s. 22(1)(b) substituted (27.6.2018) by Investigatory Powers Act 2016 (c. 25), s. 272(1), Sch. 10 para. 18 (with Sch. 9 paras. 7, 8, 10); S.I. 2018/652, reg. 12(g)(iii)"
    },
    {
      "type": "F",
      "label": "F4",
      "text": "S. 22(2) inserted (25.5.2018) by Data Protection Act 2018 (c. 12), s. 212(1), Sch. 19 para. 110(4) (with ss. 117, 209, 210); S.I. 2018/625, reg. 2(1)(g)"
    },
    {
      "type": "I",
      "label": "I1",
      "text": "S. 22 in force at 7.4.2005 by S.I. 2005/1126, art. 2(1)"
    }
  ],
  "outstanding_effects": [],
  "provenance": {
    "source": "legislation.gov.uk",
    "source_url": "https://www.legislation.gov.uk/ukpga/2005/11/section/22",
    "retrieved_at": "2026-10-29T09:16:15.638584+00:00"
  },
  "licence": "Open Government Licence v3.0",
  "licence_url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
  "attribution": "Contains public sector information licensed under the Open Government Licence v3.0. Source: legislation.gov.uk, The National Archives."
}