https://yourfinancebook.com/how-to-define-accounts-for-cash-discount/
How to define accounts for cash discount