Issue with payments on invoices

Issue with payments on invoices

Hello,

I’m having the following issue. When I create an invoice and try to apply a partial payment in a single transaction, the system does not allow it — it only allows full payment. Is this the expected behavior, or am I missing some configuration? Or am I doing something incorrectly?


Another issue I’m having is the following: when I create a sales order, generate the invoice with a partial payment, and then process a return and credit note only for the amount that had actually been paid on the invoice, the invoice still remains open. That does not seem correct because I am processing a return.


However, if I create the credit note for the full invoice amount, then the invoice is marked as canceled, but it also creates a customer credit balance for an amount that was never actually paid by the customer.


What would be the correct way to handle this scenario?