removing ICMS ret value, negating product value for devolutions and returns, and filtering out ICMS credits and transfers