The settlement book
Where the money actually is: cash still in someone's hands, the service fee the platform has earned, what each branch is owed — and everything that does not balance.
This book reconciles and flags. It never moves money. There is no control on this page, and no request in its code, that can release a payout, mark an order paid, remitted or settled, write a ledger entry, or transfer a centavo — every call it makes is a read. Money movement is server-authoritative and human-gated; it is approved elsewhere, by a person. What this page does is re-add the book and say, out loud, when the numbers disagree.
Cash on delivery · the cash box
Every order in this tenant is CASH. Whoever physically took the money owes the platform everything except their own share.Posted obligations · cash already collected
A completed cash order puts a real obligation on whoever held the notes — the rider on a delivery, the branch on a dine-in or a pickup. It stays outstanding until a remittance is recorded against it by a person. Cash held less remitted is what is still outstanding; the arithmetic is printed rather than summarised so it can be checked.
| House | Collector | Orders | Cash held d | Less remitted | Outstanding | Oldest |
|---|---|---|---|---|---|---|
Reading completed cash orders… | ||||||
Approaching the cash box · in flight
Not an obligation yet — these orders have not completed, so nothing is posted. This is the cash that will land on each collector if every open order finishes as placed: the number a controller wants before the shift ends, not after.
| House | Collector | Open orders | Order value d | Will be owed d | Oldest |
|---|---|---|---|---|---|
Reading open cash orders… | |||||
Service fee accrual & partner payout
Select a branch to open its worksheet. Every derived figure is re-added there so it can be checked by hand, not taken on trust.| House | Branch | Orders s | Completed s | Settled value s | Service fee d | Rider earnings d | Owed to branch d | In flight d |
|---|---|---|---|---|---|---|---|---|
Reading each branch's read-model… | ||||||||
Settled value is the branch's own server read-model (GET /store/:id/analytics). The split beside it is reconstructed from the platform's published settlement rule, because no endpoint outside the gated /debug surface returns the ledger legs — see flag 07. In flight is the order value of that branch's open orders: a projection, and not payable.