The single most common "is the system wrong?" report in this codebase is "the report number does not match the invoice list" or "the dashboard total does not match what I posted this morning". It is almost always one of seven causes. This article walks them in the order to check.

1. Cache freshness#

Reports cache results in Redis. Precomputed dashboards refresh every 30 minutes. On-demand reports cache per filter combination. Keep the exact filters while checking freshness. Changing the date range changes the question and may hit another cached result; it does not prove the original result is fresh. Use a supported refresh action where available, or ask support to investigate cache freshness. See When the cache is in your way.

2. Branch scope#

If you and another manager see different totals, check whether your accessible_branches differ. The aggregate at the top may show a tenant-wide number from a precomputed cache while the drill underneath only shows your branches' records.

3. Recognised vs collected#

Revenue recognised is the invoice line at the moment of service delivery. Revenue collected is the payment receipt. A package paid up-front sits in deferred revenue until the patient uses each session. Most owners want recognised in the P&L and collected in the cash position. They are different numbers on purpose. See sales packages.

4. Status filter on the invoice list#

Status selection is metric-specific. A paid-invoice metric, issued-invoice total, collected-payment metric, and posted general-ledger report can use different records and dates. Read the report definition and compare the same statuses; do not assume that every report uses a universal posted-and-paid filter.

5. Voided invoice in the period#

An invoice voided after posting reverses the original. A ledger report and an invoice-status report may represent that reversal differently. The invoice list can retain the voided row. Compare the void timestamp to the report's date filter. If the void straddles month-end, the math is correct but counter-intuitive.

6. Currency conversion#

Check the currency shown by the report and each source record. Conversion behaviour depends on the report and accounting source; do not assume every aggregate converts at the posting-date rate. Compare amounts in the same currency and use the report's stated conversion basis. See currency in reports.

7. Refund period straddle#

Check whether the report attributes a refund to its payment date, refund date, original invoice, or accounting journal period. Different metrics can produce different period totals. A current-month refund is not a universal instruction to rewrite last month's report; compare the relevant source rows and date basis.

If none of the above#

Open a support ticket with: the report code, the exact filters, the user, the timestamp you ran it, the timestamp of the invoice you expect to see, and a screenshot of both. The cache key and the user's branch ACL are what the engineer needs to reproduce.