Hi, we are encountering confusing behavior with settling customer payments when a partial invoice amount is paid.
When we enter the partial payment amount (BEFORE discounting) in the Amount to Settle field, the partial discount amount is calculated correctly and shown in the Cash Discount field, but in the Totals section at the bottom, for Settlement Balance it shows that same partial discount amount. After posting the settlement, the invoice's remaining balance is the shortpaid amount PLUS the partial discount amount.
If we then go back and change the Amount to Settle to that of the partial payment amount AFTER discounting, and make sure the Cash Discount is still the correct partial amount, the Settlement Balance changes to 0. In most recent testing, the invoice's remaining balance was just the shortpaid amount, although I'm pretty sure other times I have seen the invoice's remaining balance to be the PLUS the partial discount amount again.
But if assuming the most recent testing is indicative of typical behavior, the correct Amount to Settle for fully-paid invoices is BEFORE discounting, but for shortpaid invoices is AFTER discounting?
I should note that in accounts receivable parameters, we do have 'Calculate cash discounts for partial payments' set to Yes. Also, in most cases we are settling outside of the invoices' cash discount date, so we set 'Allow cash discount' to Always. More confusing behavior -- whenever we switch the 'Allow cash discount' from Normal to Always, it resets the Amount to Settle to the full amount of the invoice, so we have to go back and re-enter the partial payment amount.