Skip to content

v3.7.0

Choose a tag to compare

@ryanduguid ryanduguid released this 18 Nov 05:16
· 212 commits to main since this release
Immutable release. Only release title and notes can be modified.
v3.7.0
44257fc

v3.7.0, 18 November 2026, PAYG withholding and the v3.6.0 known issues fixed

Cut on 18 November 2026 from the changes on main since v3.6.0. It takes the library
from 150 to 151 functions. v3.6.0 still behaves as it did, including its 3 known issues,
which the fixes below resolve.

Added

  • oz.PAYGWithholdingλ(Earnings, Coefficients, [Period]) returns the amount to withhold
    from a weekly, fortnightly, monthly or quarterly payment under the ATO's Schedule 1
    formulas (NAT 1004, for payments from 1 July 2026): weekly earnings in whole dollars
    plus 99 cents, a * x - b from the caller's coefficient table, rounded to the nearest
    dollar, and the schedule's conversions to and from the weekly amount. The native
    self-test checks it against every row of the ATO's withholding amounts sample data for
    scales 1, 2, 3, 5 and 6 and the ATO's worked examples. It does not choose the scale,
    apply tax offsets or the Medicare levy adjustment, or do scale 4. A payment more than
    a thousandth of a cent off a whole cent or of 10,000,000,000 or more, or a table whose
    bounds do not rise (only the last row may repeat the bound above it), returns a message. ozzit payg_withholding
    adds it to src/, the workbook and functions.csv.

Fixed

  • oz.CorkScrewReversalλ returned #REF! instead of a message when ReversalFlags was
    narrower than Flow1, left out the extra flags of a wider row and used only the first
    row of flags several rows deep. It now returns 'ReversalFlags needs one row with one
    flag for each column of Flow1.' for each.
  • oz.txt no longer ends 4 comment lines in oz.IntOnIntλ and oz.IRRλ with a tab,
    which the Advanced Formula Environment does not allow in a module, and
    ozzit build_module now refuses a module that contains one.
  • oz.CorkScrewReversalλ totalled its flows with SUM, as oz.Corkscrewλ did before
    v3.6.0, and checked neither Opening nor flows, so a flow typed as text was left out
    of the closing balance. It now takes
    oz.Corkscrewλ's checks and messages: a flow that is text, TRUE or FALSE, and an
    Opening that is not a single number or blank cell, return a message, and an Opening
    of empty text counts as nil. Numbers and blank cells give the same result as before.
    Empty text in a flow is nil, and an error still shows.
  • oz.CorkscrewλDV refused a blank or empty-text Opening and blank or empty-text flow
    cells, which oz.Corkscrewλ accepts as nil, and returned an error for an Opening of
    several cells, which oz.Corkscrewλ refuses. It now refuses the same values and
    shapes as oz.Corkscrewλ, and its messages say a blank cell is allowed. It still
    names an argument that holds an error, which oz.Corkscrewλ lets through when nothing
    else is wrong, so the error shows.

VirusTotal