# budget-monthly-summary

Turn a bank CSV export into a monthly budget summary by category with budget-vs-actual

- **Space:** personal-productivity-public (https://github.com/Tech-Realm/space-personal-productivity-public/tree/main/budget-monthly-summary)
- **Level:** L2 (as the registry reports it)
- **Keys it needs (names only):** none
- **Tools:** python3
- **Routes:** local-python; checks: 1
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use personal-productivity-public/budget-monthly-summary` or MCP `get_pack personal-productivity-public/budget-monthly-summary`
- **Files:** CHANGELOG.md, code/budget.py, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/fixtures/budget.csv, outcome/fixtures/rules.csv, outcome/fixtures/tx.csv, outcome/results.json, pack.yaml, spec/SPEC.md, spec/source.md

## Purpose (spec/SPEC.md)

## Goal

A month-by-category table (income, spending per category, net) from a bank CSV, using simple keyword rules, with overspend against a budget file flagged.

Verified by: Synthetic 3-month export: October groceries 95.40 vs budget 90 is flagged OVER; uncategorised spending is listed.

## Steps

1. Export transactions as CSV from the bank (most banks offer CSV).
2. Edit rules.csv once (keyword -> category).
3. Run `python3 code/budget.py tx.csv rules.csv --budget budget.csv`.
4. Add rules for anything under 'uncategorised'.

## Edge cases

- Different banks use different column names; map them with --cols date,description,amount.
- Transfers between own accounts should get a 'transfer' rule so they are not counted as spending.

## Don'ts

- Don't upload bank exports to online tools; this runs locally.
- Don't commit real bank exports to git.



---

Canonical URL: https://logicpacks.io/packs/personal-productivity-public/budget-monthly-summary

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
