This page has found a new home
How to create Credit Memo programmatically in magento