Tax on lump sum death benefit payments

How to deal with lump sum death benefit payments and what tax to deduct.
Source: HMRC