journal entry for settlement of account