MandiERP logo

MandiERP

Offline-First Mandi & Arhat Trading Desk Desktop ERP
Bespoke Desktop Build Go · Wails v2 · SQLite

The digital arhat desk engineered for agricultural market yard (APMC) trading firms: a single executable and one local database file. Zero internet connection required, zero cloud lag, sub-millisecond local SQLite transactions, paisa-exact deduction logic across 15 agricultural charge kinds, keyboard-first Tally shortcuts, and automated Tally XML synchronization.

Go 1.26+ Wails v2 Desktop Embedded SQLite 100% Offline-First Mandi Deductions Tally Prime XML Sync Keyboard-First Navigation 80mm Thermal & A4 Print vs. Sluggish Tally Plugins
Single .exe
Zero Server, Zero DB Install
0ms Lag
Local Embedded SQLite Engine
Paisa-Exact
15 Agricultural Deduction Kinds
Tally Sync
Automated Port 9000 XML Push

Engineered for High-Pressure APMC Counter Workloads

🌾

Estimate Bills & Debit Notes (DN)

Built for the exact arhat flow: party, broker, truck number, bags, bill weight, kanta scale notes, and 15 configurable deduction kinds (Dalali, Kanta weight loss, cash discounts, labour, bardana claims, and TDS).

⌨️

Keyboard-First Tally Keybindings

Counter operators never touch the mouse. Uses standard Tally shortcut conventions: F8 (New Estimate), F2 (Date), F3 (Account Switch), F6 (Payments), F12 (Setup), and Ctrl+A (Accept & Save).

🔄

Native Tally Prime XML Sync

Built-in XML protocol engine connects directly to Tally on port 9000. Syncs batches of 25 journal vouchers automatically every 60 seconds with line-by-line refusal feedback.

🏢

Multi-Firm Account Hot-Switching

Run multiple mandi trading firms from a single desk. Each entity has its own isolated SQLite database under `db/`, distinct GSTIN/PAN letterheads, and independent estimate serial numbers.

💰

Running Payment Book & Ageing

Track receivables and outstandings aged 0–30, 31–60, and 60+ days. Automatically credits payments on account against the oldest open bills, matching traditional arhat ledger settlement practices.

🖨️

Direct Thermal & A4 Sheet Printing

Zero-dependency document rendering: print instant 80mm thermal slips for gate passes or complete A4 estimate sheets for formal audits without external PDF drivers.

Architecture & Desktop Engineering

Language & Runtime:Go (Golang 1.26+) — compiled to a single native GUI executable
Desktop Shell:Wails v2 — native OS WebView2 (no Chromium memory bloat; ~35MB RAM)
Database Engine:Embedded SQLite with WAL mode & automated daily disk snapshots
Accounting Bridge:Custom zero-dependency XML envelope generator for Tally Prime / ERP 9
Hardware & Output:ESC/POS thermal printer support, native Excel XLSX generation, custom title bar

Frequently Asked Questions

Why is an offline Go desktop app superior to a cloud SaaS in a mandi?
Mandi market yards frequently experience power cuts, fluctuating mobile towers, and network blackouts. A cloud app stops working the moment the internet drops. MandiERP runs 100% locally with embedded SQLite: it boots instantly, never buffers, and ensures bills can always be printed without internet reliance.
Does MandiERP alter or corrupt existing Tally databases?
No. MandiERP connects to Tally's official HTTP XML interface as an external client. It posts validated journal vouchers into your company ledger. Cancelled bills are never queued, and any refusal by Tally is clearly highlighted with exact ledger diagnostic errors.
Can CodeQuackers engineer offline desktop software for other industrial sectors?
Yes. Beyond MandiERP and Rajaram Marmo, CodeQuackers builds custom offline-first desktop tools, edge warehouse terminals, and industrial hardware-interfaced software using Go, Wails, Rust, and embedded SQLite.