Context
In many small and mid-sized companies, the bank reconciliation, the list of late customers and the cash flow live in spreadsheets someone rebuilds by hand. It works as long as that person is in and makes no mistake.
If they are out for a day or a cell is wrong, invoicing slips, a receipt goes unbooked and the customer shows as overdue, or a payment is decided on old numbers.
Approach
One command, scheduled every morning, takes the new bank lines and the ERP treasury book and applies five rules in order. Every line ends in exactly one state, with the reason written down.
# reports/2026-09-29/resumen_diario.md (extracto) ## Conciliación - 907 movimientos del banco, 97,6 % conciliados o registrados automáticamente. - Pendientes abiertos: 26 (4 nuevos hoy). - Cobranza sin imputar · FARMACIA DEL SUR · ARS 3.764.182 Sugerido: Farmacia del Sur, factura FC-A-0003-00010429
How I know it is right
A cash summary that is wrong is worse than none. Every change passes ten automated checks:
Result
Output of the test case: 66 daily runs, July to September 2026, over 927 lines from two banks.
The team stops building the reconciliation and the cash flow: every morning it gets what is fine, what to fix and how much cash there will be.
Deliverables
resumen_diario.md: the morning summary, ready to send by email or Teams.exceptions.csv: one open item per row, with the reason and the suggested invoice.daily_control.xlsx: open items, receivables, cash forecast and the reconciled statement.history.csv: the daily trend, for a dashboard.
