skills/data-analytics/cash-flow-forecasting/SKILL.md
Forecast cash flow using historical sales patterns, payment terms, seasonal trends, and receivables modeling with scenario planning and runway tracking
npx skillsauth add finsilabs/awesome-ecommerce-skills cash-flow-forecastingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Cash flow forecasting predicts when money actually enters and leaves your bank account — not when revenue is recognized. For ecommerce businesses, cash and revenue timing diverge significantly: payment processors hold funds for days or weeks, inventory must be purchased and paid for weeks before it sells, and marketplace disbursements are bi-weekly or delayed by account reviews.
This skill guides you through building a 13-week rolling cash flow forecast using your platform's data, covering the key cash timing differences by sales channel, and setting up a simple model in a spreadsheet or BI tool that you update weekly.
Before building a forecast, gather 12 months of actuals. Here is where to find the data by platform:
Shopify Payments cash timing:
The most important step is understanding the lag between when revenue is earned and when cash arrives. Build a channel-by-channel timing table:
| Channel | Typical Cash Lag | Notes | |---------|-----------------|-------| | Shopify Payments (credit card) | 2–3 business days | Set in Shopify under Finances → Payout schedule | | Stripe (direct) | 2 business days | Configurable; can be daily | | PayPal | 1–3 business days | New accounts may have longer holds | | Amazon FBA | 14 days | Bi-weekly disbursements; check Seller Central → Payments | | Amazon FBM | 14 days | Same bi-weekly schedule | | eBay Managed Payments | 2 business days | Check eBay Payments dashboard | | Walmart Marketplace | 14 days | Monthly disbursement cycle | | Wholesale / Net-30 | 30 days | Invoice date to expected payment | | Wholesale / Net-60 | 60 days | Factor in 2–5% bad debt rate | | Buy Now Pay Later (Afterpay, Klarna) | 2–3 business days | BNPL providers pay merchant immediately; no customer lag |
Build this timing into your cash inflow schedule: For each week's projected revenue, create a separate row showing when that cash actually arrives. Revenue earned this week from Amazon arrives in the week two weeks from now.
Use a spreadsheet (Google Sheets or Excel) with this structure. Update it every Monday morning.
Model structure (one column per week, 13 weeks forward):
WK1 WK2 WK3 WK4 ... WK13
OPENING CASH BALANCE
OPERATING INFLOWS
+ Shopify Payments (2-day lag from prior week sales)
+ Amazon disbursement (bi-weekly; map exact dates)
+ PayPal settlements
+ B2B/wholesale payments (net-30 invoices due this week)
OPERATING OUTFLOWS
- Inventory purchases (PO payments due this week)
- Inbound freight & duties
- 3PL / fulfillment fees (typically billed weekly)
- Outbound shipping not passed to customer
- Marketing & ad spend (credit card charge date, not spend date)
- Payroll (exact pay dates)
- Platform/software subscriptions
- Rent & facilities
- Customer refunds (process in same week issued)
- Sales tax remittances (quarterly — schedule known dates)
NET WEEKLY CASH FLOW
CLOSING CASH BALANCE
Getting outflow data:
Run three scenarios:
| Scenario | Revenue Assumption | Purpose | |----------|-------------------|---------| | Base case | Current trajectory (prior 4-week average) | Day-to-day planning | | Bear case | 70–75% of base case revenue | Stress test; answers "how long can we survive?" | | Bull case | 120–125% of base case revenue | Upside planning; "can we fund the growth?" |
Critical rule: In the bear case, reduce inflows by the revenue shortfall percentage but do NOT reduce fixed outflows (payroll, rent, software). Only variable costs (COGS, marketing, variable fulfillment) should scale with revenue. This is the most common forecasting mistake — in a revenue downturn, fixed costs remain, which dramatically worsens cash position.
Runway calculation: Find the first week in the bear case where the Closing Cash Balance reaches your minimum viable cash threshold (typically 4–6 weeks of fixed operating costs). The number of weeks until that point is your runway under the bear case.
Use Shopify's built-in Finances export (scheduled weekly) or connect via:
These tools connect to your bank, payment processors, and ecommerce platforms to build automated cash flow forecasts:
| Problem | Solution | |---------|----------| | Confusing revenue with cash | A $50K wholesale invoice recognized in March will not generate cash until May under Net-60 terms; always model the timing layer separately | | Ignoring seasonal inventory build-up | Heavy inventory spend in July–September (buying Q4 stock) causes a cash trough months before holiday revenue arrives; forecast the inventory payment schedule explicitly | | Not modeling returns as cash outflows | Refunds are cash outflows that happen before you recover inventory; high-return categories need a return cash reserve modeled into weekly outflows | | Ad spend lag not accounted for | Monthly credit card billings for ad platforms clear days after the billing period; model the card payment date as the cash outflow, not the daily spend date | | Single-point estimate only | Always run base and bear scenarios; a model showing only the base case gives false confidence | | Missing one-time outflows | Tax payments, insurance renewals, software annual contracts, and trade show expenses are predictable; add them to a forward calendar and populate the model |
tools
Let shoppers save products to a wishlist, share it with friends, and get notified when saved items come back in stock or drop in price
development
Build a themeable storefront with design tokens and CSS custom properties that supports white-labeling, multi-brand variants, and dark mode
development
Speed up product discovery with instant search suggestions, fuzzy typo matching, and category-aware results powered by Algolia or Elasticsearch
development
Build a mobile-first storefront with thumb-friendly navigation, sticky add-to-cart buttons, and touch-optimized components for high mobile conversion