Pricing NDIS shifts over Christmas in Python: state calendars, part-day holidays and the higher-of rule
Based on Rostery's free NDIS public holidays by state tool. There's no rostery.com.au blog post for that tool yet, so for how support item numbers are built we lean on our guide to NDIS support item numbers explained . The code is new and written for this post. General information only, not claiming advice. Most of the year, picking the NDIS time band for a shift is easy. A Tuesday morning is a…
The NDIS pricing schedule for the Christmas period (24 December 2026 to 1 January 2027) presents a complex issue due to varying state and territory holiday declarations. Each state and territory may declare different days as public holidays, including part-day holidays, which impact the pricing of support shifts. The NDIS doesn't maintain its own holiday calendar; instead, it relies on state calendars.
The critical rule is that when a support activity spans different time bands or days of the week, the higher pricing amount applies to the entire activity. There are ten days during this period, with eight states and territories declaring their own public holidays. Tasmania's public holiday rules are particularly interesting, as Saturday 26 December is not a public holiday according to their own law but is still considered one for NDIS pricing.
This creates a two-layer data model: the universal days and part-days defined by Table 61 in the NDIS Pricing Schedule and each state's declared days and part-days. The NDIS pricing module uses Python code to handle these rules, with 14 tests ensuring its accuracy. The module determines which days and part-days are public holidays in each state and territory during the specified period, slices a shift into pieces where pricing rules could change, applies the highest applicable pricing band to the entire shift, and prices the shift based on the exact minutes.
The examples focus on Assistance With Self-Care Activities, the standard personal care items, as these are where most holiday shifts occur.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to