Download HMRC Corporation Tax receipts by type
Source:R/hmrc_corporation_tax.R
hmrc_corporation_tax.RdDownloads and tidies the HMRC Corporation Tax Statistics annual publication, reporting receipts broken down by tax type for the most recent six financial years. Published annually in September.
Source
https://www.gov.uk/government/collections/analyses-of-corporation-tax-receipts-and-liabilities
Details
Some levies (e.g. Residential Property Developer Tax, Electricity
Generators Levy) were introduced mid-series and have NA values for
earlier years.
Examples
# \donttest{
op <- options(hmrc.cache_dir = file.path(tempdir(), "hmrc"))
try({
ct <- hmrc_corporation_tax()
ct[ct$type == "all_corporate_taxes", ]
})
#> ℹ Resolving download URL from GOV.UK Content API
#> ✔ Resolving download URL from GOV.UK Content API [177ms]
#>
#> ℹ Downloading data file
#> ✔ Downloading data file [940ms]
#>
#> ℹ Parsing data
#> ✔ Parsing data [66ms]
#>
#> # Corporation Tax statistics
#> # Source: https://www.gov.uk/government/statistics/corporation-tax-statistics-2026
#> # Fetched 2026-11-01 14:05:08 UTC | Vintage: latest | Cells: cash | Freq: annual | 6 rows x 4 cols
#>
#> tax_year type description receipts_gbp_m
#> 1 2020-21 all_corporate_taxes All Corporate Taxes 54238.08
#> 2 2021-22 all_corporate_taxes All Corporate Taxes 67548.22
#> 3 2022-23 all_corporate_taxes All Corporate Taxes 84595.59
#> 4 2023-24 all_corporate_taxes All Corporate Taxes 93694.90
#> 5 2024-25 all_corporate_taxes All Corporate Taxes 96917.48
#> 6 2025-26 all_corporate_taxes All Corporate Taxes 100410.65
options(op)
# }