Fetching details from the dictionary...
writing off (a debt); cancellation; balancing the books
cancelling out (gains or losses); making even; making up (for); offsetting; undoing; wiping out