AI-Based Vendor Reconciliation Portal (VRP) for Industry Finance/CA Firms
Author : CA Akhil Gupta
Author : CA Akhil Gupta
Introduction
In large manufacturing enterprises operating on SAP HANA/ERP System, vendor reconciliation is one of the most critical yet time-consuming month-end activities. Discrepancies between vendor-submitted statements and ledger data can lead to incorrect liabilities, GST mismatches, and delayed payments — all of which directly impact audit quality and working capital management.
This use case presents a full-stack AI-powered Vendor Reconciliation Portal (VRP) developed and deployed at the plant finance level, demonstrating how a Chartered Accountant can independently architect and implement an enterprise-grade automation solution using modern AI tools.
Problem Statement
Finance teams at organisation face the following reconciliation challenges:
Technology Used
| Component / Technology | Purpose in This Portal |
| Node.js built-in HTTP server | Runs the local portal server, vendor submission server, and OpenAI reconciliation webhook. |
| JSON file storage | Stores portal state, users, vendors, audit logs, reports, submissions, and reconciliation data in JSON files under the data folder. |
| OpenAI Responses API | AI engine used for vendor reconciliation, ledger comparison, document extraction, risk scoring, and structured reconciliation output. |
| HTML / CSS / Vanilla JavaScript | Frontend portal for admin login, vendor upload, reconciliation dashboard, reports, settings, and email triggering. |
| SheetJS / XLSX | Reads Excel files such as .xlsx and .xls uploaded into the portal. |
| jsPDF | Generates downloadable PDF reports from the portal. |
| Google Apps Script | Provides the public vendor submission page, status sync, and email webhook integration. |
| GmailApp via Google Apps Script | Sends vendor reconciliation request emails from the configured Google account. |
| Google Drive link / Google-hosted vendor flow | Used as the public-facing vendor submission and file-sharing route through Apps Script / Drive configuration. |
| CSV / Excel file upload | Source for company-side AP/vendor ledger data. |
Solution — How the VRP Works
1. Vendor Onboarding & Secure Upload Each vendor receives a unique login to the portal. They upload their ledger statement in any format — PDF, Excel, CSV, or image. The portal accepts all without requiring any standardization from the vendor's side.
2. AI-Powered Ledger Parsing The API acts as the intelligence layer. Regardless of whether the vendor sends a scanned PDF or a multi-column Excel, AI reads, understands the document structure, and extracts line-item data — invoice number, date, amount, debit/credit — into a standardized JSON format.
3. Automated Reconciliation Engine The extracted vendor data is matched against the open items pulled for that vendor. The system applies a three-level matching logic:
4. Discrepancy Report Generation A structured reconciliation report is auto-generated, showing matched items, unmatched items (with reasons), and the net reconciling difference. This is stored in Local Folder with a full audit trail.
5. Automated Email Communication via Google Script The system dispatches a personalized email to the vendor with the reconciliation report attached — without any manual intervention from the finance team. Escalation reminders are also triggered if the vendor does not respond within a defined SLA.
Benefits Delivered
| Metric | Before VRP | After VRP |
| Time per vendor reconciliation | 45–60 minutes | 3–5 minutes |
| Vendor ledger formats supported | Only standard Excel | Any format (AI-parsed) |
| Audit trail availability | Nil (email-based) | Complete (SQLite logs) |
| Month-end reconciliation cycle | 4–5 days | Same day |
| Human error risk | High | Near zero |
Innovation & Differentiators
Conclusion
The AI-based Vendor Reconciliation Portal demonstrates how finance professionals can leverage cutting-edge AI tools to solve real, high-stakes operational problems — without dependence on expensive ERP add-ons. By combining the AI API with a robust Node.js backend, local database, and Gmail automation, this solution transforms a process that once took days into one that completes in minutes.
This use case reflects ICAI's vision of Chartered Accountants as digital transformation leaders — capable of not just using AI, but architecting AI-native solutions for the Indian finance ecosystem.