PROJECT 10 • DAY 29 OF 90 • AP VALIDATION & 3-WAY MATCH

INVOSTRATA
INVOICE AUDIT AI.

An automated invoice sanity auditor and financial consistency platform — reconciling invoice math, checking purchase order balances, validating vendor tax compliance, and routing exceptions for finance teams.

Python 3.11+FastAPIReact 19TypeScript 5.7Tailwind CSSSQLAlchemySQLite25/25 Pytest
INVOSTRATA Preview
AP VALIDATOR
3-Way Match Engine
PYTEST SUITE
25 / 25 Passed
Line Math
100% Arithmetic Audit
3-Way Match
PO & GRN Cross-Check
Tax Guard
GST/VAT Sanity Validator
25 / 25
Automated Pytest Passed
01 / Overview

AUTOMATING FINANCIAL CONSISTENCY IN ACCOUNTS PAYABLE.

Accounts payable teams spend countless hours cross-referencing invoice line items against purchase orders and goods received notes. INVOSTRATA catches rounding errors, tax mismatches, and overbilling before payment.

01

Invoice Register Ledger

Centralized AP ledger indexing all pending and processed invoices with automated risk flags and verification badges.

02

Audit Record Inspector

Interactive line-by-line inspector displaying extracted quantities, unit prices, tax percentages, and discrepancy markers.

03

Validation Centre

Configurable audit rule suite testing subtotal sums, tax rate validity, currency consistency, and duplicate invoice numbers.

04

Exceptions Management

Dedicated dispute triage desk allowing finance managers to reject, adjust, or approve flagged invoices with audit notes.

05

3-Way Matching Engine

Automatically pairs supplier invoices with active Purchase Orders (PO) and Goods Receipt Notes (GRN) to verify delivered quantities.

06

Vendor Compliance Matrix

Tracks vendor error rates, recurring discrepancy patterns, and average invoice turnaround times.

02 / Architecture

HOW IT WORKS.

High-precision financial validation engine built with Python and React 19.

STAGE 01

Ingest Invoice

JSON/CSV/PDF payload parsed into structured schema.

→
STAGE 02

Arithmetic Check

Recalculates every line item, subtotal, and tax sum.

→
STAGE 03

3-Way Match

Cross-references PO and GRN tables for price and quantity.

→
STAGE 04

Tax Validation

Checks tax identification numbers and regional rates.

→
STAGE 05

Decision Gate

Auto-approves clean invoices; routes exceptions to review.

03 / Screenshots

APPLICATION SCREENSHOTS.

Live screens captured from the running application. Click any image to view full size, or follow setup instructions in the GitHub repository.

04 / Technical Details

VALIDATION SUITE & VERIFIED SPECS.

Key modules, rules, safety checks, and automated test results documented in the repository.

Subsystem Technical Implementation Verified Capability
Arithmetic Engine Decimal floating-point math validation Zero rounding or sum discrepancy errors
3-Way Matching Relational PO & GRN cross-referencing Automated over-billing & quantity guard
Exception Routing State machine with role-based overrides Full audit log with timestamped notes
Verification Suite Pytest test coverage for AP workflows 25 / 25 automated tests passed
05 / Tech Stack

CORE TECHNOLOGIES.

Frameworks, databases, visualization tools, and testing libraries used in INVOSTRATA.

BACKEND API
FastAPI (Python 3.11+)
FRONTEND UI
React 19 • TypeScript 5.7
DATABASE ORM
SQLAlchemy • SQLite WAL
STYLING
Tailwind CSS
BUSINESS LOGIC
Pydantic V2 • Decimal Math
TEST SUITE
Pytest (25/25 Passed)
06 / Next Steps

FUTURE ENHANCEMENTS.

Upcoming improvements planned for INVOSTRATA.

Native OCR integration for scanned paper invoice TIFF and image uploads.
ERP connectors for SAP, Oracle NetSuite, and Tally Prime.
Predictive vendor cash-flow discounting and early payment optimization.
OPEN-SOURCE PROJECT • GITHUB.COM/RAGURAMRRP

EXPLORE SOURCE & DOCS.

View the complete codebase, sample datasets, quick-launch scripts, and automated test suites on GitHub.