Boafgift er en afgift, der betales til staten i forbindelse med arv.