Works with the AI Agents you already use

    Invoice Receipt Extractor(IRE)

    by Aditya Kumar Singh

    1

    Point your agent at a file or folder of scans, photos or PDFs and get back JSON or a CSV: vendor, invoice number, dates, currency, tax ID, subtotal, tax, total and line items.

    Free

    1 useSecurity scanned
    Invoice Receipt Extractor(IRE)

    Invoice Receipt Extractor(IRE)

    Example session with this skill installed

    I have three receipt/invoice PDFs and images in the /receipts folder. Extract the data to a CSV and let me know if any of the totals look wrong.

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

    Summary: Read 3 documents and saved the data to /receipts/invoice_results.csv (plus a .json copy).

    2 are clean and 1 needs your attention. I also fixed one misread on a scanned receipt.

    Extracted data

    FileVendorInvoice no.DateCurrencySubtotalTaxTotalStatus
    sunrise-invoice-0187.pdfSunrise Traders Pvt LtdST/26-27/01872026-11-05INR4,900.00882.005,782.00✅ ok
    chai-point-receipt.jpgCHAI POINT CAFE PVT LTD30912026-11-18INR420.0021.00441.00✅ ok
    greenleaf-invoice-0088.pdfGreenleaf Landscaping Pty LtdGL-00882026-11-03AUD1,250.00125.001,395.00⚠️ check total

    ⚠️ One total looks wrong

    greenleaf-invoice-0088.pdf: the invoice's own numbers don't add up.

    • Subtotal $1,250.00 + GST $125.00 =

    $1,375.00, but the invoice prints

    $1,395.00. That is

    $20.00 more than its own lines support.

    • The three line items ($450 + $300 + $500) do add up to the subtotal, so the mistake is in the printed total.
    • I kept the figure exactly as printed. It's worth asking Greenleaf for a corrected invoice before paying.

    What I corrected

    • chai-point-receipt.jpg: the scan's OCR read the vendor's GSTIN as O7AAJCC4321M1ZK, with the letter O. A GSTIN starts with a 2-digit state code, and with a zero in that spot the check digit passes: 07AAJCC4321M1ZK. I used the corrected number.

    Checks that passed

    • All three tax IDs have valid check digits (two Indian GSTINs and one Australian ABN).
    • Totals, taxes and line items add up on the other two documents.
    • Dates were normalized to YYYY-MM-DD.

    Next steps:

    • Open invoice_results.csv in Excel or Google Sheets. The status and issues columns show what to review.
    • Ask Greenleaf to reissue invoice GL-0088 with the correct total.

    invoice_results.csv

    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

    Turns invoices and receipts into clean, checked data. Point your agent at a file or folder of scans, photos or PDFs and get back JSON or a CSV: vendor, invoice number, dates, currency, tax ID, subtotal, tax, total and line items.

    How it works

    1. PDFs with a text layer are read exactly. Scans and photos go through Tesseract OCR on your machine.
    2. Your agent fills a fixed schema and leaves anything it can't find empty instead of guessing.
    3. A built-in validator checks the numbers: subtotal + tax must equal the total, line items must add up, quantity x price must match each amount, dates and currencies are normalized, and Indian GSTIN tax IDs are checked for format and checksum, with a suggested fix for common OCR mix-ups like O vs 0.

    Where it stops

    • Handwriting, heavy skew and very low-resolution photos extract poorly.
    • It checks that an invoice is internally consistent, not that it is genuine.
    • Checksum validation covers Indian GSTIN only; other tax IDs are recorded as printed.
    • OCR and validation run locally and make no network calls. The text your agent reads follows your agent's own privacy settings.

    Poor performance with handwriting, low-res photos, or heavy skew. Tax ID checksums limited to Indian GSTIN. Requires Tesseract and Poppler installed locally.

    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

    1 use

    Times used to date

    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
    Environment Variables
    Listed5 days ago

    What's inside

    Creator

    Aditya Kumar Singh

    Aditya Kumar Singh

    only tech and me

    Frequently Asked Questions

    This skill handles single-page images (JPEG, PNG), multi-page PDFs, and batch processing for entire folders of documents, making it ideal for bulk expense reporting.

    Unlike general LLM prompts, this skill uses a deterministic validation layer that runs arithmetic checks on subtotals and taxes, ensuring the extracted numbers are mathematically consistent.

    The package includes the core Python extraction scripts, the standardized invoice JSON schema, and the validation logic required to audit the extracted data for accuracy.

    You will need Python installed along with the Tesseract OCR engine and Poppler; the skill includes a list of necessary libraries like 'pytesseract' and 'pillow' to get started.

    While the skill can extract data from any Latin-alphabet invoice, its specialized Tax ID (GSTIN) checksum validation is currently optimized for Indian tax formats.

    Yes, the skill is designed to normalize data into a fixed JSON schema, which can be easily exported to CSV or integrated directly into popular ERP and accounting software via API.

    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