BOCA JUAN · SETTLEMENT tenant bocajuan Read-only connecting…

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.

Period
Window · Asia/Manila
Read at
Cash not yet remitted d
Reading the cash box…
Cash approaching d
in flight
Settled order value s
completed orders
Platform service fee s
of settled value
Owed to branches d
settled value less the service fee
s served by a server read-model — printed as the server computed it d derived on this page from server-stored order fields — arithmetic shown, tied out below

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…
Ageing · open cash orders
By order value, from when the order was placed. An order that goes stale here becomes stale cash the moment it completes.

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.

Select a branch above.

Reconciliation flags

Run on every order in the window, on each load. A pass is stated as plainly as a failure — a check that is silent when it passes is a check nobody trusts.
Running the checks…