| ← All Docs Reports

Reports

Verified Last updated: September 2026

AquaDealers provides 9 report types covering finance, sales, inventory, and farmer ledgers. Most support date filtering and multiple export formats.

Report Summary

ReportRouteData SourceDate FiltersExport Formats
Monthly Finance Pack /reports Revenue, expenses, dues, settlements, health score This Month, Last Month, Last 3/6 Months, Custom CSV, Excel-compatible HTML, Summary PDF
Sales Register /sales-register Per-bill detail with line items Date range CSV, Excel
Profit Report /profit-report Revenue − COGS − Expenses (FIFO-based COGS) Date range CSV
Stock Report /inventory/report Current stock levels, valuation, low stock alerts Point-in-time (current) PDF, WhatsApp
Settlements /reports/settlements Settlement discount details per farmer Date range
Dues Report /dues Outstanding amounts with ageing buckets Point-in-time (current) PDF, WhatsApp
Daily Book /book/* 11 daily views (register-styled) Single date (with prev/next navigation)
Farmer Statement /farmers/:id Ledger with running balance per farmer Date range PDF, WhatsApp, Public link
Expiring Medicines Dashboard widget Medicine lots approaching expiry 30 / 60 / 90 day windows PDF, WhatsApp

Report Details

1. Monthly Finance Pack

Route: /reports

The primary financial overview. Combines revenue, expenses, dues, settlements, and a dealer health score into a single dashboard-style report.

Date Presets

Export Options

Performance Warning: The Monthly Finance Pack fetches ALL data unbounded — 10+ queries with no row limits or pagination. This will break for high-volume dealers with thousands of bills. See Performance page for details.

2. Sales Register

Route: /sales-register

Per-bill detail with individual line items. Paginated via RPC (server-side) for performance. Supports date range filtering.

Export: CSV, Excel

3. Profit Report

Route: /profit-report

Calculates: Revenue − COGS − Expenses = Profit

COGS is calculated using FIFO lot consumption — the cost of each sold item is traced back to the specific purchase lot it came from, consumed in first-in-first-out order. Paginated via RPC.

Export: CSV

4. Stock Report

Route: /inventory/report

Current snapshot of all inventory: stock levels, total valuation, and low stock alerts. Point-in-time report (no date range).

Export: PDF, WhatsApp (via wa.me link using Stock Report template)

5. Settlements

Route: /reports/settlements

Details of settlement discounts applied per farmer. Shows discount amount, original balance, and settled amount.

6. Dues Report

Route: /dues

Outstanding amounts across all farmers with ageing buckets:

BucketAge
Current0–30 days
Overdue31–60 days
Seriously Overdue61–90 days
Critical90+ days

Export: PDF, WhatsApp

Performance note: Uses useWindowVirtualizer for row virtualization on large farmer lists.

7. Daily Book

Route: /book/*

Register-styled daily views with 11 sub-views covering all daily transactions. Supports date navigation (previous/next day). Prefetches adjacent dates for fast navigation.

8. Farmer Statement

Route: /farmers/:id

Complete ledger for a single farmer showing all bills, payments, returns, and adjustments with a running balance column.

Export Options

9. Expiring Medicines

Route: Dashboard widget (not a standalone page)

Lists medicine lots approaching expiry within configurable windows:

Export: PDF, WhatsApp