Sales are not money in the bank

Accountants have an old saying: turnover is vanity, profit is sanity, cash is reality. I learnt the last part the hard way, running my own Shopify store.

A business can make sales and still struggle to pay its bills. Revenue is what customers spent. Profit is what's left once the costs are paid. Cash is what's sitting in the bank today, and it's the only one of them a supplier will accept.

Most of the gap between them comes down to timing. A customer pays on Monday, but Shopify Payments sends that money to your bank in a payout days later. Stock has to be paid for before it sells. VAT builds up over three months and then leaves in a single payment. Ads and app subscriptions go out every month, good week or bad.

That's how a profitable business ends up short of cash. The totals can look fine while the dates are working against you. So a seller needs two answers: what's in the bank today, and what the balance will look like in three, six or nine weeks.

What I found in the tools already out there

Necessity is the mother of invention. It started with one question about my own store, and the app came later. Will I have enough cash for my next stock order, my VAT and my bills over the coming weeks, and if not, when does it go wrong?

First I looked at what sellers already use. Profit apps such as TrueProfit and BeProfit work out profit. A2X groups Shopify sales, fees and refunds into payout summaries that match the deposits in QuickBooks, Xero, Sage or NetSuite, from $29 a month for up to 200 orders. That's bookkeeping, and A2X does it well, but bookkeeping looks at money that has already moved.

The forecasting tools do look ahead. Float projects a bank balance up to 36 months out and includes a 13-week view. Its lowest UK plan, Essentials, costs £79 a month billed yearly, and it takes its data from Xero. Cash Flow Frog starts at $33 a month (an early-bird price; the normal one is $55) and connects to accounting software such as QuickBooks and Xero. Agicap prices by quote.

These are good tools and I'm not knocking them. The gap I found was a narrow one. Picture a small seller who sells mostly through Shopify, doesn't keep accounting software up to date, and wants a forecast built straight from their Shopify payouts, inside Shopify, at a price that makes sense for a store taking a few hundred pounds a week. That seller was me. So I built it.

Why 13 weeks

Forewarned is forearmed. A forecast only helps if it sees trouble coming while there's still time to do something about it.

Thirteen weeks is one quarter of a year. It's the short-term window cash forecasters already use (Float, for one, has a 13-week view), and it fits UK VAT, which most small businesses pay quarterly. Go much further out and the guesses about future sales get shaky. Go much shorter and a VAT bill can sit just past the edge where nobody sees it.

The app starts from today's bank balance and the payouts already on their way from Shopify. For sales that haven't happened yet, it uses the seller's own weekly figure if they give one. If they don't, it takes the average of their recent paid weeks, counting quiet weeks as zero. Then it knocks a caution percentage off the top, because a forecast that's too hopeful does more damage than one that's too careful. A seller with no figure and no history gets an estimate of zero, and the app tells them so. It won't make a number up.

Every planned cost goes in on its own date, whether it's monthly, weekly, fortnightly, quarterly or a one-off. The VAT bill lands on its real due date. Then the app rolls the balance forward a day at a time, for 91 days. When money comes in and goes out on the same day, the money going out is counted first. A bill should never be paid from a payout that only turns up that afternoon.

From that day-by-day line it picks out the lowest balance and the day it happens. The seller sees a plain sentence, for example: "Your lowest projected balance is £96.29 on Sun 01 Nov." If the line drops below zero, or below the safety buffer the seller set, a warning shows the date, the week and the reason, something like "Your cash is projected to go below zero on Thu 12 Nov (week 4). The biggest payment that week is VAT to HMRC." And when more than 60% of the money coming in is estimated sales, the app says so. A forecast that's mostly built on hope should own up to it.

Cash forecast line chart for the next 13 weeks from a sample store, with the safety buffer as a dashed line
The 13-week line from a sample store. The dashed line is the safety buffer.

A sales report tells you what happened last month. This tells you what's likely to happen next, while you can still act on it.

The payout problem: counting the same money twice

Don't count your chickens before they hatch, and certainly don't count them twice. Of everything in this build, this was the problem that took the most thought, and the thinking was about money more than code.

