Spend report
Totals a spend export by vendor and checks the grand total against the rows. Use when the user asks for a spend report, a bookkeeping summary, or where the money in a CSV went.
Add a spend file by vendor. Do not categorize a vendor into a budget the user did not define.
Steps
- Confirm the file has
vendorandamount. Dates may be present and are not summed. The sample is assets/sample.csv. - Run
python3 scripts/sum_spend.pyon that file. - Report each vendor total and the grand total as printed. A blank vendor stays "(blank vendor)".
- Check the report by adding the vendor lines and confirming they equal
total. If they do not, show the script output and stop. - If the user also names a budget, say whether the grand total is under or over that number. Do not invent a budget.
Example
User: Summarize assets/sample.csv.
Agent: Paper mill is 160.50. Ink shop is 15.25. The total is 175.75, and the two vendor lines add to that total. No budget was supplied, so none is mentioned.
Boundaries
Do not move money, and do not call a vendor fraudulent because the amount is large.
Lint report
Score 100. 0 errors, 0 warnings, 0 notes.
skill-lint reported no errors, warnings, or notes.
See also
- ledger-desk, the agent that bundles this skill
- Invoice line check Finance & ops
- Forecast from actuals Finance & ops
References
- Source path skills/finance-ops/spend-report
- SKILL.md 1.4 KB
- assets/sample.csv 102 B
- scripts/sum_spend.py 1.3 KB
- Raw SKILL.md
- Download the skill folder
- Agent Skills specification