Smart Reports
Reports built to prompt an action: what to stop stocking, and who to call before you lose them.
DigitalKey ERP — Docs · digital-key.co/docs/reports/smart-reports
reports.smart_reports20,000 IQD / monthOverview
Standard reports tell you what happened. These four are framed around what to do next. All are available individually, and the combined smart view at GET /api/v1/reports/smart returns them together.

Top products
Best sellers over the period, by revenue and by quantity — and the two do not always agree.
| Parameter | Type | Required | Description |
|---|---|---|---|
from_date | date | Optional | Start of the period. |
to_date | date | Optional | End of the period. |
Top customers
Who spends the most with you over the period.
| Parameter | Type | Required | Description |
|---|---|---|---|
from_date | date | Optional | Start of the period. |
to_date | date | Optional | End of the period. |
Dead stock
Products that have not sold for a long time. This is money sitting on a shelf doing nothing, and it is usually the fastest cash to release.
| Parameter | Type | Required | Description |
|---|---|---|---|
from_date | date | Optional | Start of the window used to judge whether an item has moved. |
to_date | date | Optional | End of that window. |
At-risk customers
Customers who used to buy regularly and have gone quiet. Reaching them before they settle somewhere else is far cheaper than replacing them.
| Parameter | Type | Required | Description |
|---|---|---|---|
from_date | date | Optional | Start of the comparison period. |
to_date | date | Optional | End of the comparison period. |
Using them together
- Clear dead stock to release cash.
- Keep top products always in stock — a stockout on a best seller is expensive.
- Contact at-risk customers while they still remember you.
- Look after top customers before someone else does.
Related
- AI Business Insights — recommendations from the same data.
- Stock Management — acting on dead stock.
- Customer Management — following up at-risk customers.