Sub topic 8
Working capital schedule: receivables, inventory, payables
This chapter builds the schedule that forecasts accounts receivable, inventory and accounts payable. It then turns their balance changes into one cash flow line. It assumes you have read the earlier chapters on the accounting equation, the indirect method and forecast drivers. It also assumes you can read basic Python or spreadsheet formulas.
What the schedule does
Working capital is the operating assets and liabilities that move with day-to-day trading. In this chapter, that means three items:
- Accounts receivable (AR) is money customers owe you for sales already recorded as revenue.
- Inventory is goods held for sale, carried at cost.
- Accounts payable (AP) is money you owe suppliers for purchases already received.
The income statement records revenue and costs when they are earned or incurred. The bank account moves when cash changes hands. Working capital balances sit between the two. If AR grows, you booked revenue you have not collected. If AP grows, you booked costs you have not paid.
The schedule has three jobs:
- Forecast each closing balance from a driver.
- Send those balances to the balance sheet.
- Send the year-on-year changes to the cash flow statement as one block of adjustments to net income.
Choosing drivers
A driver is an assumption that converts an income statement figure into a balance. Days-based drivers are the most common choice, because they scale as the business grows.
| Balance | Driver | Base | Formula for closing balance |
|---|---|---|---|
| Accounts receivable | DSO (days sales outstanding) | Revenue | Revenue × DSO ÷ days in period |
| Inventory | DIO (days inventory outstanding) | Cost of goods sold (COGS) | COGS × DIO ÷ days in period |
| Accounts payable | DPO (days payables outstanding) | COGS | COGS × DPO ÷ days in period |
Inventory and payables use COGS, not revenue, because both are carried at cost. A revenue base overstates them by the gross margin. If your income statement only has "operating costs" and no COGS split, you must choose a cost base and apply it consistently. The earlier one-period example in this tutorial does exactly that, so its AP is a plain balance assumption.
Pick the day count (365 or 360) once, as a named assumption, and use it everywhere. DSO measured with 365 days and forecast with 360 gives a balance that is about 1.4% off for no business reason.
A worked schedule
This example extends the earlier one-period model. Opening AR is 50 and opening AP is 30, as before. It adds opening inventory of 35 and an explicit COGS of 292. The days are chosen so that closing AR is 60 and closing AP is 35, matching the earlier model.
DAYS = 365
opening = {"ar": 50.0, "inventory": 35.0, "ap": 30.0}
revenue = 500.0
cogs = 292.0
dso, dio, dpo = 43.8, 50.0, 43.75
closing = {
"ar": revenue * dso / DAYS,
"inventory": cogs * dio / DAYS,
"ap": cogs * dpo / DAYS,
}
is_asset = {"ar": True, "inventory": True, "ap": False}
def cash_effect_of_change(opening_balance, closing_balance, asset):
change = closing_balance - opening_balance
return -change if asset else change
total = 0.0
for name in ("ar", "inventory", "ap"):
effect = cash_effect_of_change(opening[name], closing[name], is_asset[name])
total += effect
print(name, opening[name], "->", round(closing[name], 2),
"cash effect", round(effect, 2))
print("total working capital cash effect", round(total, 2))
nwc_open = opening["ar"] + opening["inventory"] - opening["ap"]
nwc_close = closing["ar"] + closing["inventory"] - closing["ap"]
assert abs(total - (-(nwc_close - nwc_open))) < 1e-6The output is:
ar 50.0 -> 60.0 cash effect -10.0
inventory 35.0 -> 40.0 cash effect -5.0
ap 30.0 -> 35.0 cash effect 5.0
total working capital cash effect -10.0Net working capital (AR plus inventory minus AP) rose from 55 to 65. That 10 increase is cash tied up in the business, so cash flow from operations is 10 lower than net income plus depreciation would suggest. The final assertion checks the identity that the sum of the line effects equals the negative change in net working capital. If it ever fails, a sign is wrong on one line.
Sign rules
The rule is the same one used in the sign-conventions chapter:
- An increase in an operating asset (AR, inventory) uses cash, so it enters the cash flow statement as a negative.
- An increase in an operating liability (AP) provides cash, so it enters as a positive.
- A decrease reverses each sign.
Linking to the three statements
Each balance appears in two places, and each change appears in a third.
- Balance sheet: closing AR, inventory and AP link directly to the schedule's closing row. Nothing is typed in.
- Cash flow statement: each change is closing minus opening, with the sign rule applied. The opening balance is the prior period's closing balance, so it links to the prior balance sheet, never to a typed number.
- Income statement: the schedule only reads from it (revenue and COGS). Working capital does not change net income.
Because the same closing balance feeds both the balance sheet and the cash flow adjustment, the equation is preserved. A 10 rise in AR raises assets by 10 and lowers cash by 10, so total assets are unchanged by the collection timing. The sale itself already raised assets through revenue and retained earnings.
Edge cases and judgment calls
Point-in-time or average balances. DSO is often computed on average AR (opening plus closing, divided by 2) when looking back at history. In a forecast, applying the days to closing balances is simpler and avoids a circular reference. Whichever you use for history, use the same convention when you forecast, or the forecast will jump in the first period.
Credit sales versus total revenue. If a large share of revenue is paid in cash at the point of sale, DSO on total revenue understates the collection time of credit customers. For a model that mixes the two, forecast AR on credit sales only.
Seasonality. A year-end balance can sit at a seasonal low or high. Annual days built from year-end balances then misstate the intra-year cash need. For quarterly models, use quarterly bases and annualize the days (for example, quarterly revenue × 4).
Zero or tiny denominators. A start-up with no COGS in a period cannot define DIO or DPO, and a division by zero will break the model. Guard the formula, or drive the balance directly as a fixed amount for those periods.
Other operating items. Prepaid expenses, accrued liabilities and deferred revenue follow the same sign rules. Add them as extra rows in the schedule. Do not fold them into AR or AP, because they have different drivers.
Negative working capital. Retailers and subscription businesses often collect before they pay. Growth then releases cash instead of absorbing it. The formulas do not change, but the sign of the total effect does, and a reviewer used to growth consuming cash may suspect an error. Label the result clearly.
Common errors
| Symptom | Likely cause |
|---|---|
| Balance check off by exactly twice a change | A sign was flipped on one working capital line, so the error counts double |
| Balance check off by exactly one change | A line was left out of the cash flow adjustments, or a balance was typed over a formula |
| Inventory or AP much too large | Revenue was used as the base instead of COGS |
| First-period balances jump | Opening balances were typed in and do not match the prior closing balance |
| Cash flow shows a change for cash itself | Cash was included in the working capital block. Exclude it, since cash is the result of the cash flow statement |
Exercise
A company forecasts revenue of 800 and COGS of 480, using 365 days. Its drivers are DSO 45.6 days, DIO 60.83 days and DPO 30.42 days (all rounded to two decimals). Opening AR is 90, inventory is 70 and AP is 35. Compute the closing balances to the nearest whole number, then the net working capital cash effect, and say whether it adds or uses cash.
Show answer
Closing AR = 800 × 45.6 ÷ 365 = 99.95, about 100. Closing inventory = 480 × 60.83 ÷ 365 = 80.00, about 80. Closing AP = 480 × 30.42 ÷ 365 = 40.00, about 40. Changes: AR +10 (uses 10 cash), inventory +10 (uses 10), AP +5 (provides 5). Net working capital rises from 125 to 140, so the cash effect is -10 - 10 + 5 = -15. Working capital uses 15 of cash and reduces cash flow from operations by 15.