Files
integreat/docs
Bryce 08b7188660 docs(sales-summaries): add worked examples and reproduction steps to the report
Every claim in the 30-day report now names the record behind it, so a reader can
check it rather than take it on trust.

  R1  square/order/NGLK-SM-OxSX9gpXJV394qqT8mnBGypUwKNZY
      tip -60.00, total -60.00, zero charges — the reversal get-tip could not
      see, and NGLK 2026-08-04 was off by exactly -60.00

  R2  square/order/NTPT-PT-KrMZzcon1cpQEJUyetErkBIpcdEZY
      service charge 427.10 inside a 3,198.78 order, credited nowhere, and
      NTPT 2026-08-06 was off by exactly +427.10

Also lists the 19 days the data work unbalanced with their before and after
figures — all 19 land back at zero once R1 and R2 apply — and three real rows
behind the balanced-but-changed pattern, where Card Payments falls by exactly
what Fees gains.

Corrects the NGBK 2026-08-06 residual. It was attributed to refunds held by both
twins; tracing the day shows tender of $6,358.99 against order totals of
$6,059.57, a difference of exactly the $299.42 imbalance. The day has no refund
lines, no order carries two charges for one payment id, and the orders missing
line items carry no tender. It is a source-data discrepancy, not a calculation
defect.

Adds the REPL calls that re-derive every figure.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-15 09:15:46 -07:00
..
2026-05-16 00:16:44 -07:00
2026-05-18 15:38:07 -07:00