How do you record credit memorandum?