Available for the following Payroll plan: Standard, Premium
Available for the following users: Admin
This article explains the logic behind the "Derived Aggregated Gross YTD Amount is Negative" STP error, which is triggered when salary sacrifice deductions are incorrectly applied to termination leave payments.
This article explains how to:
- Understand STP Phase 2 disaggregation and payment classifications
- Identify why the error occurs
- Resolve the error and correct the pay run
Understanding STP Phase 2 disaggregation
Under the ATO's STP Phase 2 reporting rules, all gross earnings must be disaggregated — meaning the system reports each component of pay separately rather than as one combined gross figure. Components include ordinary time, paid leave, overtime, bonuses, and termination payments.
The key distinction to understand is that unused leave paid on termination is not reported as ordinary time earnings (OTE). Instead, it is classified under its own reporting type.
The table below shows how each payment type is classified under STP Phase 2:
| Payment Type | STP Phase 2 Classification | Description |
|---|---|---|
| Ordinary hours, allowances, overtime | Gross | Normal ongoing earnings subject to salary sacrifice |
| Paid leave taken during employment | Paid Leave (L) | Ordinary paid leave (annual, sick, etc.) |
| Unused leave paid on termination | Paid Leave Type U (Unused Leave on Termination) | Leave entitlements paid out when employment ends |
| Lump sum payments (A/B/D/E) | Lump Sum Types A–E | Other termination-related payments depending on reason |
| Employment Termination Payment | ETP | Payments for genuine redundancy, early retirement, etc. |
For more information, see ATO – Disaggregation of Gross.
Identifying why the error occurs
The ATO requires that PAYG withholding for unused leave on termination be calculated on the full gross amount of that payment, without reduction from any pre-tax deductions (including salary sacrifice).
In the system:
- Salary sacrifice deductions are configured to reduce taxable income for ordinary earnings only.
- Termination leave payouts are excluded from this logic, as they are separately classified under "Paid Leave Type U."
If a salary sacrifice deduction is applied to a termination payment:
- The deduction reduces the reported taxable amount incorrectly.
- The STP file shows a lower YTD gross than expected for that pay category.
- When the ATO cross-checks all disaggregated components, it identifies that the "aggregated gross" figure is less than the sum of its parts — triggering the error.
This is not a system bug — it is a compliance requirement. Salary sacrifice can only apply to ordinary earnings streams, not termination components. When applied to ineligible payment types, the system cannot reconcile the totals against ATO schemas, resulting in a negative derived gross YTD value.
For further reference, see:
An employee has a salary sacrifice arrangement in place and is terminated with unused annual leave.
| Payment Component | Classification | Amount | Salary Sacrifice Applied | Outcome |
|---|---|---|---|---|
| Ordinary earnings | Gross | $3,000 | ✅ Yes | Allowed |
| Unused annual leave (termination) | Paid Leave U | $2,000 | ❌ Invalid | Causes mismatch |
If salary sacrifice incorrectly applies to the $2,000 unused leave, the STP YTD "aggregated gross" reduces below the total of individual categories. The ATO validation then detects a negative derived amount and rejects the event.
Resolving the error
- Review the Pay Run Deduction and ensure the salary sacrifice category is not more than the Normal Time Earnings for that pay run.
- Recalculate the pay run without applying salary sacrifice to the termination component.
- Regenerate and lodge the STP event. The error will clear once reporting aligns with ATO disaggregation requirements.
- Create an Ad-hoc Pay Run for the same Pay Period and Paid Date.
- Add the employee into the pay run and terminate the employee again.
- Click Actions > Add Deduction and enter a minus deduction amount for Salary Sacrifice to reverse the incorrect amount.
If superannuation has already been paid, the customer will need to follow up directly with the super fund. Each fund has its own process for returning contributions, but generally they may return contributions if:
- The payment was genuinely made in error.
- You supply supporting documentation (pay runs, payroll reports, explanation of error).
- The request is made within a reasonable timeframe.
Further information
If you are looking for further ideas, try our community Hero Connect is currently only available for HR-only and HR+Payroll customers. Hero Connect is not yet available for Payroll-only customers.