Get discount object from invoice