Hi Lukas2019,
You may be able to handle this use case using the order.paymentTerms.paymentSchedules list (show below) and iterating through the payment schedules to test if it should have a reminder send and then send the reminder.
Hope that helps!
