Ok Here's the scenario :
I do create an Invoice of $522.46. from the DI API
The client do it in 2 kind of payment, one of $250 and one of $300
Now since the Incoming Payment needs to be the exact DocTotal of the Invoice,
In which property do I set the refund of 27.54 so the Incoming Payment can accept the 2 payments ?
I'm asking because when I try to create the Incoming Payments for this invoice
hence : oIncomingPayments.Invoices.SumApplied and add the 2 payments, it doesn't accept it. But if the sum of the 2 payments equal de DocTotal of the invoice, it works.
Thank you for you support