automation scripts | Python: invoices, contacts, bank, files

Made-up example, already run below: a freelance designer's invoices.csv with 12 invoices, checked on Nov 18, 2026. The overdue invoices script finds $4,910.00 unpaid past the due date on 6 invoices, $1,900.00 of it more than 60 days late, and drafts one reminder email per client. INV-1038 turns 31 days late on Nov 22, 2026. Another 3 invoices, $2,975.50, are not due yet.

Five Python automation scripts for the files freelancers and small sellers handle every week. Pick a script, drop in your own CSV or files, and see exactly what it will do before anything runs on your computer. Same rules every run, no AI guessing, nothing uploaded: the preview runs in this browser.

Free: any of the five scripts on your own file, every row, the whole result on screen. $29 once or $6.99 per month.

Your file and settings

Using the made-up example file.

How the scripts decide

Overdue invoices: an invoice is open while the paid-on cell is empty (or, if your file has an amount-paid column, while amount minus paid is above zero). Days late = the check date minus the due date. Buckets 1-30, 31-60, 61-90 and 91+ days; "enters next bucket" is the date it moves up. One reminder per client lists all of that client's late invoices; past 30 days the wording is firmer, past 60 it is a final reminder. The script writes the drafts; it does not send email.

Duplicate contacts: emails are compared without spaces and capitals. The first row is kept and empty cells in it are filled from its duplicates. Rows without an email can be matched on the last 10 digits of the phone number.

Bank categories: the first rule whose words appear in the description wins. Money in without a rule is "Income (no rule)", money out without a rule is "Uncategorized", so you see exactly which rules to add.

Rename and sort files: names that would collide get -2, -3. The script shows the plan and changes nothing until you add --go; then it writes an undo log.

Split CSV: one file per value of the column you pick, with the same columns as the original, largest group first.

Amounts like $1,250.00, 1.250,00 € and (59.99) are read; dates as 2026-11-18, 11/18/2026 or 18.11.2026. The page and the Python file use the same rules; both were run on the same test files and gave the same answers.

Save and continue: https://getreadystack.com/apps/automation-scripts-python-preview/