Back to Browse

Verified Invoice Receipt Ocr MCP Server

Developer ToolsUse Caution3.5MCP RegistryRemote
Free

Server data from the Official MCP Registry

Invoice, receipt & bank statement OCR with Decimal math audit and ready-to-import Xero CSV.

About

Invoice, receipt & bank statement OCR with Decimal math audit and ready-to-import Xero CSV.

Remote endpoints: streamable-http: https://mcp.apify.com/?tools=fetch-actor-details,offthetoolsco/verified-invoice-receipt-ocr

Security Report

3.5
Use Caution3.5High Risk

This is a thin client that uploads documents to a third-party OCR gateway using an API key from an environment variable, and the API key is not hardcoded. However, the file_path parameter lets the tool read and upload any local file the user can access, with no directory restriction and the extension check applied only after reading, so a prompt-injected agent could exfiltrate sensitive files such as SSH keys or credentials to the external host. The score is held below 7.0 by this file-access exposure and by the API key being sent with redirects enabled. Supply chain analysis found 5 known vulnerabilities in dependencies (0 critical, 5 high severity).

6 files analyzed · 12 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Found in Source Code

Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.

File System Read

Reads files on the server that hosts it, not on your machine.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Applies to the server that hosts this plugin, not to your machine.

How to Connect

Remote Plugin

No local installation needed. Your AI client connects to the remote endpoint directly.

Add this to your MCP configuration to connect:

