How do I record an early settlement discount on a suppler invoice

How do I record an early settlement discount on a suppler invoice

Normally like any other sort of discount, by either applying a negative line or adding a percentage discount retrospectively. I’m afraid there’s no inbuilt way of handling this scenario.