More screenshots

    Works with the AI Agents you already use

    Invoice Extractor with Human Approval

    by VISHNU VARTHAN T

    1

    Turn invoice PDFs, scans and photos into a clean, verified CSV, with you approving every record.

    Free

    Security scanned

    Invoice Extractor with Human Approval

    Example session with this skill installed

    Process invoices/inv_008.jpg (a phone photo of a scanned invoice) and add it to invoices_approved.csv once I've checked it.

    • Read your context and instructions
    • Compiled the invoice extractor
    • Generated the data export

    Summary

    Read inv_008.jpg with OCR (page 1, no quality warnings) and extracted 7 fields. The checker blocked approval because the total doesn't add up.

    FieldValueEvidence (page 1)
    VendorHarbor Freight Logistics Inc"Harbor Freight Logistics Inc"
    Invoice numberHFL-44120"Invoice No: HFL-44120"
    Invoice date2026-08-04"Invoice Date: August 4, 2026"
    CurrencyUSD"Subtotal USD 1,050.00"
    Subtotal1050.00"Subtotal USD 1,050.00"
    Tax76.13"Sales Tax 7.25% USD 76.13"
    Total1162.13"Amount Due USD 1,126.13"

    ❌ Error (blocks approval)

    Subtotal 1050.00 + tax 76.13 = 1126.13, but total is 1162.13 (off by 36.00, tolerance 0.02). The quoted evidence shows "1,126.13", so the total was misread.

    Please compare against the invoice. Should I correct the total to 1126.13?

    You: yes, fix it and approve

    $ python scripts/invoice.py check --pages inv_008.jpg.pages.json --set total=1126.13 --csv invoices_approved.csv
    can_approve: true   corrected_fields: [total]   errors: none   warnings: none
    
    $ python scripts/invoice.py export --review inv_008.jpg.review.json --csv invoices_approved.csv --approved-by "Vishnu"
    ok: true
    

    ✅ Added 1 row to invoices_approved.csv

    Harbor Freight Logistics Inc · HFL-44120 · 2026-08-04 · USD 1050.00 + 76.13 = 1126.13 · corrected: total · approved by Vishnu.

    Next steps

    • Drop the next invoice in, or point me at a folder: I'll check each one and ask you per invoice.
    • Exporting the same file or the same vendor + invoice number again is refused automatically.

    inv_008.jpg

    CSV · data export

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Turn invoice PDFs, scans and photos into a clean, verified CSV, with you approving every record.

    Your agent extracts vendor, invoice number, date, currency, subtotal, tax and total, quoting the exact line where it found each one. Then a deterministic checker, not the model, verifies the result.

    What gets checked

    • Arithmetic: subtotal + tax must equal the total. Discount and shipping lines it can't model are flagged instead of silently accepted.
    • No guessing: ambiguous dates like 03/04/2026 and amounts like 2.000 are never guessed.
    • Duplicates blocked: same file, or same vendor + invoice number already in your ledger.
    • Evidence check: every quote is checked against the real document text, so invented values get caught.
    • Sanity rules: implausible dates, negative amounts and unsupported currencies are flagged.

    You review the table, correct anything with one command, and approve. Only approved records go into the CSV ledger, which is append-only, duplicate-safe and protected against spreadsheet formula injection. Nothing is ever auto-approved.

    Works on real-world invoices

    • Digital PDFs use their embedded text; scanned pages and phone photos go through Tesseract OCR with auto-rotation.
    • Handles US, European and Indian number formats (1,234.56 / 1.234,56 / 1,23,456.00).
    • PDF (up to 5 pages), PNG and JPEG.

    Private and free to run

    • Runs locally. No API key, no per-call cost, and the scripts make no network calls; your agent does the reading.

    Not included in v1: line items, credit notes, payments, accounting-software integrations.

    Built from AI-invoice-processor, my open-source project with 104 tests and a measured evaluation harness.

    Supports only 7 header fields; no line items or credit notes. Max 5 pages/10MB per file. Requires Tesseract for images/scans. Local CSV export only.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 5 days ago

    • Free with an Agensi account

    Software
    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed5 days ago

    What's inside

    Creator

    VISHNU VARTHAN T

    VISHNU VARTHAN T

    Frequently Asked Questions

    Unlike raw LLM prompts that may hallucinate totals, this skill uses deterministic Python scripts to cross-check extracted numbers against accounting rules and requires a human-in-the-loop approval before any data is exported.

    This skill supports digital PDFs, scanned documents, and image files (JPG/PNG). For non-digital scans, it utilizes Tesseract OCR to accurately convert image data into machine-readable text.

    The skill is designed to capture seven core header fields: vendor name, invoice number, date, currency, subtotal, tax amount, and grand total. It is currently optimized for these header fields and does not process individual line items.

    It includes the full Python-based workflow, the extraction and validation scripts, and the documentation needed to integrate the 'human-in-the-loop' approval step into your AI agent environment.

    While the skill uses standard Python libraries, you will need a local installation of Tesseract OCR to handle image-based scans and photos. It is designed for a local footprint to ensure your financial data remains private.

    This skill is limited to processing documents up to 5 pages in length and 10MB in size. It is currently focused on standard invoices and does not support credit notes or direct API integrations with third-party accounting software.

    New in Finance & Accounting

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Finance & Accounting.

    Free