Invalid period returned from HMRC

Symptom: Processing stops in a test environment. Invalid Period message is returned.

Cause: HMRC only allows test data from 2017 to be submitted.

Solution: Correct the year in the XML and retry..