How to account for a sales discount