reconciliation

Reconcile loaded expenses against the pre-parsed invoice database, flagging discrepancies like amount mismatches, missing invoices, and merchant mismatches…

npx skills add https://github.com/google-gemini/gemini-managed-agents-templates --skill reconciliation

Reconciliation

Reconcile expenses from expenses.csv against the pre-parsed invoice database (parsed_invoices.json) completely locally (offline). It compares records, performs fuzzy merchant matching, and generates a detailed discrepancies report.

Embedded Script

python3 skills/reconciliation/scripts/reconcile.py --workspace .agents/workspace

Arguments

ArgumentDefaultDescription
--workspace.agents/workspaceWorkspace directory containing expenses.csv and parsed_invoices.json
--tolerance0.01Amount match tolerance in dollars

What it does

  1. Loads expenses.csv from .agents/workspace/ (columns: date, employee, merchant, category, amount, memo).
  2. Loads parsed_invoices.json from .agents/workspace/ (generated by the pdf-parsing skill).
  3. Performs local fuzzy matching between expenses and invoice records (normalized merchant names, amount tolerance).
  4. Flags discrepancies: Amount Mismatch, Missing Invoice, Unmatched Invoice, Merchant Mismatch.
  5. Generates .agents/workspace/reconciliation_report.md with summary stats and discrepancy tables.
  6. Generates .agents/workspace/reconciliation_data.json with machine-readable matched results.

Dependencies

None! This script runs 100% locally with zero external API calls.

Discrepancy Types

TypeDescription
Amount MismatchExpense and invoice matched by merchant but amounts differ beyond tolerance
Missing InvoiceExpense record exists with no matching invoice document
Unmatched InvoiceInvoice document exists with no matching expense record
Merchant MismatchExpense and invoice matched by amount but merchant names differ significantly

Output

FilePathDescription
Reconciliation Report.agents/workspace/reconciliation_report.mdHuman-readable markdown report with summary stats, discrepancy table, and matched items
Reconciliation Data.agents/workspace/reconciliation_data.jsonStructured JSON with expenses, invoices, matches, and discrepancies

More skills from google-gemini

greeter
google-gemini
A friendly greeter skill
official
code-reviewer
google-gemini
Automated code review for local changes and remote pull requests with structured analysis across correctness, maintainability, and security. Supports both local file system changes (staged and unstaged) and remote PRs (by number or URL) with automatic GitHub CLI checkout Analyzes code across seven dimensions: correctness, maintainability, readability, efficiency, security, edge case handling, and test coverage Runs optional preflight verification suites (e.g., npm run preflight ) to catch...
official
review-duplication
google-gemini
Use this skill during code reviews to proactively investigate the codebase for duplicated functionality, reinvented wheels, or failure to reuse existing…
official
gemini-api-cli
google-gemini
Guide for using the Gemini API CLI tool. Use when you need to interact with the Gemini API via the command line, manage agents, or generate media (images,…
official
agent-tui
google-gemini
Main Agents: Do NOT use this skill directly. If you need to test the TUI, invoke the `tui_tester` subagent. Drive terminal UI (TUI) applications…
official
async-pr-review
google-gemini
Trigger this skill when the user wants to start an asynchronous PR review, run background checks on a PR, or check the status of a previously started async PR…
official
behavioral-evals
google-gemini
Guidance for creating, running, fixing, and promoting behavioral evaluations. Use when verifying agent decision logic, debugging failures, debugging prompt…
official
ci
google-gemini
A specialized skill for Gemini CLI that provides high-performance, fail-fast
official