A financial liability is derecognized when the obligation under the liability is discharged, cancelled or has expired. When an existing financial liability is replaced by another from the same lender on substantially different terms, or the terms of an existing liability are substantially modified, such an exchange or modification is treated as derecognition of the original liability and the recognition of a new liability, and the difference in the respective carrying amounts is recognized in profit or loss.