Resources
Build a cash-flow dashboard with Australian bank data
Build a weekly cash-flow dashboard from consented Australian bank data. Run a two-account sandbox, chart daily balances and reconcile transfers and pending payments.
A business moves A$600 from its operating account to its reserve account. The operating account shows money out and the reserve account shows money in. Across the two accounts, the business has exactly as much cash as it did before the transfer.
To build a cash-flow dashboard from Australian bank data, choose the accounts and period first. Add up posted credits and debits that cross that boundary. Show confirmed transfers within the boundary in the transaction list and exclude both legs from the headline totals. In the example below, that gives A$2,410 in, A$1,500 out and A$910 net.
Start with the accounts the customer shared
This tutorial starts after the customer has connected their bank. If you still need the connection flow, follow How to connect banking data to your app with Fiskil. The customer selects which accounts to share and approves access for the requested data. On your backend, resolve the signed-in customer to their Fiskil End User and check that the selected accounts belong to that connection. When sharing ends, stop fetching under that consent. Fiskil consent guide.
For this view, select two AUD deposit accounts for one business and a reporting week in Australia/Sydney. Keep other currencies in separate views. Use the beginning of the local week and the beginning of the next week as your boundaries. Convert timestamps to Sydney time before assigning a transaction to a day.
Fetch each selected account’s transactions on the backend with GET /v1/banking/transactions, using end_user_id and account_id. Follow links.next through the last page. If pages overlap or an import retries, update the existing record by its fiskil_id within the same customer and account. The date filter uses posting time first, then execution time when posting time is absent. For a posted-week view, flag posted rows missing a posting date for review. Keep pending activity visible separately. Get Transactions · Banking data and transaction dates · Signed amounts and record identity.
Follow one A$600 transfer through the dashboard
Sandbox dataset. These seven fictional records represent 2–8 November 2026. The accounts, descriptions and transfer match were made for this tutorial. No customer records or Fiskil sandbox credentials are needed.
| Day | Account | Movement | AUD | Counted in the two-account view |
|---|---|---|---|---|
| 2 Nov | Operating | Client receipt | +2,400 | Inflow |
| 3 Nov | Operating | Rent | −900 | Outflow |
| 4 Nov | Operating | Transfer to Reserve | −600 | Internal transfer |
| 4 Nov | Reserve | Transfer from Operating | +600 | Internal transfer |
| 4 Nov | Operating | Supplier invoice | −600 | Outflow |
| 6 Nov | Reserve | Interest received | +10 | Inflow |
| 8 Nov | Operating | Pending card authorisation | −45 | Pending |
The supplier payment and the transfer leave the same account on the same day for the same amount. Dropping every A$600 debit would hide a real bill. In this dataset the business has confirmed which two records belong together. In your app, retain the two source IDs and the basis for each match. Use an equal amount and nearby dates to suggest a match for review. If you have only a possible match, keep the rows visible and mark the affected gross totals provisional.
Before removing the confirmed pair, the posted records add up to A$3,010 in and A$2,100 out. Both totals are A$600 too high for the combined view, yet their difference is still A$910. Checking the net alone would miss the error.
Run the dashboard and change the account selection
Save the example as cash-flow.html and open it in a browser. Start with both accounts selected. The line shows their combined closing balance each day. The table below it shows which days brought cash in or took it out. The example runs locally using the seven sandbox rows above. All amounts are integer cents until they are displayed.
<!doctype html>
<html lang="en-AU">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Sandbox cash flow</title>
<style>
body { font: 1rem/1.5 system-ui; max-width: 48rem; margin: 2rem auto; padding: 0 1rem; color: #202126; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { padding: .35rem; border-bottom: 1px solid #ddd; text-align: right; }
th:first-child, td:first-child { text-align: left; }
figure { margin: 1rem 0; } svg { display: block; width: 100%; }
svg text { font: 13px system-ui; fill: #454752; }
</style>
<h1>Weekly cash flow</h1>
<p>Sandbox · AUD · 2–8 November 2026 · Sydney time</p>
<label>Accounts <select id="scope">
<option value="both">Operating and Reserve</option>
<option>Operating</option><option>Reserve</option>
</select></label>
<p id="totals" aria-live="polite"></p>
<figure>
<figcaption>Calculated closing balance by day (AUD)</figcaption>
<svg viewBox="0 0 480 156" role="img" aria-label="Balance trend. Values are in the daily table below.">
<path d="M58 18H460 M58 73H460 M58 128H460" fill="none" stroke="#d7d8de"/>
<text x="2" y="22">$8,000</text><text x="2" y="77">$4,000</text><text x="22" y="132">$0</text>
<text x="58" y="149">Open</text><text x="460" y="149" text-anchor="end">8 Nov</text>
<polyline id="line" fill="none" stroke="#6831ae" stroke-width="3"/>
</svg>
</figure>
<table>
<caption>Daily posted movements in AUD</caption>
<thead><tr><th>Day</th><th>In</th><th>Out</th><th>Closing balance</th></tr></thead>
<tbody id="daily"></tbody>
</table>
<p id="check"></p>
<table>
<caption>Transactions in the selected accounts</caption>
<thead><tr><th>Movement</th><th>AUD</th><th>Treatment</th></tr></thead>
<tbody id="details"></tbody>
</table>
<script>
// Synthetic fixture. All money is signed integer AUD cents.
const opening = { Operating: 350000, Reserve: 150000 };
const closingCheck = { Operating: 380000, Reserve: 211000 };
// ID, account, Sydney day in November, description, cents, status
const rows = [
['r1', 'Operating', 2, 'Client receipt', 240000, 'POSTED'],
['r2', 'Operating', 3, 'Rent', -90000, 'POSTED'],
['r3', 'Operating', 4, 'Transfer to Reserve', -60000, 'POSTED'],
['r4', 'Reserve', 4, 'From Operating', 60000, 'POSTED'],
['r5', 'Operating', 4, 'Supplier invoice', -60000, 'POSTED'],
['r6', 'Reserve', 6, 'Interest', 1000, 'POSTED'],
['r7', 'Operating', 8, 'Card authorisation', -4500, 'PENDING']
];
const counterpart = new Map([['r3', 'r4'], ['r4', 'r3']]);
const money = new Intl.NumberFormat('en-AU', { style: 'currency', currency: 'AUD' });
const aud = cents => money.format(cents / 100);
const el = id => document.getElementById(id);
function addRow(table, values) {
const row = table.insertRow();
for (const value of values) row.insertCell().textContent = value;
}
function draw() {
const scope = el('scope').value;
const accounts = scope === 'both' ? Object.keys(opening) : [scope];
const selected = rows.filter(row => accounts.includes(row[1]));
const postedIds = new Set(selected.filter(row => row[5] === 'POSTED').map(row => row[0]));
const days = Array.from({ length: 7 }, () => ({ in: 0, out: 0, posted: 0 }));
el('details').replaceChildren();
for (const [id, account, day, label, cents, status] of selected) {
const bucket = days[day - 2];
let treatment = 'Pending';
if (status === 'POSTED') {
bucket.posted += cents;
if (postedIds.has(counterpart.get(id))) {
treatment = 'Internal transfer';
} else if (cents > 0) {
bucket.in += cents;
treatment = 'Inflow';
} else {
bucket.out -= cents;
treatment = 'Outflow';
}
}
addRow(el('details'), [day + ' Nov · ' + account + ' · ' + label, aud(cents), treatment]);
}
const start = accounts.reduce((sum, name) => sum + opening[name], 0);
const expected = accounts.reduce((sum, name) => sum + closingCheck[name], 0);
let balance = start, inflow = 0, outflow = 0;
const series = [start];
el('daily').replaceChildren();
days.forEach((day, index) => {
inflow += day.in;
outflow += day.out;
balance += day.posted;
series.push(balance);
addRow(el('daily'), [(index + 2) + ' Nov', aud(day.in), aud(day.out), aud(balance)]);
});
// Fixed A$0–8,000 axis covers every account selection in this fixture.
el('line').setAttribute('points', series.map((cents, index) =>
(58 + index * 402 / 7) + ',' + (128 - cents * 110 / 800000)).join(' '));
el('totals').textContent = 'In ' + aud(inflow) + ' · Out ' + aud(outflow) +
' · Net ' + aud(inflow - outflow);
el('check').textContent = 'Opening ' + aud(start) + ' · Closing check ' + aud(expected) +
' · Difference (calculated less check) ' + aud(balance - expected);
}
el('scope').addEventListener('change', draw);
draw();
</script>
</html>
Switch from both accounts to Operating. The A$600 now leaves the selected account, so its outflow belongs in that view. Select Reserve and the same transfer is an inflow. “Inflow” describes movement into the selected accounts. A transfer into Reserve does not become sales revenue.
| Selected accounts | Money in | Money out | Net movement |
|---|---|---|---|
| Operating and Reserve | A$2,410 | A$1,500 | +A$910 |
| Operating only | A$2,400 | A$2,100 | +A$300 |
| Reserve only | A$610 | A$0 | +A$610 |
Read the daily balance chart
The sandbox starts on Monday morning with A$3,500 in Operating and A$1,500 in Reserve. Add each day's signed, posted movements to the previous balance. Keep a point for each day of the week, including days with no posted activity. Only carry a balance forward once you know that account's records are complete for the day.
Monday's client receipt takes the combined balance from A$5,000 to A$7,400. On Wednesday, the two legs of the transfer cancel in the combined balance. The separate supplier invoice brings the balance down by A$600. Here are the points you should see with both accounts selected.
| Sydney close | Money in | Money out | Calculated balance |
|---|---|---|---|
| Mon 2 Nov | A$2,400 | A$0 | A$7,400 |
| Tue 3 Nov | A$0 | A$900 | A$6,500 |
| Wed 4 Nov | A$0 | A$600 | A$5,900 |
| Thu 5 Nov | A$0 | A$0 | A$5,900 |
| Fri 6 Nov | A$10 | A$0 | A$5,910 |
| Sat 7 and Sun 8 Nov, each day | A$0 | A$0 | A$5,910 |
Check the close. The fixture supplies separate closing figures of A$3,800 for Operating and A$2,110 for Reserve. Together they match the calculated A$5,910. The A$45 pending card authorisation stays in the detail list and leaves Sunday's close unchanged.
Try changing the supplier invoice from -60000 cents to -50000 and reopening the file. The calculated close rises to A$6,010 while the closing check stays at A$5,910. The A$100 difference is what a reviewer should see. Restore the original amount after the test.
For a real feed, compare against the current balance for the same accounts, currency and cut-off. The chart represents your calculation. A balance fetch and a transaction fetch can reflect different update times. If you lack a suitable opening balance or a complete day, show the gap. Fiskil’s historical balance guide.
Show how current the totals are
Check GET /v1/data-freshness with the customer’s end_user_id, the banking.transactions dataset and each selected account_id. Put the reported transaction freshness beside the account name. If one account was updated at 09:00 and the other at 11:00, a single “Updated 11:00” label would overstate the coverage. If freshness is missing, say “Update time unavailable”. A refresh request queues work asynchronously. Keep the last complete calculation labelled with its original times until the new transaction pages are ready. Get Data Freshness · Refresh Banking Transactions.
Three cases are worth testing when you replace the fixture with a feed:
- A pending purchase posts. Recalculate from posted rows. The pending authorisation should never contribute a second debit.
- A transfer spans a week boundary. If the debit posts on Sunday and the credit on Monday, show the confirmed amount in transit separately and explain the difference from the change in balances. The demo assumes both legs settle in the same week.
- One account has only partly loaded. Mark the combined view incomplete. An unavailable account and an account with zero movement need different labels.
This dashboard reports observed cash movements. Its A$910 result says how much net cash entered the selected accounts that week. It tells the reader neither how much they can safely spend nor which financial product to choose. ASIC’s Moneysmart explains the distinction between factual information and financial advice. General and personal financial advice.
If the next question is “What will our balance be next Friday?”, start with the reconciled actuals and add expected movements separately. Cash-flow forecasts from bank data.


