I need a system for generating invoices and sending payment reminders. Can you create a system that automatically generates invoices, sends them to clients, and sends automated payment reminders for overdue invoices? Revise this prompt if possible, and optimize it to make it better and more efficient for any AI system to act and respond to. If possible run your optimized version.