Legal settlements in accounting