bifrost-fin-reconcile
Accepts Dropbox presigned URLs as document sources for invoice, receipt, and bank statement OCR and reconciliation.
Generates QuickBooks Online CSV exports for 4-column and 3-column bank feeds and bill imports.
Compiles SAP Ariba / Coupa cXML 1.2.061 InvoiceDetailRequest documents for procurement 3-way matching.
Decodes and cross-checks SEPA EPC-QR payment codes, verifying the encoded EUR amount and beneficiary IBAN against OCR-extracted invoice data.
Generates Xero CSV exports for contacts, invoices, and bank statement imports.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
bifrost-fin-reconcile — Deterministic Math-Verified Invoice, Receipt & Bank Statement OCR (CLI + Remote MCP)
Open-source Apache-2.0 financial document extraction, local CPU OCR, and exact Decimal double-entry reconciliation engine. Convert digital PDFs, AES-256 encrypted bank e-Statements, and tilted smartphone receipts into mathematically audited accounting entries and compliant EU/ERP e-Invoices:
QuickBooks Online CSV (
4_column&3_columnbank feeds + bill imports)Xero CSV (
*ContactName,*InvoiceNumber,...& bank statement imports)Peppol BIS Billing 3.0 (
EN 16931 UBL 2.1 XML, structurally validated vialxml)EU Factur-X 1.07 / ZUGFeRD 2.3 (
EN 16931 CII XML, structurally validated)SAP Ariba / Coupa
cXML 1.2.061(InvoiceDetailRequest, compatible with cXML 3-Way Match Bridge)
Local CLI vs. Hosted Cloud Standby Webhook & MCP
Capability | Open-Source Local CLI ( | Legacy Financial OCR SaaS ( | |
Pricing | $0 Free Offline (Apache-2.0) |
|
|
Batch Volume Cap |
| Unlimited pages, | Tier-gated quotas |
Runtime Setup | Local Python + Poppler/Tesseract | Zero setup — warm | Proprietary cloud SDK |
Duplicate & Invalid Files | Skipped locally |
| Charged per upload |
Data Retention | Local disk | 100% Zero-Retention ( | Stored unless Enterprise tier |
Related MCP server: genpark-document-redaction-pii-scrubber-skill
1. Quickstart: Open-Source Local CLI (<= 25 Pages Free)
Install directly from GitHub (no API keys or cloud accounts required for local digital PDFs):
# Core digital PDF + bank statement reconciler + 5 ERP/XML compilers
pip install "git+https://github.com/ballostark-wq/bifrost-fin-reconcile.git"
# Optional: include local ONNX + Tesseract OCR dependencies for camera receipts / scanned PDFs
pip install "bifrost-fin-reconcile[ocr] @ git+https://github.com/ballostark-wq/bifrost-fin-reconcile.git"Run Reconciler on Local Invoices, Receipts, or Encrypted Bank Statements
# Reconcile an invoice PDF and write QuickBooks CSV, Xero CSV, Peppol UBL 2.1 & Factur-X XML
bifrost-fin-reconcile ./sample_invoice.pdf \
--formats json,quickbooks_csv,xero_csv,peppol_ubl_xml,facturx_cii_xml,ariba_cxml \
--output-dir ./exports
# Unlock an AES-256 password-protected multi-page bank statement and verify every running balance row
bifrost-fin-reconcile ./mercury_statement.pdf \
--password "YOUR_PDF_PASSWORD" \
--type-hint bank_statement \
--formats json,quickbooks_csv,xero_csv \
--output-dir ./exports
# Run the deterministic 12-stage offline verification suite (0 external network calls)
bifrost-fin-reconcile --selftest25-Page Local Funnel Cap: Workloads exceeding
25pages per CLI invocation return exit code2with anRFC 9457(status: 402,OSS_CLI_25_PAGE_CAP_EXCEEDED) pointer to the Hosted Standby HTTP & MCP Server for unlimited cloud batch & webhook automation.
2. Unlimited Cloud Webhooks: Synchronous Standby HTTP (POST /reconcile)
Skip Tesseract/Poppler Docker builds in production. Send S3/Drive/Dropbox presigned URLs, .zip archives, or raw application/pdf / image/jpeg bytes directly from n8n, Make.com, Zapier, or backend microservices:
curl -X POST "https://bifrost-data--invoice-bank-statement-ocr-erp-reconciler.apify.actor/reconcile" \
-H "Authorization: Bearer $APIFY_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"documents": [
{
"fileUrl": "https://your-s3-bucket.s3.amazonaws.com/vendor-invoice.pdf",
"documentTypeHint": "auto"
}
],
"exportFormats": ["json", "quickbooks_csv", "xero_csv", "peppol_ubl_xml", "facturx_cii_xml", "ariba_cxml"],
"strictMathReconciliation": true,
"dedupeBySha256": true
}'One-Click Public Example Tasks on Apify Store
3. Connect to Claude Desktop, Cursor, Windsurf & Copilot (POST /mcp)
Add the hosted Streamable HTTP MCP endpoint (server.json included in repo root):
{
"mcpServers": {
"bifrost-fin-reconcile": {
"type": "streamable-http",
"url": "https://bifrost-data--invoice-bank-statement-ocr-erp-reconciler.apify.actor/mcp",
"headers": {
"Authorization": "Bearer YOUR_APIFY_API_TOKEN"
}
}
}
}Registered MCP Tools
reconcile_financial_documents: Hybrid vector/OCR extraction + exactDecimalmath audit + simultaneous QuickBooks, Xero, Peppol UBL 2.1, Factur-X CII, and Ariba cXML compilation.verify_bank_statement_running_balance: Multi-page chronological direction detection + row-by-rowprev_balance - debit + credit == printed_balanceverification ($0.01precision).
4. What Zero-Hallucination Math Guard Verifies
Line-Item Arithmetic:
round(quantity * unit_price, 2) == line_totalacross every extracted line.Header Summation:
sum(line_total) == subtotalandsubtotal + tax_total + shipping_total - discount_total == grand_total.SEPA EPC-QR Cross-Check: Decodes European
BCDpayment QR codes and verifies QREURamount & beneficiary IBAN against OCR-extracted totals.Checksum Validation: Validates EU VAT numbers, US EIN, Korean BRN (
10-digitweighted mod-10), and international IBAN (ISO 13616 MOD-97-10).Continuous Bank Running Balances: Audits both oldest-first and newest-first multi-page statements across page breaks, returning
VERIFIED_EXACT,ROUNDING_TOLERANCE_1C, orDISCREPANCY_FLAGGEDwith pinpointeddiscrepancy_rows[].
Related Enterprise Finance & B2B Automation Engines
cXML SAP Ariba & Coupa 3-Way Match Bridge (
$65/1k) — Pair directly withariba_cxmloutput for automated PO ↔ ASN ↔ Invoice 3-way reconciliation.SWIFT MT103 & Bank PDF Advice to ISO 20022 CBPR+
pacs.008Bridge ($60/1k) — Treasury wire advice PDF extraction & CBPR+ validation.7-ATS Enterprise Hiring Signals Scraper (
$1.00/1k) — Unified Greenhouse, Lever, Ashby, SmartRecruiters, Workable, Recruitee & Rippling feed.n8n & Make.com Finance Automation Playbooks — Ready-to-import workflow JSONs (
integrations/folder also included in this repo).Bifrost K-Finance, US SEC XBRL & OFAC Sanctions MCP — Counterparty OFAC SDN & GLEIF LEI screening.
License
Apache License 2.0 — see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Invoice, receipt & bank statement OCR with Decimal math audit and ready-to-import Xero CSV.
Turn receipts and invoices (photos, PDFs or a zip) into checked numbers: vendor, date, currency, line items, tax and total, each field marked ok, check or missing. Doubtful documents come back flagged with reasons instead of guessed; repeated receipts are marked as duplicates. Exports CSV, line-item CSV, QuickBooks CSV or a renamed file pack. Free daily quota, no API key. Files deleted after 24 hours, never used for training.
Invoices, receipts and statements into clean rows you can check and export. REST API and MCP.
Turn documents into verified, structured data: fields, tables, and automatic checks.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables accounts payable teams to extract invoice data from PDFs and images, detect duplicates, normalize vendor names, calculate payment terms, and validate invoice completeness. Supports local extraction for text PDFs and optional vision providers for scanned documents.-
- FlicenseNot gradedqualityNot gradedmaintenanceEnables document layout parsing, complex table reconstruction, formula auditing, and PII/credential redaction with Luhn verification, reversible salt hashing, and audit logs through MCP-compatible clients.-
- FlicenseNot gradedqualityCmaintenanceEnables converting PDFs and CSV/spreadsheet files into spreadsheets, extracting bank statement or receipt data into clean CSV, cleaning messy CSV, and generating client-ready reports through an open MCP endpoint.-
- AlicenseNot gradedqualityNot gradedmaintenanceEnables parsing of structured financial receipts, invoices, and bank statements, tolerance-based three-way reconciliation, detection of tax calculation drift and duplicate claims, and synthesis of double-entry bookkeeping journal entries.MIT