This error relates to a Lump Sum Payment that is negative.
To find the cause:
Select Payroll, Transactions, Import and Export, STP Reporting.
Double click or select View Details on the line where Status is Failed Validation. The Status column will list the error of why the Pay Event failed next to each employee.
Select Cancel.
Highlight the Failed Validation: Gateway Error event.
Select Print Report in the bottom left and click Preview. The Print Report will display YTD values for all employees in the reported event.
Find the employees you need to fix; this will display the incorrect value reported in the error. You will need to complete a Manual Calculation to fix the negative values.
How to fix:
The steps below return the component that caused the error to zero or a positive value. You may need to enter a Manual Calculation subtract to reduce another component so that the total of all components reported to the ATO is correct. The component you reduce will depend on your scenario.
Take a backup, select Utilities, Backup Database.
Select Reason for Backup and enter a description. Click Backup.
Select Payroll, Transactions, Processing, Manual Calculation.
Select the Employee, click Add and untick Generate Payment.
In Pay Summary, select the Termination Component.
Click Add and select the applicable Term Component.
Enter the Value to achieve either zero or positive; you will need to refer to the STP Reporting Print Report from the failed event for these values.
Click Process.
Take a backup.
Select Payroll, Reports, Transactions, Pay Advices, and complete the required selections.
Click Produce, and click Yes to the update leave message.
Go to Payroll, Transactions, Import and Export, STP Reporting.
Before reporting the Pay Event, you can select Print Report to check the values.
Select Pay Event and click Report to ATO.
