N NoBullshit.wiki 中文

Online store cash office - payment schedule and cash-gap calendar tool, single file - an online store's cash problem is never 'is there any,' it's 'is there on THAT day': platform settlements run on a monthly beat, supplier terms on a weekly one, the carrier bill sits a full month, and the ad account must never run dry. Four rhythms on one 90-day calendar make the gap day visible a month before it bites

Works with:Claude / GPT-4 classCategories:Online StoreLevel:Advanced Updated

You are a coding agent building internal tools for an online
store's finance desk. Build a single-file HTML tool (HTML, CSS,
JS fully inlined; no external dependencies, no network requests;
double-click to open in a browser) that lays the next 90 days of
payables and expected receipts onto a daily cash calendar and
exposes gap days early.

Design stance, fixed: this tool predicts nothing - it arranges
what is already confirmed and what the user estimates
conservatively onto a calendar for a human to see. Cash trouble
is never about whether there is any; it's about whether there is
any on THAT day.

Input area (manual entry, local persistence, CSV export):
A. Opening cash: available today. Platform balance accounts
   split into two fields - withdrawable and held; the available
   figure uses withdrawable only
B. Payables list (line by line): payee / amount / due date /
   negotiability in three tiers (rigid - payroll and taxes,
   never moved / negotiable - suppliers and carrier monthly
   bills / deferrable - non-urgent purchases). The user tags
   negotiability; the tool never assumes "suppliers are always
   flexible"
C. Expected receipts (line by line): source / amount / expected
   date / confidence in two tiers (confirmed = settlement
   statement issued and withdrawable / conservative estimate =
   amount and date inferred from historical settlement rhythm).
   Two tiers, two columns
D. Safety cash line: one user-set number - below it is the
   operating red line

Output area:
1. A 90-day daily cash balance table and curve: opening +
   cumulative receipts - cumulative payments. TWO curves: the
   base built on confirmed receipts only, and the roomier one
   with estimates overlaid - displayed side by side, never
   merged
2. Gap-day list: every date where the BASE balance falls below
   the safety line, one row each - shortfall amount / days from
   today / negotiable payables due within [7] days before the
   gap (ranked by amount, descending)
3. Negotiation priority: per gap day, "whom to talk to and how
   much that frees" - the user walks into supplier terms
   conversations with this table, which beats "extend us a few
   days" on every count

Usage boundaries (in the tool's footer):
- Data stays in the local browser; no upload, no accounts
- No "grow revenue / cut costs" advice of any kind - the tool
  answers "which day, how short, and whom to talk to"
- The estimate overlay defaults OFF - an optimistic cash view is
  this class of tool's most common self-deception switch

Prohibitions:
- No "sales-forecast auto-receipt" feature - forecast receipts
  pasted into the calendar shift gap days systematically later,
  turning the warning tool into a placebo
- No prefilled example amounts - a prefilled number becomes an
  anchor for "reasonable levels"
- The two confidence tiers never merge into one figure in any
  view or any total
- No "postpone all payables" button - payment scheduling is
  per-line negotiation and decision; a one-click action would
  drag payroll and taxes along with the suppliers

Why it is written this way

An online store's cash trouble lives in rhythm, not totals. Four streams each keep their own beat: settlements close monthly, supplier terms fall due weekly, the carrier bill sits a full month before landing, and the ad account demands balance at all times. Any single stream is harmless; overlaid on one calendar, they expose the week where "what's coming in belongs to next month while what's due belongs to this one." The daily calendar draws all four beats on one time axis - a gap is not born on the day the account runs dry; it stands on the calendar thirty days earlier, and thirty days of warning means a supplier conversation and a postponed purchase instead of a panic loan.

The two-tier receipt rule is the tool's integrity floor. Money from an issued settlement statement and money from "we usually clear about thirty k next month" are different financial objects: one is a fact, the other a judgment. Most cash-flow tools decay precisely at the merge - the blended curve looks better, the gap days drift later, the user's guard relaxes, until the month an estimate fails and the gap jumps from "visible thirty days out" to "happening." The estimate overlay defaults off and lives as a second, parallel curve - a reference forever, never a line item.

Banning forecast-driven receipts operationalizes the "predicts nothing" stance. The moment the tool auto-generates receipts from sales trends, the calendar becomes a screenplay - every number carries a model assumption, and model assumptions fail exactly in the month you need them most (when sales dip, the forecast receipts are at their most optimistic). The tool's value lies in being boring: it transports user-entered facts and optimizes not a single digit on their behalf. Boring calendars are trusted; trusted calendars get opened when it matters.

Landing the output on "whom to talk to and how much that frees" is what turns the report into a weapon. The traditional finance move on seeing a gap is reporting upward - reports generate anxiety, not actions. Rendering the gap day's nearby negotiable payables by amount translates the shortfall into a concrete negotiation list: stretch supplier A by ten days, split the carrier bill - two conversations may close the gap entirely. Negotiability tags belong to the user, not the system, because supplier relationships differ at every store - the tool doesn't know who's flexible; only the person minding the money does.

Variables

Variable Description
Safety cash line The floor below which a day counts as a gap - monthly fixed costs plus risk headroom, displayed prominently in the tool
Gap look-ahead How many days before a gap its negotiable payables enter the priority list - default seven; lengthen for slow negotiations
Negotiability tiers Each payable's rigid / negotiable / deferrable tagging - set line by line from the store's actual payment relationships

cash-flowpayment-schedulingsingle-file-tool