This report creates a positive margin for Credit Notes. It should be negative. As a result the Total margin will be incorrect.