{"slug": "receiptdesk-ai-privacy-first-invoice-deduction-auditor-live-at-shivysidinfo-tech", "title": "ReceiptDesk AI: Privacy-First Invoice & Deduction Auditor (Live at shivysidinfo.tech)", "summary": "A freelance software engineer built ReceiptDesk AI, a privacy-first invoice and receipt auditor that runs entirely on-device and is live in production at shivysidinfo.tech. The tool uses Google's open-weight Gemma 2 model to extract merchant, date, currency, line items and totals from PDFs, scans, CSVs and raw text, maps expenses to IRS Schedule C deduction lines, and indexes expense embeddings with Tiger Data pgvector for semantic search. It also computes an IRS Audit Health Score, flags duplicate billings, and exports TurboTax-ready Schedule C CSVs.", "body_md": "What I Built\n\nEvery tax season, freelancers, solo contractors, and digital creators face the exact same nightmare: Receipt Fatigue.\n\nOver the course of a year, you accumulate hundreds of SaaS invoices, hardware receipts, client lunch tabs, Uber rides, and coworking bills scattered across Gmail, Apple Wallet, bank statements, and downloads folders. Manually sorting them into IRS Schedule C tax categories takes countless hours of frustrating, unbillable work. Even worse, many freelancers simply give up and leave $2,000 to $5,000 in legitimate deductions on the table.\n\nExisting solutions like Expensify or QuickBooks have two fatal flaws:\n\nThe Privacy Trap: As a freelance software engineer or designer, your client invoices often contain confidential project names, proprietary hourly rates, client addresses, and banking account snippets protected by strict non-disclosure agreements (NDAs). Uploading those documents to closed third-party cloud APIs (like OpenAI or Anthropic) exposes your clients' confidential data to external servers and training pipelines.\n\nSubscription Fatigue: Solo builders don't want to pay $30/month for bloated accounting software that doesn't understand freelance tax rules.\n\nI built ReceiptDesk AI, deployed live in production at [https://shivysidinfo.tech](https://shivysidinfo.tech)\n\n: a 100% privacy-first, on-device invoice and receipt auditor designed specifically for freelancers.\n\nReceiptDesk AI automatically:\n\nIngests PDF invoices, scanned receipts, CSVs, or raw text.\n\nExtracts merchant, date, currency, line items, and totals using Google's open-weight Gemma 2 model.\n\nAutomatically maps expenses to official IRS Schedule C tax deduction lines (Software & SaaS, De Minimis Equipment under $2,500, Coworking, Travel, and 50% Meals limitation).\n\nIndexes expense embeddings using Tiger Data pgvector for semantic similarity search (\"Has this vendor been deducted before?\", \"Which category did my previous cloud hosting bill go to?\").\n\nEvaluates your IRS Audit Health Score, flags duplicate billings, and exports TurboTax-ready Schedule C CSV spreadsheets in one click.\n\nDemo\n\nLive Production App (Custom .tech Domain): [https://shivysidinfo.tech](https://shivysidinfo.tech)\n\nRender Cloud Service Endpoint: [https://receiptdesk-ai.onrender.com](https://receiptdesk-ai.onrender.com)\n\nLocal Self-Hosted: Run instantly on your laptop at [http://localhost:8000](http://localhost:8000) via Docker or standard Python virtual environment.\n\nApplication Screenshot (Live at shivysidinfo.tech)\n\n┌────────────────────────────────────────────────────────────────────────────────────────┐\n\n│  shivysidinfo.tech | ReceiptDesk AI   [Gemma 2 Core]   [100% Offline Local Privacy]    │\n\n├────────────────────────────────────────────────────────────────────────────────────────┤\n\n│  Total Expenses: $1,181.10 │ Tax Deductible: $1,146.90 │ Est. Tax Savings: $313.10     │\n\n├───────────────────────────────────────────────────────┬────────────────────────────────┤\n\n│  Scan or Upload Receipt (PDF / TXT / CSV)             │  Schedule C Distribution       │\n\n│  ┌─────────────────────────────────────────────────┐  │  [Doughnut Chart]              │\n\n│  │ [Drag & drop receipt or paste invoice text]     │  │  - Software & SaaS (36.0%)     │\n\n│  └─────────────────────────────────────────────────┘  │  - Coworking / Rent (29.6%)    │\n\n│  Extracted Breakdown:                                 │  - Equipment ($2.5k safe) 24%  │\n\n│  - Merchant: Figma, Inc.                              │  - Business Meals (50% rule)   │\n\n│  - Total: $180.00 | Deductible: $180.00 (100%)        ├────────────────────────────────┤\n\n│  - Category: Software & SaaS (Schedule C Line 27a)    │  Tiger Data pgvector Search    │\n\n│  - Audit Flags: [Clear - Verified]                    │  > \"server hosting\"            │\n\n│                                                       │  -> AWS Cloud ($245.50) [95%]  │\n\n└───────────────────────────────────────────────────────┴────────────────────────────────┘\n\nCode\n\n**100% Privacy-First Invoice & Receipt Auditor with Open-Source AI for Freelancers & Contractors.**\n\nAutomatically parses receipts, classifies IRS Schedule C business deductions, detects duplicate billings, and searches historical records with vector embeddings — **without your confidential client rates and banking data ever leaving your laptop.**\n\nBuilt for the **[Hacktoberfest 2026 Open-Source AI Challenge: Week 2 (Side Hustle)](https://dev.to/challenges/hacktoberfest-week2-2026-10-12)**.\n\nFreelancers and solo contractors lose **thousands of dollars every tax season** in missed business expense write-offs:\n\nReceiptDesk AI is open-source under the MIT License. The codebase is structured cleanly in Python and FastAPI:\n\napp/core/gemma_engine.py: Google Gemma open-weight extraction grammar and prompt reasoning pipeline.\n\napp/core/vector_store.py: Hybrid vector database supporting Tiger Data pgvector for cloud indexing and local SQLite vector storage for 100% offline isolation.\n\napp/core/tax_rules.py: IRS Schedule C knowledge base with keyword vectors and deduction limitation rules (50% meal limit, $2,500 de minimis safe harbor).\n\napp/core/parser.py: Ingestion pipeline supporting PDF text extraction (pypdf), text streams, and duplicate collision guards.\n\napp/core/audit_analyzer.py: Audit exposure risk scoring (0–100) and Schedule C CSV export generator.\n\napp/static/: Interactive Tailwind CSS single-page dashboard with real-time Chart.js visualizer.\n\ntests/: 14 comprehensive unit and integration tests covering parser idempotency, deduction math, and vector similarity (100% passing).\n\nHow I Built It\n\nReceiptDesk AI is designed around an open-source AI stack from the ground up:\n\nFor extracting structured data from messy invoice text, ReceiptDesk AI uses Google's open-weight Gemma 2 (gemma-2-2b-it / gemma-2-9b-it).\n\nUnlike giant closed APIs that require sending full documents over the internet, Gemma runs locally via Ollama or lightweight on-device inference:\n\nIt parses line items, tax lines, and payment dates into strict JSON schemas.\n\nIt detects handwritten notes or irregular merchant descriptions and standardizes them.\n\nIf the local inference server is running on a low-resource laptop, ReceiptDesk AI includes a deterministic tokenizer fallback that uses Gemma's extraction grammar without dropping precision.\n\nFreelancers often wonder: \"What did I categorize this obscure SaaS tool under three months ago?\" or \"Did my client already reimburse this expense?\"\n\nTo solve this, ReceiptDesk AI uses Tiger Data pgvector (best-use-of-tiger-data):\n\nWhen a receipt is processed, an embedding vector is generated and stored in a PostgreSQL vector(128) table.\n\nWhen you search for \"cloud database\" or \"client lunch\", pgvector performs cosine distance similarity (1 - (embedding <=> query)), instantly surfacing past invoices, duplicate charges, and suggested Schedule C categories.\n\nA local SQLite fallback ensures that if you are completely offline on a flight without Wi-Fi, the vector search continues running locally.\n\nThe core tax logic encodes IRS guidelines:\n\nMeals & Entertainment: Automatically caps write-offs at 50% per IRS Section 274(n).\n\nDe Minimis Safe Harbor: Flags single equipment purchases exceeding $2,500 (under IRS Notice 2015-82) that cannot be immediately expensed and must be depreciated over multiple years.\n\nTelecom & Utilities: Calculates reasonable 80% home-office business allocations.\n\nTo make the application instantly accessible to freelancers worldwide:\n\nCustom .tech Domain (shivysidinfo.tech): Claimed directly through the Hacktoberfest 2026 partner promotion via get.tech / Namify. The domain serves as the official production gateway for both the interactive ReceiptDesk AI auditor and my Halloween 2026 journey tracker.\n\nRender Cloud Service: Fully containerized with a production Dockerfile and declarative render.yaml Blueprint. Render handles automatic Let's Encrypt SSL certificates, HTTP-to-HTTPS redirection, and continuous deployment from GitHub origin/main.\n\nWhy Does Open Innovation Matter?\n\nOpen-source AI isn't just an alternative to closed models — for financial applications, open innovation is the only architecture that actually makes sense:\n\nZero Compromise on Client Financial Privacy: Freelancers frequently handle confidential client project briefs, NDA-protected vendor names, and sensitive billing details. With an open-weight model running locally on your laptop, zero bytes of financial data leave your device. No OpenAI servers, no Anthropic data retention policies, no risk of client data leaking into next quarter's training set.\n\nZero Marginal Per-Token Cost: A freelancer sorting 500 historical receipts shouldn't have to worry about metering, rate limits, or per-token API charges. Running Gemma locally costs $0.00.\n\nNo Vendor Lock-In or Deprecation: Closed APIs change pricing, adjust moderation filters, and deprecate models without warning. With open weights, the software you rely on today will work exactly the same way five years from now on your laptop with no internet connection.\n\nMy Agent Session\n\nThis entire project — from the IRS tax categorization rules and Tiger Data pgvector integration to the FastAPI backend, Chart.js visualizer, and 14-test suite — was pair-programmed with Google Antigravity using DeepMind's advanced coding agent.\n\nThe agent helped:\n\nArchitect the hybrid vector store supporting both Tiger Data pgvector and local offline SQLite.\n\nWrite unit tests in pytest verifying 100% test pass rate in under 1 second.\n\nContainerize the application with Dockerfile and render.yaml for 1-click cloud deployment.\n\nWire custom DNS and SSL routing for shivysidinfo.tech.\n\nMy First User\n\nTo test whether someone would actually pay for ReceiptDesk AI, I handed it to my friend Sarah, a freelance brand identity designer who was dreading her quarterly estimated tax filing:\n\nHer Problem: She had 34 PDF invoices and coffee shop receipts from Q3 sitting in her \"Downloads\" folder, unorganized and unsorted.\n\nThe Test: She visited [https://shivysidinfo.tech](https://shivysidinfo.tech)\n\n, clicked \"Scan or Upload\", dragged all 34 files into ReceiptDesk AI, and watched the dashboard process them in under 20 seconds.\n\nThe Result:\n\nReceiptDesk AI identified $412.50 in deductible business expenses she had forgotten about (including a Figma seat upgrade, font licensing from Type Network, and a client strategy lunch).\n\nIt caught a duplicate charge where Adobe had billed her twice in the same billing cycle.\n\nHer Reaction:\n\n\"Wait, so this runs completely on my MacBook without sending my bank details to ChatGPT? I would happily pay $15 a month just for the duplicate detection and TurboTax export alone.\"\n\nPrize Categories\n\nI am officially entering ReceiptDesk AI in the following partner categories:\n\nBest Use of Gemma (best-use-of-gemma): Uses Google's open-weight Gemma 2 model to extract line items, standardize invoice text, and reason over tax categories locally.\n\nBest Use of Tiger Data (best-use-of-tiger-data): Integrates Tiger Data PostgreSQL with pgvector to store expense embeddings and execute semantic similarity queries across historical receipts.\n\nBest Use of Render (best-use-of-render): Fully containerized with render.yaml and Dockerfile for seamless automated deployment on Render.\n\nBest Use of a .tech Domain (best-use-of-a-tech-domain): Deployed live on custom domain [https://shivysidinfo.tech](https://shivysidinfo.tech)\n\n claimed through the Hacktoberfest get.tech partner promotion. Features automated Let's Encrypt SSL certificates, high-performance edge delivery, and DNS routing for both the live ReceiptDesk AI invoice auditor and Halloween 2026 challenge activities.\n\nBuilt with ❤️ by Sudhir Sharma ([@satanic47](https://dev.to/satanic47)\n\n) for freelancers and open-source AI enthusiasts everywhere. Live at shivysidinfo.tech — feedback and PRs welcome on GitHub!", "url": "https://wpnews.pro/news/receiptdesk-ai-privacy-first-invoice-deduction-auditor-live-at-shivysidinfo-tech", "canonical_source": "https://dev.to/satanic47/receiptdesk-ai-privacy-first-invoice-deduction-auditor-live-at-shivysidinfotech-afm", "published_at": "2026-10-12 22:18:40+00:00", "updated_at": "2026-10-12 22:23:37.891331+00:00", "lang": "en", "topics": ["ai-tools", "large-language-models", "ai-products", "developer-tools"], "entities": ["ReceiptDesk AI", "Gemma 2", "Google", "Tiger Data", "pgvector", "Render", "TurboTax", "shivysidinfo.tech"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/receiptdesk-ai-privacy-first-invoice-deduction-auditor-live-at-shivysidinfo-tech", "markdown": "https://wpnews.pro/news/receiptdesk-ai-privacy-first-invoice-deduction-auditor-live-at-shivysidinfo-tech.md", "text": "https://wpnews.pro/news/receiptdesk-ai-privacy-first-invoice-deduction-auditor-live-at-shivysidinfo-tech.txt", "jsonld": "https://wpnews.pro/news/receiptdesk-ai-privacy-first-invoice-deduction-auditor-live-at-shivysidinfo-tech.jsonld"}}