{
  "mcpServers": {
    "io-github-offthetoolsco-verified-ocr": {
      "url": "https://mcp.apify.com/?tools=fetch-actor-details,offthetoolsco/verified-invoice-receipt-ocr"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

Invoice, Receipt & Bank Statement OCR API — Math-Verified Bookkeeping OCR & MCP Server

Stop letting raw Vision LLMs silently hallucinate bookkeeping totals. Verified Invoice & Receipt OCR is a production-ready Bookkeeping OCR API and zero-install MCP Server engineered to extract invoices, receipts, and multi-page bank statements with deterministic mathematical certainty. Built for accountants, developers, and AI agents, it pairs multimodal Vision LLMs with a Python Decimal arithmetic verification engine that guarantees every line item and running bank balance reconciles before hitting Xero, QuickBooks, or MYOB.


⚡ Instant 1-Click Trial (Zero Setup)

Experience zero-friction verification in seconds:

  1. Navigate to the Input tab on this Apify Store page.
  2. For Invoices & Receipts, leave preset as invoice and documentUrls prefilled with our live Australian GST tax invoice: https://ocr-api.offthetoolsco.com.au/sample-invoice.jpg
  3. For Multi-Page Bank Statements + Xero CSV, set preset to bank_statement and test with our live 2-page business statement PDF: https://ocr-api.offthetoolsco.com.au/sample-bank-statement.pdf
  4. Click Save & Run (or Start) and inspect the verified JSON and xero_csv output in the Dataset tab.

🧠 Why Math-Verified Bookkeeping OCR Beats Raw Vision LLMs

Raw Vision LLM prompts are impressive at recognizing messy layouts, but they have a fatal flaw for accounting: they hallucinate arithmetic.

  • Digit Ambiguity & Smudges: A fold in a receipt or a low-resolution PDF scan easily turns $18.25 into $18.75. A raw LLM outputs the wrong digit without blinking.
  • Multi-Page Statement Drift: Skipping a single line across pages 1–10 of a bank statement throws off every subsequent balance unless checked with an exact running-balance walk.
  • Silent Ledger Corruption: When unverified JSON is piped directly into Xero, QuickBooks, MYOB, or NetSuite, reconciliation errors compound and require costly manual audits.

How Our Deterministic Math Engine Works

  1. High-Resolution Vision Extraction: Single images or multi-page PDFs are parsed into strict JSON schemas.
  2. Deterministic Decimal Auditing:
    • Invoices & Receipts (preset="invoice"): Verifies qty * unit_price == line_total, sum(line_total) == subtotal, and subtotal + tax == total.
    • Bank Statements (preset="bank_statement"): Runs a running_balance_walk across all pages—verifying opening_balance, each transaction's credit/debit delta against running_balance, and closing_balance, automatically skipping zero-delta "BALANCE CARRIED FORWARD" / "BALANCE BROUGHT FORWARD" rows and supporting reverse_order=True for newest-first statements.
  3. Targeted Self-Healing Retries: If any row or total fails, the engine feeds the exact 1-based row index and dollar discrepancy back to the Vision LLM for a targeted re-read.
  4. Xero-Ready CSV Export (xero_csv): Verified bank statements automatically emit clean chronological *Date,*Amount,Payee,Description,Reference CSV ready for direct Xero bank statement import—with zero $0.00 carry-forward clutter.
  5. Audit Protection: If digits remain irreconcilable after retries, verification_passed is false with exact audit_errors so corrupt numbers never enter your ledger.

🤖 Zero-Install Streamable HTTP & Stdio MCP Server

Connect this Actor directly to Cursor, Claude Desktop, Antigravity, Windsurf, or Claude Code:

  • extract_invoice: Extract structured line items and totals from invoices/receipts (or custom schemas).
  • reconcile_bank_statement: Reconcile multi-page bank statement PDFs/images with running_balance_walk (reverse_order supported) and return xero_csv plus exact audit_errors if any row mismatches.

Streamable HTTP Endpoint

https://mcp.apify.com/?tools=fetch-actor-details,offthetoolsco/verified-invoice-receipt-ocr

1-Click CLI Setup

# Add to Cursor
apify mcp install cursor --tools fetch-actor-details,offthetoolsco/verified-invoice-receipt-ocr

# Add to Claude Code
apify mcp install claude-code --tools fetch-actor-details,offthetoolsco/verified-invoice-receipt-ocr

# Add to VS Code
apify mcp install vscode --tools fetch-actor-details,offthetoolsco/verified-invoice-receipt-ocr

Manual Configuration (claude_desktop_config.json / cursor.json)

{
  "mcpServers": {
    "verified-ocr": {
      "url": "https://mcp.apify.com/?tools=fetch-actor-details,offthetoolsco/verified-invoice-receipt-ocr",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_TOKEN"
      }
    }
  }
}

Local Stdio MCP (via uvx / pipx)

Prefer a local stdio MCP server? Run directly with uvx:

{
  "mcpServers": {
    "verified-ocr": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/offthetoolsco/verified-invoice-receipt-ocr", "verified-ocr"],
      "env": {
        "OCR_API_KEY": "YOUR_OCR_API_KEY"
      }
    }
  }
}

Or run from your terminal:

uvx --from git+https://github.com/offthetoolsco/verified-invoice-receipt-ocr verified-ocr

💰 Transparent Pay-Per-Event Pricing

No recurring subscription fees. No seat minimums. No monthly credit expirations.

  • $0.03 per verified document (Pay-Per-Event via Apify platform).
  • $0.00005 Actor start fee (nominal compute charge).
  • Zero Charge for Verification Retries: Multi-pass self-healing arithmetic audits are included in the single document fee.
  • Pay only for successful extractions written to your dataset.

📥 Input Parameters

ParameterTypeRequiredDescription
documentUrlsarray of stringOptional*Direct URLs to invoices, receipts, or multi-page PDFs. Prefilled with sample-invoice.jpg.
presetstringOptional"invoice" (default) or "bank_statement" (multi-page reconciliation + Xero CSV).
reverseOrderbooleanOptionalSet true for newest-first (reverse chronological) bank statements (default false).
fileBase64stringOptional*Base64-encoded document or data URI (ideal for local files in AI Agent workflows).
fileNamestringOptionalFile name when providing fileBase64 (e.g. statement.pdf). Defaults to invoice.pdf.
jsonSchemastringOptionalCustom JSON Schema string. Omit to use the selected preset schema.
mathRulesstringOptionalCustom arithmetic rules array. Omit to use the selected preset math checks.

* Provide either documentUrls or fileBase64.


📤 Verified Output Schema

Invoice / Receipt Output

{
  "source": "https://ocr-api.offthetoolsco.com.au/sample-invoice.jpg",
  "job_id": "job_8f2b3e41a9c0",
  "status": "completed",
  "verification_passed": true,
  "pages_processed": 1,
  "attempts": 1,
  "latency_ms": 1420,
  "data": {
    "vendor_name": "Apex Electrical Contracting Pty Ltd",
    "tax_id": "ABN 84 123 456 789",
    "invoice_number": "INV-2026-0842",
    "invoice_date": "2026-11-20",
    "currency": "AUD",
    "items": [
      {
        "description": "Commercial Switchboard Upgrade & Safety Switch Installation",
        "qty": 1.0,
        "unit_price": 850.00,
        "line_total": 850.00
      }
    ],
    "subtotal": 850.00,
    "tax": 85.00,
    "total": 935.00
  },
  "audit_errors": []
}

Multi-Page Bank Statement Output (preset="bank_statement")

{
  "source": "https://ocr-api.offthetoolsco.com.au/sample-bank-statement.pdf",
  "job_id": "fb598638-8037-4161-82b4-3a5cf090b9a8",
  "status": "completed",
  "verification_passed": true,
  "pages_processed": 2,
  "attempts": 1,
  "data": {
    "institution": "SOUTHERN CROSS BUSINESS BANK",
    "account_holder": "OFF THE TOOLS CO PTY LTD",
    "currency": "AUD",
    "opening_balance": 12450.00,
    "closing_balance": 14546.70,
    "transactions": [...]
  },
  "xero_csv": "*Date,*Amount,Payee,Description,Reference\n2026-10-02,1840.50,,Shopify Payout - Settlement 4812,SHP-4812\n...",
  "audit_errors": []
}

🔒 Enterprise Privacy & Zero Data Retention

  • Ephemeral Processing: Uploaded images and PDFs are loaded into memory or transient ephemeral storage solely for the duration of the extraction request.
  • Immediate Disk Purge: All temporary files are permanently wiped immediately upon completion of the verification pass.
  • Zero Training: Your confidential invoices, bank statements, and financial data are never used to train machine learning models.

🚀 Getting Started

  1. Click Try for free or Save & Run above with the prefilled sample (or switch preset to bank_statement with https://ocr-api.offthetoolsco.com.au/sample-bank-statement.pdf).
  2. Integrate with Python, Node.js, cURL, or MCP using the Apify API client or uvx.
  3. For support or custom math rules, contact Off The Tools Co..

Reviews

No reviews yet

Be the first to review this server!