Automate a weekly 13-week cash flow forecast for your ecommerce brand
Updated · By Ecomsellertool editorial team
An automated 13-week cash flow forecast rebuilds itself every week from data you already have: scheduled and held marketplace payouts, open purchase orders with their supplier terms, unpaid bills in QuickBooks Online or Xero, ad spend run rate and recurring costs a person enters. Rules place each amount in the week the money actually moves, and an alert fires when any week closes below the cash floor you set.
- Amazon's Finances API lists deferred transactions with a maturityDate and a deferralReason such as DD7, so held Amazon money can be placed in the week it is due to release.
- Amazon's standard delivery-date reserve holds sales proceeds until 7 days after delivery; Amazon sets the exact period per seller from risk and history.
- Shopify Payments in the US has a minimum settlement time of 3 business days, payouts skip weekends and public holidays, and a bank can take 1 to 3 more days (checked December 3, 2026).
- Walmart says payouts generally run every 14 days, about 28 days after an order ships or is delivered; new US sellers face a rolling hold of up to 14 days.
- QuickBooks Online bills carry a DueDate and an unpaid Balance; Xero bills (type ACCPAY) carry a DueDate, AmountDue and an optional PlannedPaymentDate.
The step map: who runs each step
Trigger: A weekly schedule, for example every Monday morning, plus an extra run when a large purchase order, bill or payout changes.
| Step | What happens | Who runs it |
|---|---|---|
| 1 | Rules read the opening cash balance from the bank accounts in QuickBooks Online or Xero, and a person confirms it against the bank before the run continues. | Person |
| 2 | Rules pull the money already on its way in: Amazon's open financial event groups and deferred transactions with their release dates, Shopify Payments payouts that are scheduled, and Walmart's settlement cycle. | Rule |
| 3 | Rules pull the money already committed to go out: open purchase orders with their supplier terms, unpaid bills with their due or planned payment dates, and the recurring costs a person keeps in the forecast sheet. | Rule |
| 4 | Rules project future sales payouts and ad spend from the sales plan and recent run rates, then place every line in a week with the timing rule for its channel. | Rule |
| 5 | Rules compare last week's forecast with what the bank actually received and paid, line by line, and flag every line that missed by more than your tolerance. | Rule |
| 6 | An AI model writes a short summary of what changed since last week and why, citing the lines that moved. It never changes a number. | AI model |
| 7 | The finance owner reviews the flagged lines, updates assumptions and recurring costs, and approves the forecast. Rules then post it to Slack or email and raise the low-cash alert for any week below the floor. | Person |
4 rule steps · 1 AI model step · 2 person steps. A rule follows fixed logic you approve; an AI model handles messy input and its output is checked by rules; a person makes the calls listed below.
What stays with a person
- Confirming the opening bank balance each week
- The sales plan and the cash floor the alert uses
- Supplier payment terms for each purchase order: deposit, balance on shipment or on arrival
- Payroll, rent, loan repayments, tax payments and other costs only a person knows
- What to do about a week that dips below the floor
Which tools can run it
- A spreadsheet with scheduled imports from your payout reports and accounting system, rebuilt by a person each week from the timing rules
- Zapier, Make or n8n feeding a Google Sheet from the marketplace and accounting APIs, with an AI model step for the weekly summary
- Custom code on your accounts that pulls every source, applies the timing rules, tracks forecast against actual and sends the alert
Systems it connects
- Amazon SP-API Finances API
- Shopify Admin API (Shopify Payments payouts)
- Walmart Marketplace Recon Report API
- QuickBooks Online or Xero
- Amazon Ads, Google Ads and Meta spend reports
- Google Sheets or your forecast sheet
- Slack or email
Build size: Medium
Each source is a standard read; the work is the timing rule per line, the forecast-versus-actual check and keeping supplier terms current.
Most ecommerce brands know their sales to the dollar and their bank balance to the day. What they rarely know is next month's bank balance, week by week. The reason is timing. Amazon holds part of each sale until after delivery, Shopify pays on a schedule, Walmart pays every two weeks, a supplier wants a deposit now and the balance when the goods ship, and ad platforms charge whenever they charge. This recipe builds a 13-week cash flow forecast from those sources every week, without a person rebuilding the spreadsheet. It is one page of our automation library.
Where does each line of the forecast come from, and which week does it land in?
Build this table first. Every row is one line of the forecast: where its data comes from, the rule that puts it in a week, and who checks it. If a row has no clear source or no owner, the forecast will drift on that line. The sources in the second column were checked on December 3, 2026; the timing rules and owners are our suggested starting point, which you adjust to your own payout history.
| Forecast line | Where the data comes from | Timing rule that places it in a week | Who checks it |
|---|---|---|---|
| Amazon payout already earned | Finances API v0 listFinancialEventGroups: each group's start, end, ProcessingStatus (Open or Closed) and FundTransferDate | The open group's net amount lands in the week your own history says that group pays out, plus the bank lag you see in past deposits | Finance owner |
| Amazon money on hold | Finances API v2024-06-19 listTransactions with transactionStatus=DEFERRED; each carries a maturityDate and a deferralReason such as DD7 | Lands in the first Amazon payout after its maturityDate | Finance owner |
| Amazon future sales | Your sales plan by week, times the net payout ratio (payout ÷ sales) from your last several settlements | Sale week, plus delivery time, plus 7 days of hold, then the next payout after that | Owner or channel lead (the sales plan) |
| Shopify Payments payouts | Shopify Admin API payouts with status SCHEDULED; then your sales plan times the net ratio from past payouts | Your payout schedule (daily, weekly or monthly), at least 3 business days after the sale in the US, plus 1 to 3 days at the bank; a weekend or holiday moves it to the next business day | Finance owner |
| Walmart payouts | Walmart's Recon Report API for settled cycles; your sales plan for the rest | The payout cycle after the order ships or is delivered, about 28 days later; your cut-off is under Payment Information on the Seller Center Statements page | Channel lead |
| Purchase order deposits | Open purchase orders in QuickBooks Online (POStatus Open) or Xero (status AUTHORISED), plus a supplier terms sheet a person keeps | The deposit percentage on the date the terms name, for example on order confirmation | Purchasing lead |
| Purchase order balances | The same purchase orders, with QuickBooks' ExpectedDate or Xero's DeliveryDate and ExpectedArrivalDate, and the supplier's latest ship date | Balance on shipment: the ship date. Balance on arrival: the expected arrival date. Net terms: that date plus the terms | Purchasing lead |
| Open bills | QuickBooks Online bills with a DueDate and an unpaid Balance; Xero bills (type ACCPAY) with DueDate, AmountDue and PlannedPaymentDate | The planned payment date if set, otherwise the due date | Bookkeeper |
| Ad spend | Daily spend from each ad platform's reports, and the budgets your marketing lead has approved | The week the platform charges you. Ads billed against a marketplace payout are already inside that payout, so leave them out here | Marketing lead |
| Freight, 3PL and prep costs | Open bills, plus a run rate per unit shipped for invoices not yet received | Due date, or invoice cycle plus terms for the run rate | Operations lead |
| Payroll, rent, software, loan repayments, tax payments | A recurring-costs tab a person maintains, with amount, frequency and next date | The dates entered; the workflow only repeats them | Finance owner, with your accountant for tax dates |
Closing cash for a week = opening cash + payouts expected that week − payments due that week
Two rows cause most forecast misses. The Amazon hold row, because a sale shipped on the 28th can release in the next month. And the purchase order balance row, because "balance on shipment" falls due weeks before the stock can sell.
How do Amazon, Shopify and Walmart payout schedules change the forecast?
Each marketplace pays on its own clock, so the forecast needs a separate timing rule for each one, taken from the vendor's own pages.
Amazon. Amazon's community team describes its standard delivery-date reserve as 7 days after delivery, with the example of a January 1 sale delivered January 6 and typically released January 14 (checked December 3, 2026). Amazon's announcement of the Deferred Transactions report says each held order shows a deferral reason and an estimated release date (checked December 3, 2026). For automation, the listTransactions reference is the better source: deferred transactions carry a maturityDate and a deferralReason, with DD7 and B2B as examples, and the call accepts transactionStatus values of DEFERRED, RELEASED and DEFERRED_RELEASED (checked December 3, 2026). It also warns that financial events might not include orders from the last 48 hours, so the newest two days come from your order data instead.
The payout itself comes from financial event groups. The listFinancialEventGroups reference returns each group's start and end, a processing status of Open or Closed, the fund transfer status and date, and the total (checked December 3, 2026). Amazon's Finances API overview lists v2024-06-19 as current and v0, which holds the event groups call, as a legacy version; both need the Finance and Accounting role (checked December 3, 2026).
Shopify Payments. Shopify's payout timing page says US merchants have a minimum settlement time of 3 business days, can choose daily, weekly or monthly payouts, and that payouts are not processed on weekends or public holidays. After a payout, funds might take 1 to 3 more days to show in the bank (checked December 3, 2026). In the Admin API, a payout with status SCHEDULED has transactions assigned but has not yet gone to the bank; PAID means deposited (checked December 3, 2026).
Walmart. Walmart's payout processing guide says payouts generally run every 14 days unless other arrangements are made, and that payment arrives in the cycle after an order ships or is delivered, about 28 days later (checked December 3, 2026). New sellers carry an extra delay: the new seller payment hold policy holds each US order for up to 14 days until 90 days have passed since the seller began shipping orders and the seller has received $7,500 in payments (checked December 3, 2026). Settled cycles come from the Recon Report API, which Walmart says can be parsed into accounting and payout tracking systems (checked December 3, 2026).
Where do purchase orders and bills come from in QuickBooks Online and Xero?
Money out is easier to see than money in, because most of it is already in your accounting system. The forecast reads it rather than copying it by hand.
In QuickBooks Online, Intuit's guide to entering bills says to choose the terms the vendor expects and to enter the bill date and due date exactly as they appear on the bill; manually added bills appear in the Unpaid tab (checked December 3, 2026). Intuit's own API data schema defines a bill's DueDate as the nominal date by which it must be paid and its Balance as the unpaid amount; a purchase order has a POStatus of Open or Closed and an ExpectedDate for delivery (checked December 3, 2026).
In Xero, the Accounting API specification Xero publishes shows bills as invoices of type ACCPAY, with DueDate, AmountDue and a PlannedPaymentDate shown on bills when it has been set. Purchase orders carry a DeliveryDate, an ExpectedArrivalDate and a status of DRAFT, SUBMITTED, AUTHORISED, BILLED or DELETED (checked December 3, 2026).
The gap in both systems is the deposit. A purchase order records what you ordered, not that the supplier wants 30% now and 70% when the container ships. Keep those terms in a small sheet, one row per supplier, and let the workflow apply them. If supplier bills already flow in through our supplier invoices to QuickBooks or Xero bills recipe, the forecast picks them up the moment they become draft bills. When a supplier moves a ship date, our PO acknowledgement and ETA tracking updates the expected date, and the balance moves to the new week on the next run.
What does a weekly forecast look like?
The table below is illustrative, not a client result: a brand selling on Amazon, Shopify and Walmart, with a cash floor of $60,000 that the owner chose, and Amazon and Walmart each paying every second week. It shows six of the 13 weeks.
| Week | Opening cash | Money in | Money out | Closing cash | Against the $60,000 floor |
|---|---|---|---|---|---|
| 1 | $125,000 | $90,000 (Amazon $38,000, Shopify $24,000, Walmart $28,000) | $58,000 (ads $18,000, bills $22,000, payroll $18,000) | $157,000 | Above |
| 2 | $157,000 | $23,000 (Shopify $23,000) | $72,000 (PO deposit $45,000, ads $18,000, bills $9,000) | $108,000 | Above |
| 3 | $108,000 | $88,000 (Amazon $41,000, Shopify $22,000, Walmart $25,000) | $53,000 (ads $19,000, payroll $18,000, bills $12,000, software $4,000) | $143,000 | Above |
| 4 | $143,000 | $21,000 (Shopify $21,000) | $132,000 (PO balance on shipment $105,000, ads $19,000, bills $8,000) | $32,000 | Below: alert |
| 5 | $32,000 | $92,000 (Amazon $44,000, Shopify $22,000, Walmart $26,000) | $61,000 (ads $19,000, payroll $18,000, freight $14,000, bills $10,000) | $63,000 | Above, by $3,000 |
| 6 | $63,000 | $23,000 (Shopify $23,000) | $28,000 (ads $19,000, bills $9,000) | $58,000 | Below: alert |
A month-end view would hide this: if the month closed after week 5, it would show $63,000, above the floor. Inside that month, week 4 drops to $32,000, because a $150,000 purchase order's 70% balance falls due on shipment in a week with no Amazon or Walmart payout.
The alert does not decide anything. It names the week, the lines that cause the dip and the size of the gap, so the finance owner can look at operations options early: ask the supplier to move the balance to arrival, split the shipment, pace the ad budget, or time a non-urgent bill. Any financing question goes to your advisors.
How do you know the forecast is right?
Check it against the bank every week. The step map compares last week's forecast with what actually arrived and left, line by line. A line that keeps missing has a wrong timing rule or a wrong ratio, and the variance list tells you which.
| What goes wrong | How it shows up | The check that catches it |
|---|---|---|
| Fees or ads counted twice | Forecast out is higher than actual every week | Marketplace payouts are net; only costs charged outside a payout appear as their own lines |
| Amazon hold longer than 7 days | Amazon in arrives later than forecast | Use each transaction's maturityDate, not a fixed 7-day rule |
| Sales plan too optimistic | Payout lines miss in the same direction for weeks | Flag a line that misses by more than your tolerance three weeks running |
| Supplier terms out of date | A deposit or balance lands in a different week | The purchasing lead confirms the terms sheet when a purchase order is created |
| Bills entered late | Payments appear that were never forecast | A weekly list of payments with no matching forecast line |
| A payout smaller than usual | Closing cash below forecast | Payout total against the forecast; the payout posting recipe explains which lines differ |
The net payout ratio is where the numbers meet margin work. If you already track contribution margin per channel, use the same fee and refund data to set each channel's ratio, and review it when fees change.
How does it fit with the automations you already run?
The forecast is the last link in a chain. Payouts posted by the marketplace payouts to QuickBooks or Xero recipe give it clean history for the net payout ratios. Draft purchase orders from our low-stock alerts and draft purchase orders recipe can appear in the forecast as "proposed" lines before anyone approves them, so the purchasing lead sees the cash effect of a reorder before sending it. And the weekly summary can go out with the daily sales report to Slack, on Mondays only. Cash timing is not profit, though: the cost of the goods you sold each month comes from our month-end COGS and inventory journal entries recipe.
Ad spend has its own control. If budgets run hot, our Amazon Ads budget pacing alerts catch it in days, and the forecast's ad line follows the corrected budget. Data from the Selling Partner API covers the Amazon rows; the rest come from your accounting system and your own sheet.
Who builds a cash flow forecast workflow for ecommerce brands?
Ecomsellertool builds this workflow on your own marketplace accounts, accounting system and forecast sheet. We have built on Amazon's seller APIs since 2017 and shipped 50+ tools for 100+ teams. We agree the forecast lines and timing rules with your finance owner, connect the payout, purchase order and bill sources, and build the forecast-versus-actual check and the low-cash alert. Send a project brief or see how our workflow automation service works.
Two builds are close to this one:
- Profit and costs in one live view. For Beezboard we built a profit and loss statement per marketplace from Amazon's finance data, with order activity updated in real time through SQS, and cost management that maps COGS to products, with new costs added on a monthly or annual frequency. The recurring-costs tab in this forecast follows that pattern.
- Fees computed, not just read. For Seller-Drive we built a fee calculation engine that computes fees Amazon does not provide, from predefined criteria and business rules, next to fee data pulled from Amazon's APIs on a schedule. A forecast needs the same thing for fees that have not been charged yet.
The forecast can run on Ecomsellertool Growth OS, next to your payouts, inventory and purchase orders, or on its own. Our guide to automating Amazon operations shows where finance reporting fits, and our replenishment gap page covers the purchasing decisions that drive the biggest lines. You keep your accounts, your data and the custom code we build; the Growth OS base is licensed to you.
Get your cash flow forecast built
Send us your channels, accounting system and supplier terms
Describe the workflow you want automated. We reply with a written plan: scope, timeline and a fixed price.
Frequently asked questions
What is a 13-week cash flow forecast?
It is a week-by-week view of the next quarter: opening cash, money expected in, money expected out and closing cash for each of the next 13 weeks. Weeks matter for an ecommerce brand because marketplace payouts, supplier deposits and ad charges land on different days, so a month can look fine while one week inside it runs short.
How do I forecast Amazon payouts when Amazon holds money after delivery?
Read the held money directly. Amazon's Finances API listTransactions call returns deferred transactions, and each one carries a maturity date and a deferral reason such as DD7. Place that money in the first payout after its maturity date. Amazon's standard delivery-date reserve holds proceeds until 7 days after delivery, but Amazon sets the exact period per seller, so use your own data rather than a fixed rule.
Can QuickBooks Online or Xero build this forecast on their own?
They hold half of it. Both store unpaid bills with due dates and purchase orders, and both can show what you owe and when. What they do not know is when Amazon, Shopify and Walmart will pay you, what your ad spend will be next month or when a supplier balance falls due on shipment. The workflow joins those sources into one weekly view.
How often should an ecommerce cash flow forecast be updated?
Weekly is the usual rhythm for a 13-week forecast, on the same day each week, so each run can be compared with what the bank actually did. Add an extra run when something large changes, such as a new purchase order, a supplier moving a ship date or a payout that arrives smaller than expected.
Is an automated cash flow forecast the same as financial advice?
No. It is an operations report that shows when money is expected to move, based on your own data and assumptions. Decisions about borrowing, financing, tax and how to treat items in your books belong with you, your accountant and your other advisors.
What is the most common reason ecommerce cash flow forecasts go wrong?
Timing, not totals. Teams book a sale as cash on the order date, forget that a marketplace holds part of it, or miss that a supplier balance is due when goods ship, not when they arrive. Counting fees or ad spend twice, once inside the payout and again as a separate cost, is the other frequent error.
