How do I enter an account in my chart of accounts for vendor discounts? This is an expense item, right?

Then how do I record the discount when I enter the transaction?