Cost of goods sold = opening stock + net purchases + expenses on purchases - sales.Which part of the formula is wrong?