Skip to main content

Error: 'Invalid content found at element LeavingDate'

HMRC have rejected the Full Payment Submission(FPS) due to the error message

O
Written by Onyema Onyejekwe
Updated over 2 months ago

If you encounter the error message mentioned above, it indicates that HMRC has rejected your Full Payment Submission (FPS). This rejection could be due to several reasons listed below.

We’ve compiled a list of possible causes for the error message and how to resolve them.


An incorrect leaver status

The secondary status for the employee is incorrect, or the leave date has not been populated.

The employee may have been mistakenly marked as dormant in the system. If the employee's secondary status is marked as 'Z' (dormant), HMRC expects a leaving date to be included in the FPS.


Missing leave date for a dormant employee

The employee might have transferred pay groups across organizations that have different payroll calendar setups.
​
To resolve this issue, our support will need to run a script. Please raise a new case online referencing this article's title and include the following details:

  • Full payment submission file.

  • FPS response file.

  • Employee number

  • Confirm if the employee should be a leaver or not.

  • Correct leave date if applicable.

  • Current payroll period and pay group.


Locate employee

To locate the employee causing the issue, follow the steps below.

  1. Open the response file from the Reports Centre in portal and note the employee number found within the brackets [].

  2. Open the CSV file from the Reports Centre and navigate to the line corresponding to the employee number from the response file, adding 1 to account for the header in the CSV file.

Did this answer your question?