Data Item Ref: N/A. List of Validation errors (if any) on the Look Up ERN request. Validations are returned with an id field where a PPSN provided is invalid. The id field will not be present where PPSN processing is not reached e.g. No RPN found for the employer.
<xs:complexTypename="LookUpERNResponse"xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:annotation><xs:documentation>Enhanced Reporting Notification Request Response.</xs:documentation></xs:annotation><xs:sequence><xs:elementname="EmployerName"type="pc:defaultString"><xs:annotation><xs:documentation>Data Item Ref: N/A. The official name of the employer.</xs:documentation></xs:annotation></xs:element><xs:elementname="EmployerRegistrationNumber"type="pc:employerReg"><xs:annotation><xs:documentation>Data Item Ref: N/A. Employer's PAYE Registration Number.</xs:documentation></xs:annotation></xs:element><xs:elementname="AgentTain"type="pc:agentTAIN"minOccurs="0"><xs:annotation><xs:documentation>Data Item Ref: N/A. Tax Advisor Identification Number. Required if ERN queried by agent on behalf of employer.</xs:documentation></xs:annotation></xs:element><xs:elementname="TaxYear"type="pc:dateYear"><xs:annotation><xs:documentation>Data Item Ref: N/A. The tax year to which the ERN lookup relates (YYYY).</xs:documentation></xs:annotation></xs:element><xs:elementname="TotalERNCount"type="xs:unsignedInt"><xs:annotation><xs:documentation>Data Item Ref: N/A. The total number of ERNs that are associated with the ERN request submitted.</xs:documentation></xs:annotation></xs:element><xs:elementname="DateTimeEffective"type="xs:dateTime"><xs:annotation><xs:documentation>Data Item Ref: N/A. The date and time the ERN was requested.</xs:documentation></xs:annotation></xs:element><xs:elementname="ERN"type="pn:ERN"minOccurs="0"maxOccurs="unbounded"><xs:annotation><xs:documentation>Data Item Ref: N/A. List of valid ERNs.</xs:documentation></xs:annotation></xs:element><xs:elementname="NoERN"type="pc:EmployeePPSN"minOccurs="0"maxOccurs="unbounded"><xs:annotation><xs:documentation>Data Item Ref: N/A. EmployeePPSNs of employees who do not currently have an employment associated with the employer.</xs:documentation></xs:annotation></xs:element><xs:elementname="ValidationError"type="pn:ErrorWithId"minOccurs="0"maxOccurs="unbounded"><xs:annotation><xs:documentation>Data Item Ref: N/A. List of Validation errors (if any) on the Look Up ERN request. Validations are returned with an id field where a PPSN provided is invalid. The id field will not be present where PPSN processing is not reached e.g. No RPN found for the employer.</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType>