invoice discount fix