reconciliation

Đối chiếu các khoản chi phí đã tải với cơ sở dữ liệu hóa đơn đã phân tích trước, đánh dấu các điểm bất thường như sai lệch số tiền, thiếu hóa đơn, và không khớp người bán…

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

Thêm skills từ google-gemini

greeter
google-gemini
Một kỹ năng chào hỏi thân thiện
official
code-reviewer
google-gemini
Đánh giá mã tự động cho các thay đổi cục bộ và pull request từ xa với phân tích có cấu trúc về tính chính xác, khả năng bảo trì và bảo mật. Hỗ trợ cả thay đổi trên hệ thống tệp cục bộ (đã staged và chưa staged) và PR từ xa (theo số hoặc URL) với tính năng tự động checkout GitHub CLI. Phân tích mã trên bảy khía cạnh: tính chính xác, khả năng bảo trì, khả năng đọc, hiệu quả, bảo mật, xử lý trường hợp ngoại lệ và độ phủ kiểm thử. Chạy các bộ kiểm tra tiền xử lý tùy chọn (ví dụ: npm run preflight) để phát hiện...
official
review-duplication
google-gemini
Sử dụng kỹ năng này trong quá trình review mã để chủ động kiểm tra cơ sở mã về chức năng trùng lặp, bánh xe được phát minh lại, hoặc không tái sử dụng các thành phần hiện có…
official
gemini-api-cli
google-gemini
Hướng dẫn sử dụng công cụ CLI Gemini API. Sử dụng khi bạn cần tương tác với Gemini API qua dòng lệnh, quản lý tác nhân hoặc tạo phương tiện (hình ảnh,…)
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
Kích hoạt kỹ năng này khi người dùng muốn bắt đầu một đánh giá PR không đồng bộ, chạy kiểm tra nền trên một PR, hoặc kiểm tra trạng thái của một async PR đã được bắt đầu trước đó…
official
behavioral-evals
google-gemini
Hướng dẫn tạo, chạy, sửa lỗi và thúc đẩy các đánh giá hành vi. Sử dụng khi xác minh logic quyết định của tác nhân, gỡ lỗi lỗi, gỡ lỗi prompt…
official
ci
google-gemini
Một kỹ năng chuyên biệt cho Gemini CLI cung cấp hiệu suất cao, fail-fast
official