Run daily processing

Evaluates every active customer against their billing cycle rules for the selected date. Creates invoices, posts payments, applies late fees and updates status. Can only be run once per calendar day.

This will execute against live data.
Use Preview first to review planned actions without writing. Once run, a new run cannot be re-attempted for the same date.
Status
Last successful run
2026-04-22 · 02:15 JST
Next scheduled
2026-04-24 · 02:15 JST
Run for 2026-04-23
Not yet run
What happens when you run
  1. 1
    Lock the run
    Insert processing_run row (unique on date).
  2. 2
    Load active customers
    Per location, with their billing cycle.
  3. 3
    Evaluate rules
    Pure function → PlannedAction[].
  4. 4
    Execute with idempotency
    Per-customer txn; Stripe key daily-<date>-<inv>.
  5. 5
    Emit summary + alerts
    Email operator; post to activity feed.

Last run summary — 2026-04-22

Started 02:15:02 · Completed 02:15:47 · Duration 45s · 4 locations · Actor: system

Completed
Customers processed
241
Charges created
¥3,892,100
236 invoices
Payments applied
¥3,698,200
229 payments
Late fees added
¥18,000
6 customers
Failed payments
7
¥175,900 · follow-up required
Rules fired
BC01 · Invoice Due (×236) BC01 · Attempt Payment (×229) BC01 · Payment Failed retry (×7) BC01 · Late Fee day 6 (×4) BC01 · Late Fee day 16 (×2) BC01 · Restrict Access (×1)
Recent processing runs
Date Status Duration Customers Charges Collected Failed Actor
2026-04-22 Completed 45s 241 ¥3,892,100 ¥3,698,200 7 system
2026-04-21 Completed 42s 241 ¥184,600 ¥173,100 2 system
2026-04-20 Completed 41s 241 ¥62,400 ¥62,400 0 system
2026-04-19 Manual (preview) 12s 241 Sato Kenji