Overdue list for the reminder script
Query Sales Invoices No Lines for invoices with an Outstanding amount whose Due date passed in the last 7 days and write Contact name, Invoice Number, Due date and Outstanding amount to data/overdue.csv.
An operations analyst keeps a small script that drafts payment reminders. Each morning Gemini CLI refreshes the input file in the repo, and the analyst reviews the diff before the script runs.