Guesthouse front desk - shift-handover payment reconciliation tool - a single offline HTML page that balances three lines independently (system receivables, mobile-pay settlement report, cash count), flags any mismatch red, opens a line-by-line review that surfaces decimal / duplicate / missing candidates, and offers exactly one exit for an unbalanced gap: mark it pending and carry it to the next shift - no reconcile-anyway button exists
Build me a ready-to-use single-file web tool
(HTML with inline CSS/JS, opens by double-click,
runs offline, no installs, no accounts) for
guesthouse front-desk shift-handover payment
reconciliation.
Three input blocks plus one results block:
Input 1 - this shift's payments (one row each)
- Fields: time / room / method (cash, mobile
pay, card, platform-collected, city ledger) /
amount / note
- Support paste-batch entry: one transaction
per line, parsed as time|room|method|amount;
lines that fail parsing show in red with
the original text - silent drops forbidden
Input 2 - external reference totals (one
number each)
- System receivables total (copied from the
PMS shift-period report)
- Mobile-pay settlement report total for the
shift window (copied manually)
- Cash: float base + counted total
Input 3 - city ledger and pre-auths
- City ledger: account / amount / approver
- Pre-auths: room / amount / release status
Results logic:
1. Three lines, each balanced independently:
cash line = count minus float versus cash
rows in the detail
mobile line = settlement report versus
mobile-pay rows
system line = receivables versus all rows
Zero difference shows green; any other
number shows red with the gap
2. Any red line opens the per-transaction
panel: rows grouped by amount, auto-flagged
into three candidate classes - near-amount
possible decimal error / same amount same
method adjacent-in-time possible duplicate /
present in one source absent in the other
possible miss - each candidate clickable to
jump to the transaction
3. An unresolved gap has exactly one exit:
"mark pending" onto the handover sheet
(gap / which line / note). The tool offers
no adjust, no write-off, no "trust the
count" override - none
Handover sheet (printable):
- Balance status and gap for each of the
three lines
- Pending list: including items inherited
unresolved from the previous shift; this
shift must show each as resolved or carried
forward again
- Signature block: outgoing / incoming /
gap acknowledged
Hard requirements:
- Data lives in page memory plus an
exportable CSV; zero network requests
- No built-in default amounts or industry
rules of thumb
- When a gap resists explanation, no
comforting guesses ("maybe the guest left
without paying") - only facts: which line,
how much, from what time the detail
records begin
Why it is written this way
Three numbers telling three stories is the root of desk gaps: system receivables say what should exist, the settlement report says what the provider collected, the count says what the drawer holds. They come from three different worlds, and any two agreeing proves nothing about the third. The tool's value is not arithmetic - it is forcing each line to zero separately, decomposing "we're off by two hundred" into "cash line off two hundred, the other two clean," which shrinks the hunt by two-thirds before anyone lifts a finger.
The per-transaction panel's three candidate classes (decimal, duplicate, missed) mirror the real distribution of handover errors: eight out of ten gaps are one of these. Grouping by amount is the key trick - the gap itself usually equals one transaction's amount or the difference of two, and scanning dozens of rows by eye is hopeless. Let the tool shortlist the suspects and let the human confirm; the machine points, it never concludes - which uses its strengths and routes around its weaknesses.
"No reconcile-anyway feature" is the tool's constitution. The moment a reconciliation tool grows a "trust the count" button, that button gets pressed - and three days later the books are full of forced balances with the real holes paved over. A gap has exactly two legal endings: explained and matched, or marked pending and carried. Pending items persist across shifts so a hole can't expire just because its shift did; the tool's role here is not peacemaker but bookkeeper's prison guard.
Offline, accountless, memory-plus-export is not technical purity. The front-desk machine is the most-touched computer in the property; handover data accumulating on its disk turns it within months into a legacy machine nobody dares wipe. Memory state plus export-to-file keeps the tool itself clean forever - migrating it is copying one file.
Variables
| Variable | Description |
|---|---|
| Float base | The house cash float, set on first use |
| Paste format | time |
| Pending age limit | Days before a pending item auto-flags for escalation, so "pending" never becomes where gaps go to retire |