Shopify Payments gives you three things. There are payouts already paid into your bank, payouts on their way, and a balance of sales that aren't in any payout yet. It feels natural to add the last two together as money coming in. It's a mistake. A sale can sit in that balance and then move into a payout that's on its way, so if you add both, the same pound gets counted twice. The forecast ends up showing more cash than the seller will ever see, and for a cash tool there's no worse error than that.

My fix is a simple rule. Payouts on their way count as money coming in, on their own dates. The Shopify Payments balance only counts when no payout is already on its way. For sellers who upload CSV exports instead, I use only transactions marked pending and only payouts marked scheduled or in transit, so each sale turns up once.

Money takes a particular path to the bank, and a forecast has to follow that path. Adding up every number on the screen won't get you there.

Every penny, every time

Take care of the pennies and the pounds will take care of themselves. In finance software that's true to the letter.

Python's floats can't hold most decimal amounts exactly. Type 0.1 + 0.2 and you get 0.30000000000000004. Across a few hundred transactions those tiny errors can turn a total that should read £1,234.50 into £1,234.49, and once a seller spots a sum that's a penny out, they stop trusting the tool.

So every amount in the app is a Decimal, rounded to the penny with ROUND_HALF_UP, which is how people round money by hand. Shopify exports don't help, because amounts arrive in all sorts of shapes: "£1,234.50", "-12.30", "(12.30)" in accounting style, or an empty cell. One function turns every one of them into the same thing:

def to_money(value) -> Decimal: """Turn a number or text such as "£1,234.50", "(12.30)" or "" into Decimal. Blank values count as zero. Brackets mean a negative amount, as in accounting exports. """ 

Even the weekly sales estimate is spread across the days so that each seven days add up to the weekly figure exactly, penny for penny. If you're writing anything that handles money in Python, my advice is short: use Decimal, keep one conversion function, and never let a float near a total.

Two questions every seller asks

Look before you leap. The two features I'm proudest of are there so a seller can look first.

Dashboard showing the lowest projected balance, the late-payout buttons and the Can I afford it check
The lowest point, the late-payout buttons and the "Can I afford it?" check, shown with sample data.

The first question is "What if my Shopify payout is late?" Payouts do get held. The app pushes every incoming payout back by one, two or three weeks and leaves the costs where they are, because rent and VAT don't wait for anyone. The seller can see straight away whether a two-week delay takes them below zero, and plan for it before it happens.

The second is "Can I afford this stock order?" The seller types in an amount and a date. The app adds that payment to the forecast and checks the balance against their safety buffer on every one of the 91 days. If the balance stays above the buffer the whole way, the answer is yes. If it doesn't, they see exactly when it dips and by how much, before a penny has left the bank. The same numbers give one more figure, an estimated amount the seller could spend today: the lowest projected balance minus their buffer.

Why it's built the way it is

A chain is only as strong as its weakest link. Anything that touches a store's money has to hold up at every point.

The forecast engine is plain Python with no third-party packages. With fewer moving parts there's less to break, and no surprises when somebody else's library changes. Every feature in it came from questions small sellers asked in forums and reviews. A finance department would want different things, and that's fine; they already have tools.

The app asks Shopify for read-only access to payouts and the payments balance, and that's all it asks for. It can read; it can't change a thing in the store. Every request that claims to come from Shopify is checked against its HMAC signature, so nobody else can pretend to be Shopify. Each store's data sits in its own row in Supabase with row-level security switched on, and each store's access token is encrypted before it's saved. The app stores no customer data at all.

Trust, but verify. There are 200 tests covering the money maths, VAT due dates, the Shopify connection, the balance roll-forward and the webhook checks. On my laptop 171 pass, and the other 29 are browser tests that skip when no browser is installed.

What I'd like from you

Seamark Global Cash Forecast has been on the Shopify App Store since 19 November 2026. If you sell on Shopify, try it and tell me where the forecast doesn't match what actually happens in your bank. If you build finance tools, I'd love to hear how you'd handle a store with very little sales history.

https://apps.shopify.com/seamark-global-cash-forecast

The competitor figures come from each company's own page, checked on 1 December 2026: A2X, Float (Xero App Store UK), Cash Flow Frog and Agicap (Capterra).