I created topic before, you can read in Giving products back from sales and purchases. Credit note is used for returns