MAGPIE
superannuation_guaranteeCompute the Australian Superannuation Guarantee on a qualifying-earnings amount, exact to the cent. Returns the SG, the rate, the earnings subject to SG after the annual maximum-contributions-base cap, and the financial year used. Computed the CURRENT way — from 1 July 2026 the base is qualifying earnings (not OTE) and the cap is annual, under Payday Super, so old quarterly-OTE code is now wrong. You supply the qualifying-earnings figure; this does NOT define what counts as qualifying earnings. ATO-sourced, not tax advice. Current financial year only; an out-of-range date throws.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asAt | No | YYYY-MM-DD — which schedule to use. Defaults to today. | |
| qualifyingEarnings | Yes | The qualifying-earnings amount to compute SG on, e.g. "5000.00". |