Suliu Finance AISuliu Finance
Open Source & Research · Inbound InvoicesAll Finance Workflows

Process vendor invoices locally, verifying each field and amount item by item.

Project: Invoice-Intake-Agent – ​​Processing Supplier Invoices

Documents are first processed locally; fields with low confidence are flagged for human verification.

Invoice Field RecognitionInvoice Image → Field Extraction → Manual Verification → Verification and Archiving
CASE BRIEF

Check these three factors first to determine if the item is relevant

Back to Input Invoice Business Route
01 · Business Bottlenecks

Errors in invoice fields, amounts, VAT, duplicate entries, or vendor banking information should be identified and verified before the data is posted to the general ledger.

02 · Project Practices

Local OCR and model extract supplier documents; code verifies the original text's basis and rules; suspicious cases are entered into a manual queue; after approval, the imported file is output.

03 · Financial Implications

Local processing and rule review design can be referenced; the evaluation document is a synthetic sample, and the rules are geared towards UK VAT and are not directly written into the accounting system.

Step 01

Processing supplier documentation for a project

The "invoice-intake-agent" is a locally-run tool for processing vendor documentation—such as invoices, receipts, credit notes, and vendor statements—designed to minimize missing or duplicate data fields before information enters the accounting system.

Step 02

Integrating local models with rule-based validation

The program extracts text from PDFs—either directly from the digital layer or via RapidOCR for scanned documents—and then uses a local Large Language Model (LLM) to classify the content and extract specific data fields. Automated checks are performed to ensure that extracted values ​​appear in the original document, verify that monetary amounts sum correctly, validate date logic, check VAT number formats, detect duplicate invoices, and identify changes to supplier banking information.

Step 03Project Methodology

How to decouple manual review from accounting data export

Data with low confidence scores or triggered exceptions are routed to a local review queue. Once approved, the data can be exported in Xero-compatible CSV or JSON formats, facilitating the identification of missing invoices by cross-referencing supplier statements. The system does not directly post entries to the accounting ledger, execute payments, or automatically send payment reminders.

Step 04

How a batch of supplier invoices enters the review process

  1. Ingest invoices, receipts, credit notes, and statements via file folders or webhooks.
  2. OCR and local models extract fields while preserving the original documents.
  3. Automated validation of fields such as the basis for payment, amounts, dates, VAT, duplicate invoices, and banking information.
  4. Refer questionable items to staff for verification; once approved, export the data for import into the accounting system.
  5. Generate follow-up drafts when expediting specific items; optionally log these actions into the CRM via the MCP (Management Control Platform).
Step 05

Configure local accounting rules and models

The README example utilizes a local Ollama model and includes a sample chart of accounts tailored for a small food and beverage business. For a formal trial, you should replace the chart of accounts, tax categories, and vendor rules, and test field mapping and the review workflow using authorized, real-world documentation.

Step 06

Outputs include importable files and evidence of anomalies

The project generates review queues, extracts structured fields, identifies triggered business rules, produces CSV/JSON files (compatible with Xero), and flags missing documentation for reconciliation. Integration with CRM systems is an optional configuration; however, direct posting to accounting systems, payment execution, and automated email distribution are outside the scope of this project.

Step 07

Project demonstration and testing scope

The report references a test involving 36 synthetically generated local documents; the project examples do not contain real vendor data, nor do they demonstrate the accuracy rate for identifying actual invoices in a production environment.

Step 08Pilot Recommendations

How to check different document layouts

The local evaluation of warehouse reporting relies on 36 generated files, including invoices and other vendor-related documents. As these samples are synthetic, they do not fully represent the diversity of real-world source documents.

  • Check whether fields extracted from scanned documents are correctly mapped to their original locations.
  • Evaluate rules for transaction amounts, VAT, duplicate entries, and supplier account details.
  • Restrict actual usage scope exclusively to audited file exports and manual processing queues.
Step 09

Scope and Authenticity Constraints for Tax Purposes

