Ledgerlight — AI skill for Claude Code
An AI accounts-receivable reconciliation agent for small businesses that invoice with PayPal.
How to install Ledgerlight
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open vinushanmugam/ledgerlight and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Ledgerlight does
An AI accounts-receivable reconciliation agent for small businesses that invoice with PayPal. It compares your PayPal invoices with your bank ledger (CSV), finds the exceptions a bookkeeper would chase, and lets a Claude-powered agent explain them, draft follow-ups and propose fixes, updated to PayPal after human approval.
Alternatives in AI
- Xerj — Local-first search engine and MCP server for AI agents 12.5k ★
- CSV AI Analyzer — A self-hosted, browser-based AI CSV analyzer 86 ★
- PriceyApp — MacOS Status bar app that tracks, monitors your Claude Code AI usage costs in real-time and compares them to h 43 ★
README
LedgerLight
An AI accounts-receivable reconciliation agent for small businesses that invoice with PayPal.
It compares your **PayPal invoices** (Invoicing API v2, sandbox) with your **bank ledger** (CSV), finds the exceptions a bookkeeper would chase, and lets a Claude-powered agent explain them, draft customer follow-ups and *propose* fixes. **Nothing is written to PayPal until a human clicks Approve.**
What it catches
| Finding | Meaning |
|---|---|
MISSING_DEPOSIT |
PayPal says paid, but no matching bank deposit after a grace period |
OVERDUE |
Unpaid past due date, no payment anywhere |
DUPLICATE_PAYMENT |
Customer paid twice; refund likely needed |
OVERPAID / PARTIAL |
Received more or less than the invoice total |
STATUS_MISMATCH |
Bank has the money but PayPal invoice still shows unpaid (one-click fix after approval) |
UNMATCHED_DEPOSIT |
Bank credit that matches no open invoice |
Deposits that arrive **net of PayPal fees** are recognised (fee schedule configurable via `FEE_PCT` / `FEE_FIXED`).
Design
- Deterministic core (
app/reconcile.py): scoring-based matching and exception rules. All arithmetic lives here and is unit-tested. - Agent (
app/agent.py): Claude tool-use loop with three tools:get_reconciliation_report,get_invoice,propose_record_payment. It can read and propose, never execute. - Human approval queue (
app/store.py): proposed "record payment" actions wait for Approve/Reject in the UI; amounts are capped at the amount due. - PayPal (
app/paypal_client.py): OAuth2 client credentials, list/get invoices, record payment. A mock client with the same interface runs the whole app offline.
Run it
pip install -r requirements.txt
python -m pytest -q # 9 tests
uvicorn app.main:app --reload # http://localhost:8000 (mock PayPal + offline summaries)
Real sandbox + full agent:
export PAYPAL_CLIENT_ID=... PAYPAL_CLIENT_SECRET=... #
Related Skills
Ops Autopilot
AI operations agent that reads invoices, receipts and orders, checks them with rules and routes exceptions to
PayPilot
Chat-first AI billing agent. Describe an invoice in plain language, approve it, and PayPilot creates and sends
Matchpoint
Multi-agent harness for accounts-payable invoice exceptions: state graph, tool calling, policy RAG, human-in-t
Accrue
Accounts payable system: LLM invoice ingestion (Claude structured outputs, deterministic reconciliation, label
Invoice Auditor
A Claude skill that extracts invoices and proves the extraction is correct. Model extracts, code audits the ar
Cfo Agent
Your AI CFO - automated bank transaction tracking, invoice matching, anomaly detection & financial reports for
Related Agents
Merit Bookkeeper
End-to-end Estonian bookkeeping subagent for Merit Aktiva. Processes batches (a stack of receipts, a CSV of tr
Finance Sable
Use this agent as a full CFO + bookkeeper across the whole company lifecycle — idea to operations. Bookkeeping
Payment Monitor Agent
This agent is responsible for identifying overdue or soon-to-be-due invoices from a given dataset. It acts as