Based on Rostery's free Sleepover or Active Night? tool and our longer guide to SCHADS sleepover allowances in 2026. The code is new and written for this post. General information only, not payroll, legal or claiming advice. Rostery is our product.

A sleepover shift looks simple on a roster: one worker, one house, 10pm to 6am. Behind it sit two separate rule books that were written by different bodies for different purposes. The NDIS Pricing Schedule decides what the provider can claim from a participant's plan. The SCHADS Award decides what the provider must pay the worker. They agree on the basic shape of a sleepover, and then they disagree about almost everything that happens once someone wakes up.

That gap is a good thing to model in code, because it's where spreadsheets go wrong quietly. A worker gets up for twenty minutes at 2am. The claim doesn't change at all. The wage bill does. If your system treats the night as one number, you'll either underpay staff or misread your margin, and you won't find out until someone checks a payslip by hand.

So I wrote a small module that takes one night (start, end, whether the worker may sleep, and a list of times they were woken to work) and returns two things: the NDIS claim lines and the SCHADS pay lines. It's about 130 lines of standard-library Python plus nine pytest tests.

The two definitions

Start with the test for whether a night counts as a sleepover at all.

The NDIS Pricing Schedule 2026-27 v1.1 (effective 1 December 2026) defines a Night-time Sleepover Support in Part 4 as a support that starts before midnight on a day and finishes after midnight, runs for a continuous period of eight hours or more, and where the worker is allowed to sleep when they aren't providing support. The same definition then adds the claiming rule: where more than two hours of active support is provided, the provider may claim the third or additional hour at Saturday rates on weekdays, or at the applicable rates on Saturdays, Sundays and public holidays.

The SCHADS Award (MA000100), clause 25.7, describes a sleepover from the employer's side. The span is a continuous period of 8 hours, with a separate room, a bed, clean linen and the use of appropriate facilities. The worker gets an allowance of 4.9% of the standard rate for each night. If they're required to work during the sleepover, they're paid for the time worked at the prescribed overtime rate, with a minimum payment as for one hour.

Those two passages are the whole spec. Everything else is arithmetic and edge cases.

Comparison table: the NDIS Pricing Schedule and the SCHADS Award on a sleepover. Is it a sleepover: NDIS needs a start before midnight, an end after it, 8 hours or more and permission to sleep; SCHADS needs a continuous 8 hour span with a separate room, bed and facilities. The night: $311.79 claim covering the first 2 hours of active support, against a $62.87 allowance, 4.9% of the standard rate. Work during the night: third and later hours claimed at Saturday rates on weekdays, against overtime pay with a one-hour minimum.

The constants, with their sources next to them

I keep each number beside the item or clause it came from. When the next pricing schedule lands, a reviewer can check every line against the PDF without reading the logic.

from decimal import Decimal, ROUND_HALF_UP CENT = Decimal("0.01") # NDIS Pricing Schedule 2026-27 v1.1, national amounts, # Assistance With Self-Care Activities. NDIS_SLEEPOVER = Decimal("311.79") # 01_010_0107_1_1, per night NDIS_HOURLY = { "saturday": Decimal("103.54"), # 01_013_0107_1_1 "sunday": Decimal("133.50"), # 01_014_0107_1_1 "public_holiday": Decimal("163.46"), # 01_012_0107_1_1 } # SCHADS: standard rate = SACS level 3 pay point 3 in clause 15.3 (weekly). STANDARD_RATE_WEEKLY = Decimal("1283.10") SLEEPOVER_ALLOWANCE = (STANDARD_RATE_WEEKLY * Decimal("0.049")).quantize(CENT, ROUND_HALF_UP) # Overtime, full-time disability services employees, cl 28.1(a). OT_FIRST_TWO, OT_AFTER = Decimal("1.5"), Decimal("2.0") OT_SUNDAY, OT_PUBLIC_HOLIDAY = Decimal("2.0"), Decimal("2.5") 

Two choices are worth explaining. Money is Decimal, never float, because you'll be comparing results to the cent against a pay guide. And the allowance is derived from the standard rate rather than typed in. 4.9% of $1,283.10 comes to $62.87, which matches the figure Rostery's tool shows for each night from 1 July 2026. Deriving it means the next annual wage review is a one-line change, and a test catches it if the derived value drifts from the published one.

The standard rate is defined in clause 3 as the minimum wage for a social and community services employee at level 3, pay point 3, in clause 15.3. That's the clause 15 table, not the equal remuneration rates that apply to SACS employees from level 2 up. Use the wrong table (level 3, pay point 3 is $1,616.71 a week there) and the allowance comes out about $16 too high.

The data model