VAT validation is based on UK HMRC rules. The README clarifies that all customer, vendor, and bank information—as well as the sample documents—are entirely fictitious. This small-scale evaluation has not yet been tested against real-world scenarios, such as documents containing shadows, creases, or images captured via smartphone.

Systems integrated with the project

  • Local Ollama
  • RapidOCR
  • Xero format (CSV/JSON)
  • Optional: Less Annoying CRM MCP

Ongoing Verification of These Issues

Are approved invoices automatically posted to Xero?

No. The project exports files in Xero format, but it does not write data to the accounting system or execute payments.

Explore alternative approaches for incoming invoices

Return to Inbound Invoice Process Flow →

Corporate Case Studies

Motor vehicle invoices contain numerous fields—which data points can be auto-populated after capturing an image?

Business Pain Points

Motor vehicle sales invoices contain numerous fields, making manual, per-invoice data entry prone to omissions or errors.

Solution

Passenger car manufacturers integrate vehicle invoice recognition into their apps. After dealers upload photos, the system extracts fields for subsequent data entry.

Project Returns

Shorter Data Entry Time per Item3 Minutes

Even after a motor vehicle invoice is captured and processed via optical character recognition (OCR)—extracting fields such as the invoice number and amount—it must still be possible to reference the original document for verification; a high recognition rate cannot serve as a substitute for the formal auditing of invoices.

View Project Practices and Scope of Application →
Corporate Case Studies

How can invoices from various utility providers—each with a different layout—be entered in bulk?

Business Pain Points

Utility bills originate from various providers, each with different layouts, field placements, and billing line items. Finance teams must manually locate the amounts and billing periods for each document before entering them into the accounts payable process.

Solution

A company's case integrates invoice receipt, field recognition, and rule validation; records with formats or fields that do not meet expectations are then processed manually.

Project Returns

Overall Accuracy96 %
Peak Accuracy99 %

When dealing with a high volume of bills in various formats, you can first verify key extracted fields and validation rules, then identify whether any anomalies can be traced back to specific individual bills.

View Project Practices and Scope of Application →
Corporate Case Studies

For a backlog of supplier invoices, decouple the data entry process from the verification process.

Business Pain Points

The coexistence of purchase-order-based and non-PO invoices—compounded by manual data entry, verification, and approval tracking across different regions—creates significant backlogs.

Solution

A company converts PDFs into structured electronic invoices, checks for discrepancies and data anomalies in purchase orders, and manually corrects them for subsequent improvements.

Project Returns

Invoice Processing Cycle1–2 days
Reduction in Processing Cycle Time85 %

Directing human attention toward order discrepancies and error identification

View Project Practices and Scope of Application →

What other process stages are affected by this work?

If a project reaches a stage requiring the handover of documentation or the reconciliation of results, you can continue to track the process through the relevant business workflows.

Process integration reference: Linking documentation to data organization.

Organize and structure documents before reconciliation

Invoice data—whether from emails, scanned documents, or internal systems—must first be standardized into uniform fields before it can be verified and recorded in the ledger.

Reference for supporting steps; does not imply that these specific functions have been deployed in any given case.

AI extracts invoice numbers, amounts, tax figures, and line-item details, standardizing the format and flagging duplicates; finance teams then verify these against the physical documents and underlying business transactions.

Continue exploring this business process →
Process integration reference: Handling expense reimbursement approvals.

Integration of Invoice Data into Expense/Reimbursement Review

Ensure that reimbursement amounts, expense details, and attachments can be traced back to the invoices submitted by employees.

Reference for supporting steps; does not imply that these specific functions have been deployed in any given case.

AI can extract data from invoice fields, flag duplicate invoices or missing attachments, and highlight relevant expense policy guidelines for the reviewer to consider.

Continue exploring this business process →
Process integration reference: Linking contracts to payment approvals.

Cross-verify purchase invoices against payment requests

Before making a payment, invoices must be cross-referenced with contracts or purchase orders, as well as delivery and acceptance records.

Reference for supporting steps; does not imply that these specific functions have been deployed in any given case.

AI can compare vendors, amounts, categories, and payment terms, tracing any discrepancies back to the original source documents.

Continue exploring this business process →