When testing partial refunds in Invoice Ninja I am refunding on invoice applied to the payment. When processing the refund I am seeing the total refund amount on the payment increased by the amount but the Paid To Date amount on the invoice still includes the payment amount. The balance due is correct on the invoice.
Another thing I am seeing is on the non-refunded invoice the status is updated to Partial even though that invoice is still fully paid. When I go back to refund the invoice amount I get the following error:
422: The given data was invalid.
• Invoice id: number cannot be refunded