No institution here gives you credit if your 1st of the month is paid in advance by say 20 days. You can argue this all you want but the payment won't reduce your interest rate by doing that. However making payments in excess of the payment due does have an effect depending on the terms of the loan. This varies by country so again you can't use any off the shelf solution.
The company that gave the loan has to supply you with the new numbers.
Now if this was for no more than a theoretical use you can get such for Excel and other sheets. Such as: https://www.google.com/#q=excel+loan+chart+template
There I see one with "extra payments." But again these may not match your institutions results.
I would like to be able to calculate the remaining amount of loan due after each payment on a loan with irregular payment dates and irregular amounts. Is this possible?