Credit note now subtracted from invoice when creating customer payment via API

API Version 9.76

Earlier, when creating a customer payment with an invoice and a credit note using the CustomerPayment API endpoint, the credit note was not subtracted from the invoice. This has now been fixed.