diff --git a/docs/2026-08-15-thirty-day-reconciliation.html b/docs/2026-08-15-thirty-day-reconciliation.html index d4888054..3e6b8cb6 100644 --- a/docs/2026-08-15-thirty-day-reconciliation.html +++ b/docs/2026-08-15-thirty-day-reconciliation.html @@ -279,7 +279,22 @@
The second pattern is worth reading carefully: Card Payments falls by exactly what Fees gains, so the day stays balanced while the split between the two lines changes. That is a data-freshness effect from re-importing, not a change in how anything is calculated.
The second pattern is worth reading carefully: Card Payments falls by exactly what Fees gains, so the day stays balanced while the split between the two lines changes. That is a data-freshness effect from re-importing, not a change in how anything is calculated. Three real rows:
| Client | Date | Line | Before | After |
|---|---|---|---|---|
| NGAN | 2026-08-12 | Card Payments | 1,237.23 | 1,207.64 |
| Fees | 0.00 | 29.59 | ||
| NGVC | 2026-08-10 | Card Payments | 2,025.03 | 2,074.63 |
| Fees | 49.60 | 0.00 | ||
| NGGP | 2026-08-13 | every line | 0.00 | real figures |
NGAN moves $29.59 out of Card Payments and into Fees; NGVC moves $49.60 the other way. Both stay balanced to the cent. NGGP is the first pattern — production held an all-zero summary for a day with $2,478.44 of card payments, $1,148.11 of gyros and pitas, and so on.
Each fix is easiest to check on a single order. In every case below the day's imbalance equals the fix amount exactly, which is what you would expect if the fix is booking something real that was previously booked nowhere.
+| Field | Value |
|---|---|
| Order | square/order/NGLK-SM-OxSX9gpXJV394qqT8mnBGypUwKNZY |
:sales-order/tip | −60.00 |
:sales-order/total | −60.00 |
:sales-order/charges | 0 — no tender at all |
| NGLK 2026-08-04 imbalance | −60.00 → 0.00 |
A guest's tip was handed back. The reversal is recorded on the order, but get-tip reaches tips by joining through :sales-order/charges, and a return-only order has no charge to join through — so the −$60.00 was invisible and the day credited a tip that no longer existed. The other four largest R1 repairs are the same shape: NGFF 08-01 (−$40.00), NGSG 07-29 (−$40.00), NGNV 08-09 (−$35.00), NGJS 07-25 (−$35.00).
| Field | Value |
|---|---|
| Order | square/order/NTPT-PT-KrMZzcon1cpQEJUyetErkBIpcdEZY |
:sales-order/service-charge | 427.10 |
:sales-order/total | 3,198.78 |
| NTPT 2026-08-06 imbalance | +427.10 → 0.00 |
The $427.10 is inside the card tender the customer paid, so it lands on the debit side — but nothing credited it, leaving the day short by exactly that amount. Next largest: NGFO 07-16 ($275.23), NGRN 08-06 ($236.96), N-30008 07-24 ($229.42), N-30003 07-18 ($225.00).
+| Client | Date | After data fix | After R1 + R2 |
|---|---|---|---|
| NGSF | 2026-08-13 | +137.99 | 0.00 |
| NGRY | 2026-08-13 | +103.26 | 0.00 |
| NGDS | 2026-08-13 | +100.52 | 0.00 |
| NGDV | 2026-08-13 | +100.52 | 0.00 |
| N-30007 | 2026-08-13 | +86.00 | 0.00 |
| N-30003 | 2026-08-13 | +83.53 | 0.00 |
| NGSC | 2026-08-13 | +75.00 | 0.00 |
| NGGH | 2026-08-13 | +75.00 | 0.00 |
| NGDG | 2026-08-13 | +70.00 | 0.00 |
| NGDU | 2026-08-13 | +70.00 | 0.00 |
| All 19 days | unbalanced | balanced | |
These are days production held an empty summary for — trivially balanced at zero. Filling them in with real figures exposes the same two calculation gaps every other day had, and both fixes then close them. Not one of the 19 survives as a regression. Their clustering on 08-13 is expected: it is the most recent day, so it is the one production had least chance to compute.
+| Client | Date | Variance | Explanation |
|---|---|---|---|
| NGBK | 2026-08-06 | +$299.42 | refunds now held by both twins — a re-key consequence |
| NGBK | 2026-08-06 | +$299.42 | tender exceeds order totals by exactly this much, in the source data |
| NGDA | 2026-08-01 | −$50.00 | auto-gratuity booked as a service charge |
| NGEB | 2026-08-10 | −$25.00 | ezCater fee semantics predicted |
| NGEB | 2026-07-29 | −$20.00 | ezCater fee semantics predicted |