by pharwek industries
Audit Markdown, text, and PDF contracts: extract terms, reconcile payments, and generate a risk report.
Revenue Auditor β Obsidian Plugin for SEC Credit Agreement Audits
Revenue Auditor is a professional-grade Obsidian plugin designed to automate financial contract audits, risk analysis, and payment reconciliation for SEC credit agreements and complex financial contracts.
It leverages local AI models (via Ollama) and advanced PDF extraction (Docling) to ensure 100% data privacy and compliance with strict financial confidentiality requirements.
β¨ Key Features
- π Automated Contract Term Extraction: Automatically parses PDF credit agreements to extract expected values, default interest rates, payment schedules, and covenant terms.
- π Payment Reconciliation Engine: Cross-references contract commitment figures against actual payment records (
.csvformat) to instantly highlight underpayments, discrepancies, and variances. - β οΈ AI Risk & Penalty Analysis: Generates structured Markdown tables detailing default triggers, late fees, and concealed penalty clauses.
- π Standardized Vault File Routing: Automatically maintains a clean workspace structure:
01_Contracts/β Input PDF contracts02_Payments/β Input CSV payment ledgersAnalysis/β Output audit reports and the masterAudit_Index.md
- π 100% Local & Private: No contract text or financial data ever leaves your machine. Local processing guarantees zero data leakage.
π Vault Structure Standard
To ensure smooth automated processing, structure your Obsidian vault as follows:
Your_Obsidian_Vault/
βββ 01_Contracts/ # Store your credit agreement PDF files here
βββ 02_Payments/ # Store your payment ledger CSV files here
βββ Analysis/ # Generated reports and master audit index
βββ Audit_Index.md # Real-time index of all completed audits
βββ Audit_*.md # Individual detailed audit reports
π Quickstart Guide
1. Prerequisites
- Obsidian (v1.4.0 or newer)
- Ollama running locally (e.g.,
ollama run llama3ordeepseek-r1)
2. Installation
Manual Installation
- Download the latest release (
main.js,manifest.json,styles.css). - Create a folder named
revenue-auditorinside your vault's.obsidian/plugins/directory:mkdir -p .obsidian/plugins/revenue-auditor - Copy the release files into
.obsidian/plugins/revenue-auditor/. - Reload Obsidian and enable Revenue Auditor in
Settings -> Community Plugins.
π‘ How to Run an Audit
- Place your target contract PDF inside
01_Contracts/and payment ledgers inside02_Payments/. - Open the Command Palette in Obsidian (
Ctrl+PorCmd+P). - Search for
Revenue Auditor: Run Revenue Audit. - In the modal:
- Contract file: Select the PDF from
01_Contracts/. - Payments CSV: Select the corresponding CSV file from
02_Payments/(or choose(none - skip financial validation)to skip payment reconciliation).
- Contract file: Select the PDF from
- Click Start Audit.
- View the generated report in
Analysis/and check the updated summary table inAnalysis/Audit_Index.md.
βοΈ Settings & Configuration
In Settings -> Revenue Auditor:
- Ollama Endpoint: Set your local Ollama server address (default:
http://localhost:11434). - LLM Model: Select your preferred extraction model (e.g.,
llama3.2,deepseek-r1,mistral). - Extraction Timeout: Customize the timeout duration for long SEC filings.
π‘οΈ Privacy & Security
Revenue Auditor is designed with a Privacy-First Architecture:
- Zero external API calls for PDF text processing or LLM inference when using Ollama.
- PDF contents are processed locally in memory.
- No telemetry, analytics, or logging of sensitive financial data.
π License
Distributed under the MIT License. See LICENSE for more information.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.