If there are funds on the customer’s balance due to the previous issue of adjustment credits or a previous offline payment, the amount of which exceeded the invoice, they will be automatically credited to the new invoice.
If the balance is enough for full payment of the invoice, it will be assigned status Paid, and if the customer has to pay some additional amount – status remains Payment Due.