Resources / Restaurant A case
Restaurant A · User-supplied cleaned Zomato records
Restaurant A: reconcile order counts before explaining a payout
A daily report, an order-finance export and an item file can describe the same business without containing the same population. This case traces the differences before treating a mismatch as an underpayment.
The analysis reproduced counts and arithmetic from a supplied cleaned working pack. It did not connect to a merchant account, authenticate the original exports, inspect bank statements or observe an improvement in the restaurant’s results.
First decide what one row represents
The six quantities below answer different questions. Adding them together, using item lines as orders, or assuming the finance export contains every placed order would change the meaning of the result.
| Source or measure | What is being counted | Count | Interpretation |
|---|---|---|---|
| Daily performance | One calendar day | 153 | Includes zero-activity days. It is not a table of individual orders. |
| Daily placed-order total | A count reported across the daily table | 1,240 | No order-level placed-population manifest is supplied in this table. |
| Daily delivered-order total | A count reported across the daily table | 1,220 | Keep the delivered denominator separate from all placed orders. |
| Order finance | One distinct finance order | 1,232 | Includes 1,220 delivered and 12 cancelled orders. |
| Detailed items | One item line | 2,029 | Lines cover 1,239 distinct orders. Repeated order IDs can be legitimate. |
| Detailed item quantity | Sold/reported units across item lines | 3,453 | A quantity total. This is neither order count nor item-line count. |
Try the comparison
Choose a question to see which denominator belongs in the answer.
Keep unmatched orders visible
The finance file has one row per order. The item file has one row per item line. Both validated keys were unique at their intended level: order ID in finance, and order ID plus item index in the detailed item table.
These counts reconcile each supplied population: 1,231 + 8 = 1,239 item-file orders, and 1,231 + 1 = 1,232 finance orders. They do not establish why every mismatch occurred. Investigate source status, extraction filters and reporting boundaries before assigning a cause.
The union contains 1,240 keys, matching the daily placed-order total. Equal counts still do not prove completeness: the daily table does not provide a placed-order key manifest against which to verify every identity.
Download the published aggregate checks (CSV)
This worksheet contains only the counts and normalized figures shown here. It contains no raw order records, source identifiers, exact financial totals or merchant export. Normalized values are indices, not currency amounts or typical platform rates.
A safe order of operations
- Check that the finance order key is unique before joining.
- Group item lines by order for order-level comparisons. Retain item-level detail separately.
- Compare shared, item-only and finance-only keys. Keep unmatched records in the investigation.
- Review statuses and date boundaries before adding money from the matched tables.
Copying one order’s payout onto each item line and then summing would repeat that payout. A successful join is not, by itself, permission to sum every joined column.
Check your own aggregate order populations
Use distinct order counts from two files and their shared-key count. The initial values are the published Restaurant A aggregates. Replace them with counts you have already checked privately. This tool does not read order identifiers, infer matches or upload data.
Use one period and a consistent order-key definition. Enter whole counts from 0 to 1,000,000,000. The overlap cannot exceed either population. A daily placed-order total is optional and may describe a different status population.
The checker requires JavaScript. The set equations and the published counts above remain available without it.
- Finance-only orders
- Item-only orders
- Implied union of both populations
- Implied union minus daily placed total
Finance-only = finance distinct orders − shared keys. Item-only = item distinct orders − shared keys. Implied union = finance + items − shared. These are consequences of the counts you declare, not a check of the underlying identities or a proof of report completeness.
Inputs stay in this tab and are not saved; reloading restores the published defaults. The downloadable CSV contains the original published case aggregates, not your edited counts.
Use the financial rule for the relevant status
For all 1,220 delivered finance records, the supplied fields satisfy the following arithmetic exactly at the source precision:
Recorded payout = net order value − recorded deductions + recorded additions
The normalized illustration below sets delivered net order value to 100. It preserves the supplied delivered-record proportions without disclosing exact financial totals. Values are rounded to two decimals for display.
These indices describe this supplied delivered-order population only. They are not a commission tariff, industry benchmark or forecast, and payout is not profit.
The 12 cancelled finance records behave differently in this pack: their recorded payout equals their recorded net additions. Applying the delivered-record expression mechanically would produce 12 exceptions. This observation is specific to these supplied fields. It is not a universal Zomato cancellation-payment rule or proof of the amount owed.
A closed arithmetic identity shows how recorded fields relate. It does not establish that deductions were contractually correct, that the export was complete, or that the amount reached the bank.
What the analysis leaves unresolved
Two units remain between item views
The detailed item table totals 3,453 units. The aggregate item report totals 3,455. The two-unit difference remains disclosed. The cleaned pack alone does not establish the cause, and the analysis did not alter quantities to force agreement.
Monthly summaries retain less precision
Some order-level financial fields contain more than two decimal places. The monthly table uses rounded summaries. An exact comparison against the unrounded order sums can therefore show a small residual. Preserve source precision for the calculation and treat the display-rounding check separately.
Profit is not established
The supplied records do not establish a verified, complete operating-cost ledger. Missing cost evidence and unverified allocations prevent a reliable net-profit conclusion. Recorded payout, dashboard sales and profit must remain separate measures.
Platform coverage is limited
The inspected working pack supports a Zomato-record case. No separate Swiggy table or settlement schema was found in it. The analysis must not be described as a verified cross-platform reconciliation.
Use these checks on your own reports
Before explaining a sales-to-bank difference, write down each report’s period, row meaning, status population, money basis and matching key. Count and reconcile the populations first. Then calculate amounts at the level where they belong and record every unresolved difference.
Settlement reconciliation guide · Preview a join before repeating money · Compare overlapping exports
Method, provenance and privacy
Calculations were reproduced from a user-supplied cleaned analytical ZIP with decimal arithmetic and exact identifier-set comparisons. The business is labelled Restaurant A. Only aggregate counts and normalized financial figures are published. Exact dates, location, personal details, order and review identifiers, source filenames, photographs and raw records remain private.
The data holder reports the restaurant partner’s authorization for anonymized public examples. Publication is limited to the selected aggregate counts and normalized figures. The original merchant records and the partner’s permission have not been independently authenticated. Aggregate patterns may still be recognizable to someone who already knows the business.
No new field visit, interview, bank match, financial improvement or platform endorsement is claimed.
