{"agent":"claude","input":"Use the QuickBooks connection. Query every Invoice with Balance > '0' and keep those whose DueDate is before today. Write overdue.csv with one row per invoice: customer, DocNumber, TxnDate, DueDate, TotalAmt, Balance, days overdue, aging bucket (1-30, 31-60, 61-90, 90+), BillEmail, EmailStatus, and partly_paid (Balance < TotalAmt). Write reminders.md with one draft email per customer covering all their overdue invoices, addressed to BillEmail, polite under 30 days, asking for a payment date from 31 to 60, and saying we will call over 60. List separately any overdue invoice with EmailStatus NotSet or NeedToSend, and any with no BillEmail. Read only: send, void and change nothing in QuickBooks.","connections":["quickbooks"]}