Hello experts,
I'm using DI API to transport invoices, payments, credit notes, etc. from my DB to SB1.
In the payments I need to do a discount to the invoice been paid, but I need to subtract the net amount not a percentage.
I only see this property on DI API: DiscountPercent but this is not working for a couple of decimals, so thats why I need to subtract the exact amount.
I know I cannot subtract the amount of the PaidSum property because SB1 will take the payment as a partial payment.
Thanks for the help.
Gab.