01Zoho · Xero · QBO · Tally
Universal edge ingest
Desktop or API nodes push trade and taxLines batches from Zoho Books, Xero, QuickBooks Online, or Tally Prime — with Zero-Duplicate Replay Protection (the same invoice never counts twice) on stable ledger ids and Source-Aware badges in Approvals.
02PDF · JPEG · PNG · WebP
OCR morning bills (purchases first)
Accountants upload PDF/image evidence — Morning bill (OCR): the supplier invoice, read automatically. The PM2 OCR worker stages drafts; Review & Save creates PENDING_CONFIRMATION trades — never live stock. Sales/sample rows often already exist from ledger sync.
03Front · Back · Waive · Audit
Evening slip security gate
Evening Slip security gate — a signed delivery note, delivery challan or gate pass is required before stock changes. Physical delivery / dispatch proof attaches to the pending row for inward, outward, and sample. Upload the front (required for confirm) and optionally the back when the delivered stamp or signature is on the reverse.
04Inward 3-way · Sales books+slip · Anomaly
Asymmetric match + Pricing Agent
Asymmetric Trade Match — checks bills and delivery proof against your books before stock moves. Inward stays full books ↔ OCR ↔ evening (a 3-way match with delivery proof). Outward and Sample use books + evening dispatch. Pricing Anomaly Agent (IQR) flags when a supplier charges more than usual on inward buys only.
See also 3-way matching explained for distributors.
05Confirm · Auto · Balance · FX
Atomic confirm → stock
Confirm & update stock sets CONFIRMED, mutates products and inventory_balances together, and can apply FX when the invoice currency differs. Optional company auto-confirm runs the same atomic path for clean matches after evening attach. Each Pending trade — an entry waiting for approval — stays held until then.
06ADU · DIR · Analytics
Procurement & executive signal
Dated OUTWARD history powers Predictive Procurement (ADU, DIR, auto-ROP) — reorder alerts from your real daily sales — plus Atomic Multi-Warehouse Routing (audited stock transfers between warehouses), Chronological Credit Allocation (FIFO), and Brush-zoom executive sales drill-downs.