from dataclasses import dataclass from datetime import datetime, timedelta @dataclass(frozen=True) class Wake: start: datetime end: datetime @property def minutes(self) -> int: return int((self.end - self.start).total_seconds() // 60) @dataclass(frozen=True) class Night: start: datetime end: datetime may_sleep: bool wakes: tuple = () public_holidays: frozenset = frozenset() # dates 

A Wake is one period of work during the night: from when the worker got up to when they were back in bed. Recording wakes as separate intervals rather than a single "hours worked overnight" figure is the most important design decision here. You'll see why when we get to the one-hour minimum.

Is it a sleepover?

def is_sleepover(n: Night) -> tuple[bool, list[str]]: reasons = [] if not n.start.date() < n.end.date(): reasons.append("does not start before midnight and finish after it") if n.end - n.start < timedelta(hours=8): reasons.append("shorter than 8 continuous hours") if not n.may_sleep: reasons.append("worker is not allowed to sleep") return (not reasons, reasons) 

It returns every failed condition, not just the first. When a rostering officer asks why a night was rejected, "shorter than 8 continuous hours; worker is not allowed to sleep" is more useful than False.

Notice what isn't here: a threshold of active hours. Neither the Pricing Schedule nor the award sets a number of hours that turns a sleepover into an active night. The test is whether the worker is allowed to sleep. If the participant needs someone awake and working through the night, that's an active overnight support, claimed hourly and paid as a night shift. A function that quietly reclassified a night after, say, four hours of wakes would be inventing a rule. So may_sleep is an input, set from the participant's support needs, and the code refuses to price a night where it's false.

The claim side

def ndis_claim(n: Night) -> dict: ok, why = is_sleepover(n) if not ok: raise ValueError("not a sleepover: " + "; ".join(why)) lines = [("01_010_0107_1_1", Decimal(1), NDIS_SLEEPOVER)] covered = 120 for w in sorted(n.wakes, key=lambda w: w.start): extra = max(0, w.minutes - covered) covered = max(0, covered - w.minutes) if extra: dt = day_type(w.start, n.public_holidays) rate = NDIS_HOURLY["saturday" if dt == "weekday" else dt] hours = (Decimal(extra) / 60).quantize(CENT, ROUND_HALF_UP) lines.append((dt, hours, rate)) total = sum((q * r for _, q, r in lines), Decimal(0)).quantize(CENT, ROUND_HALF_UP) return {"lines": lines, "total": total} 

The sleepover price covers the first two hours of active support across the whole night, so covered starts at 120 minutes and is used up by wakes in time order. Only minutes beyond that become claim lines, priced by the day they fall on. A weekday wake past the two hours uses the Saturday hourly amount, as the definition says.

day_type is a three-line helper: public holiday if the date is in the set, otherwise Saturday, Sunday or weekday. The day is taken from when the wake starts. A wake that crosses midnight into a public holiday would need splitting; I haven't needed that yet, and the tests say so by not pretending to cover it.

The pay side, and the sentence with two readings

def schads_pay(n: Night, hourly: Decimal, minimum_per: str = "wake") -> dict: if minimum_per not in ("wake", "night"): raise ValueError("minimum_per must be 'wake' or 'night'") wakes = sorted(n.wakes, key=lambda w: w.start) if minimum_per == "wake": paid = [(w, max(60, w.minutes)) for w in wakes] else: paid = [(w, w.minutes) for w in wakes] short = max(0, 60 - sum(w.minutes for w in wakes)) if wakes and short: paid[0] = (paid[0][0], paid[0][1] + short) lines, used = [], 0 for w, mins in paid: dt = day_type(w.start, n.public_holidays) for m, mult in _ot_multipliers(mins, used, dt): lines.append((dt, m, mult, (Decimal(m) / 60 * hourly * mult).quantize(CENT, ROUND_HALF_UP))) used += mins total = SLEEPOVER_ALLOWANCE + sum((x[3] for x in lines), Decimal(0)) return {"allowance": SLEEPOVER_ALLOWANCE, "lines": lines, "total": total.quantize(CENT)} 

Clause 25.7(e) says that if the worker is required to perform work during the sleepover period, they're paid for the time worked at the overtime rate "with a minimum payment as for one hour worked", and where the work exceeds an hour, for its full duration.

Read that with three separate fifteen-minute wakes in mind. Is the minimum one hour for the night, because the clause talks about work during "the sleepover period"? Or one hour for each time the worker is required to get up? The clause doesn't say, and both readings fit the words. I'm not going to settle it in a blog post. What code can do is refuse to hide the choice. minimum_per is a required decision with no clever inference, the default is the reading that pays the worker more, and the tests pin both results so nobody changes the behaviour by accident.

The overtime tiers have a similar issue. Under clause 28.1(a), full-time disability services employees get time and a half for the first two hours of overtime from Monday to Saturday, then double time, with double time on Sundays and double time and a half on public holidays. Rostery's tool counts the tiers from the first hour of work during the sleepover, and so does this function: used carries across wakes, so a third wake can land in the double-time tier.

def _ot_multipliers(minutes: int, already: int, dt: str): if dt == "sunday": yield minutes, OT_SUNDAY return if dt == "public_holiday": yield minutes, OT_PUBLIC_HOLIDAY return first = max(0, min(minutes, 120 - already)) if first: yield first, OT_FIRST_TWO if minutes - first: yield minutes - first, OT_AFTER 

Tests that read like payroll questions

RATE = Decimal("36.22") # example ordinary hourly rate def test_allowance_is_4_9_percent_of_standard_rate(): assert SLEEPOVER_ALLOWANCE == Decimal("62.87") def test_one_short_wake_costs_wages_not_claim(): n = night([(D(2026, 12, 9, 2), D(2026, 12, 9, 2, 20))]) assert ndis_claim(n)["total"] == Decimal("311.79") assert schads_pay(n, RATE)["total"] == Decimal("117.20") # 62.87 + 1 h x 36.22 x 1.5 def test_third_hour_claimed_at_saturday_rate_on_weekday(): n = night([(D(2026, 12, 9, 1), D(2026, 12, 9, 4))]) c = ndis_claim(n) assert c["lines"][1] == ("weekday", Decimal("1.00"), Decimal("103.54")) assert c["total"] == Decimal("415.33") 

The example rate of $36.22 an hour is the SACS level 2, pay point 1 rate from the award's equal remuneration table. It's there to make the arithmetic visible. Pass in each worker's own rate from your pay groups. The full test file has nine tests, including the Sunday and Christmas Day rates and the cases that should raise. They pass in 0.01 seconds.

What five nights look like

The demo script runs four Tuesday nights in December and one Christmas Eve at the example rate:

night NDIS claim pay (wake) pay (night) quiet 311.79 62.87 62.87 one 20 min wake 311.79 117.20 117.20 three 15 min wakes 311.79 243.97 117.20 one 3 h wake 415.33 243.97 243.97 Christmas Eve, 3 h 475.25 334.52 334.52 

Three things stand out.

A short wake changes pay but not the claim. The first two hours of active support sit inside the $311.79 sleepover price, while the award pays the worker from the first minute, with a minimum of an hour. One disturbed night at this rate adds $54.33 of wages and nothing to the invoice.

Three short wakes are where the two readings split: $243.97 or $117.20 for the same 45 minutes of work. If a participant's nights often look like that, the question of which reading your organisation follows is worth a proper answer from someone qualified, not a default in a payroll setting nobody remembers choosing.

And Christmas Eve is really Christmas Day. The wake starts at 1am on the 25th, so both sides use public holiday rates: $163.46 for the third hour on the claim, double time and a half on the pay.

Table of five example nights at $36.22 an hour: a quiet night claims $311.79 and pays $62.87; one 20 minute wake claims $311.79 and pays $117.20; three 15 minute wakes claim $311.79 and pay $243.97 with the minimum per wake or $117.20 with the minimum per night; one 3 hour wake claims $415.33 and pays $243.97; a 3 hour wake on Christmas Day claims $475.25 and pays $334.52.

What this doesn't do

It covers full-time disability services employees only. Part-time and casual overtime in clause 28.1(b) works differently, and casual rates carry the loading, so I haven't modelled either. It doesn't handle the rule in clause 25.7(f) that work rostered just before or after a sleepover must be at least four hours on one side, or the agreed 12-hour shift spanning a sleepover in 28.1(b)(iii). It uses national NDIS amounts only, not remote or very remote. It doesn't split a wake across midnight. And it doesn't know about any variation to disability home care rates. Each of those is a function or a test you can add once you've confirmed the rule.

If you'd rather not run code, Rostery's free Sleepover or Active Night? tool asks five questions about a night and shows the NDIS claim and minimum SCHADS pay side by side. The NDIS price guide entry for 01_010_0107_1_1 shows the sleepover item's national, remote and very remote amounts, and the Roster Cost and Margin Estimator compares what a shift costs under SCHADS with what the NDIS pays for it. Inside Rostery, the help article on setting up allowances makes the point this post depends on: the unit of an allowance (per shift, per hour, per period) decides the arithmetic.

For the record-keeping side of the same question, our Blogger post on keeping a four-week night log covers what to write down each night before you change a roster.

The habit I'd keep from this: when a rule has two readings, make the reading a parameter and test both, so the choice is written down somewhere other than a payroll officer's memory.

Sources

  • Social, Community, Home Care and Disability Services Industry Award 2010 [MA000100], awards.fairwork.gov.au: clause 3 (standard rate), 15.3 and the equal remuneration rates note, 25.7 (sleepovers), 28.1 (overtime rates). Read 4 December 2026.
  • NDIA, NDIS Pricing Schedule 2026-27 v1.1, effective 1 December 2026: Part 4 definition of Night-time Sleepover Support; Appendix 1 items 01_010_0107_1_1, 01_012_0107_1_1, 01_013_0107_1_1 and 01_014_0107_1_1 (national amounts). Re-checked 4 December 2026.
  • The nights, wake times and example hourly rate in the tests are ours. Code: about 130 lines plus nine tests (pytest).