<?xml version="1.0" encoding="UTF-8"?>
<!--
XML Schema Rec
Generated by DecisionSoft X-Meta: generator revision 119879
Mon Jul 20 11:23:09 BST 2009
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:eoy="http://www.govtalk.gov.uk/taxation/EOY/10-11/1" targetNamespace="http://www.govtalk.gov.uk/taxation/EOY/10-11/1" version="1.0" id="eoy" elementFormDefault="qualified" attributeFormDefault="unqualified">
  <xsd:include schemaLocation="http://www.hmrc.gov.uk/schemas/core-v2-0.xsd"/>
  <xsd:annotation>
    <xsd:documentation>HMRC FBI End Of Year Return</xsd:documentation>
    <xsd:appinfo>
      <gt:KeyWords xmlns:gt="http://www.govtalk.gov.uk/CM/core">EOYR, PAYE, taxation, FBI, HMRC</gt:KeyWords>
      <gms:Metadata xmlns:gms="http://www.govtalk.gov.uk/CM/gms-xs">
        <gms:Audience>e-service developers</gms:Audience>
        <gms:Contributor>DecisionSoft Ltd</gms:Contributor>
        <gms:Creator>HMRC</gms:Creator>
        <gms:Date>
          <gms:Created>2006-07-13</gms:Created>
        </gms:Date>
        <gms:Date>
          <gms:Modified>2009-07-20</gms:Modified>
        </gms:Date>
        <gms:Format>
          <gms:MediaType>text/xml</gms:MediaType>
          <gms:Syntax>http://www.w3.org/2001/XMLSchema</gms:Syntax>
          <gms:Description>XML Schema, W3C Recommendation 2001</gms:Description>
        </gms:Format>
        <gms:Language>[ISO 639-2/B] ENG</gms:Language>
        <gms:Publisher>HMRC</gms:Publisher>
        <gms:Relation>
          <gms:Requires>core-v2-0</gms:Requires>
        </gms:Relation>
        <gms:Relation>
          <gms:ProvidesDefinitionOf>IRenvelope</gms:ProvidesDefinitionOf>
        </gms:Relation>
        <gms:Relation>
          <gms:ProvidesDefinitionOf>P35</gms:ProvidesDefinitionOf>
        </gms:Relation>
        <gms:Relation>
          <gms:ProvidesDefinitionOf>P35Amended</gms:ProvidesDefinitionOf>
        </gms:Relation>
        <gms:Relation>
          <gms:ProvidesDefinitionOf>P14</gms:ProvidesDefinitionOf>
        </gms:Relation>
        <gms:Relation>
          <gms:ProvidesDefinitionOf>PartTotals</gms:ProvidesDefinitionOf>
        </gms:Relation>
        <gms:Relation>
          <gms:ProvidesDefinitionOf>PartTotalsAmended</gms:ProvidesDefinitionOf>
        </gms:Relation>
        <gms:Relation>
          <gms:ProvidesDefinitionOf>P14Amended</gms:ProvidesDefinitionOf>
        </gms:Relation>
        <gms:Relation>
          <gms:ProvidesDefinitionOf>CompressedPart</gms:ProvidesDefinitionOf>
        </gms:Relation>
        <gms:Relation>
          <gms:ProvidesDefinitionOf>NumberOfParts</gms:ProvidesDefinitionOf>
        </gms:Relation>
        <gms:Relation>
          <gms:ProvidesDefinitionOf>UniqueID</gms:ProvidesDefinitionOf>
        </gms:Relation>
        <gms:Relation>
          <gms:ProvidesDefinitionOf>P14Count</gms:ProvidesDefinitionOf>
        </gms:Relation>
        <gms:Rights>
          <gms:Copyright>(C) Crown Copyright 2001-2007</gms:Copyright>
        </gms:Rights>
        <gms:Subject>
          <gms:Category>Economics, Finance and Tax</gms:Category>
        </gms:Subject>
        <gms:Title>End Of Year</gms:Title>
        <gms:Type>message</gms:Type>
      </gms:Metadata>
    </xsd:appinfo>
  </xsd:annotation>
  <xsd:element name="IRenvelope">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element minOccurs="1" maxOccurs="1" ref="eoy:IRheader"/>
        <xsd:element minOccurs="1" maxOccurs="1" name="EndOfYearReturn">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element minOccurs="1" maxOccurs="1" name="ReturnType">
                <xsd:simpleType>
                  <xsd:restriction base="eoy:PAYEstringType">
                    <xsd:enumeration value="original"/>
                    <xsd:enumeration value="amended"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
              <xsd:element minOccurs="1" maxOccurs="1" name="SubmissionType">
                <xsd:simpleType>
                  <xsd:restriction base="eoy:PAYEstringType">
                    <xsd:enumeration value="complete"/>
                    <xsd:enumeration value="P14Part"/>
                    <xsd:enumeration value="P35Part"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
              <xsd:choice minOccurs="1" maxOccurs="1">
                <xsd:sequence>
                  <xsd:element minOccurs="1" maxOccurs="1" ref="eoy:P35"/>
                  <xsd:choice minOccurs="1" maxOccurs="1">
                    <xsd:sequence>
                      <xsd:choice minOccurs="1" maxOccurs="1">
                        <xsd:element minOccurs="0" maxOccurs="unbounded" ref="eoy:P14"/>
                        <xsd:element minOccurs="1" maxOccurs="1" ref="eoy:CompressedPart"/>
                      </xsd:choice>
                      <xsd:element minOccurs="1" maxOccurs="1" ref="eoy:P14Count"/>
                    </xsd:sequence>
                    <xsd:sequence>
                      <xsd:element minOccurs="1" maxOccurs="1" ref="eoy:NumberOfParts"/>
                    </xsd:sequence>
                  </xsd:choice>
                </xsd:sequence>
                <xsd:sequence>
                  <xsd:element minOccurs="1" maxOccurs="1" ref="eoy:P35Amended"/>
                  <xsd:choice minOccurs="1" maxOccurs="1">
                    <xsd:sequence>
                      <xsd:choice minOccurs="1" maxOccurs="1">
                        <xsd:element minOccurs="0" maxOccurs="unbounded" ref="eoy:P14Amended"/>
                        <xsd:element minOccurs="1" maxOccurs="1" ref="eoy:CompressedPart"/>
                      </xsd:choice>
                      <xsd:element minOccurs="1" maxOccurs="1" ref="eoy:P14Count"/>
                    </xsd:sequence>
                    <xsd:sequence>
                      <xsd:element minOccurs="1" maxOccurs="1" ref="eoy:NumberOfParts"/>
                    </xsd:sequence>
                  </xsd:choice>
                </xsd:sequence>
                <xsd:sequence>
                  <xsd:element minOccurs="1" maxOccurs="unbounded" ref="eoy:P14"/>
                  <xsd:element minOccurs="1" maxOccurs="1" ref="eoy:PartTotals"/>
                  <xsd:element minOccurs="1" maxOccurs="1" ref="eoy:UniqueID"/>
                </xsd:sequence>
                <xsd:sequence>
                  <xsd:element minOccurs="0" maxOccurs="unbounded" ref="eoy:P14Amended"/>
                  <xsd:element minOccurs="1" maxOccurs="1" ref="eoy:PartTotalsAmended"/>
                  <xsd:element minOccurs="1" maxOccurs="1" ref="eoy:UniqueID"/>
                </xsd:sequence>
                <xsd:sequence>
                  <xsd:element minOccurs="1" maxOccurs="1" ref="eoy:CompressedPart"/>
                  <xsd:choice minOccurs="1" maxOccurs="1">
                    <xsd:element minOccurs="1" maxOccurs="1" ref="eoy:PartTotals"/>
                    <xsd:element minOccurs="1" maxOccurs="1" ref="eoy:PartTotalsAmended"/>
                  </xsd:choice>
                  <xsd:element minOccurs="1" maxOccurs="1" ref="eoy:UniqueID"/>
                </xsd:sequence>
              </xsd:choice>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
  <xsd:element name="P35">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element minOccurs="0" maxOccurs="1" name="CessationDate" type="xsd:date"/>
        <xsd:element minOccurs="1" maxOccurs="1" name="EmployerDetails">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element minOccurs="1" maxOccurs="1" name="EmployerName">
                <xsd:simpleType>
                  <xsd:restriction base="eoy:PAYEstringType">
                    <xsd:minLength value="1"/>
                    <xsd:maxLength value="35"/>
                    <xsd:pattern value="\S.*"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
              <xsd:element minOccurs="0" maxOccurs="1" name="ECON">
                <xsd:simpleType>
                  <xsd:restriction base="eoy:PAYEstringType">
                    <xsd:minLength value="9"/>
                    <xsd:maxLength value="9"/>
                    <xsd:pattern value="E3[0-9]{6}[A-Z]"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="CheckList">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element minOccurs="1" maxOccurs="1" name="CompletedEndOfYearSummary" type="eoy:YesNoType"/>
              <xsd:element minOccurs="1" maxOccurs="1" name="FreeOfTaxPayments" type="eoy:YesNoType"/>
              <xsd:element minOccurs="1" maxOccurs="1" name="ExpensesOrBenefits" type="eoy:YesNoType"/>
              <xsd:element minOccurs="1" maxOccurs="1" name="EmployeesOutOfUK">
                <xsd:complexType>
                  <xsd:simpleContent>
                    <xsd:extension base="eoy:YesNoType">
                      <xsd:attribute use="optional" name="IsIncluded" type="eoy:YesNoType"/>
                    </xsd:extension>
                  </xsd:simpleContent>
                </xsd:complexType>
              </xsd:element>
              <xsd:element minOccurs="1" maxOccurs="1" name="EmployeesPayToThirdParty">
                <xsd:complexType>
                  <xsd:simpleContent>
                    <xsd:extension base="eoy:YesNoType">
                      <xsd:attribute use="optional" name="IsIncluded" type="eoy:YesNoType"/>
                    </xsd:extension>
                  </xsd:simpleContent>
                </xsd:complexType>
              </xsd:element>
              <xsd:element minOccurs="1" maxOccurs="1" name="ServicePayments">
                <xsd:complexType>
                  <xsd:simpleContent>
                    <xsd:extension base="eoy:YesNoType">
                      <xsd:attribute use="optional" name="IsIncluded" type="eoy:YesNoType"/>
                    </xsd:extension>
                  </xsd:simpleContent>
                </xsd:complexType>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="Declarations">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element minOccurs="1" maxOccurs="1" name="P14Declaration">
                <xsd:simpleType>
                  <xsd:restriction base="eoy:PAYEstringType">
                    <xsd:enumeration value="yes"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
              <xsd:element minOccurs="1" maxOccurs="1" name="P38Adeclaration">
                <xsd:simpleType>
                  <xsd:restriction base="eoy:PAYEstringType">
                    <xsd:enumeration value="are due"/>
                    <xsd:enumeration value="are not due"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
              <xsd:element minOccurs="1" maxOccurs="1" name="P11Ddeclaration">
                <xsd:simpleType>
                  <xsd:restriction base="eoy:PAYEstringType">
                    <xsd:enumeration value="are due"/>
                    <xsd:enumeration value="are not due"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="Summary">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element minOccurs="1" maxOccurs="1" name="NIC">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TotalNIC">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="SSPSMPSPPandSAPfunding">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                            <xsd:maxInclusive value="99999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="SSP">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                            <xsd:maxInclusive value="99999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="SMP">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                            <xsd:maxInclusive value="99999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="SMPcompensation">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                            <xsd:maxInclusive value="99999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="SPP">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                            <xsd:maxInclusive value="99999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="SPPcompensation">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                            <xsd:maxInclusive value="99999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="SAP">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                            <xsd:maxInclusive value="99999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="SAPcompensation">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                            <xsd:maxInclusive value="99999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
              <xsd:element minOccurs="1" maxOccurs="1" name="PAYE">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element minOccurs="1" maxOccurs="1" name="P14Tax">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TaxAdvance">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TotalTax">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
              <xsd:element minOccurs="1" maxOccurs="1" name="CombinedAmounts">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TotalTaxAndNIC">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="StudentLoan">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeWholeUnitsMonetaryStructure">
                            <xsd:maxInclusive value="9999999999.00"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TotalNICsTaxAndStudentLoan">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="NetStatutoryPaymentsRecovered">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="CombinedLessStatutoryRecovered">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="SubcontractorTax">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TotalPayable">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TotalPaid">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="IncentivePayment">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                            <xsd:maxInclusive value="999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TotalRemainingToPay">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="CISdeductions">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TotalAfterCISdeductions">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
  <xsd:element name="P35Amended">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element minOccurs="0" maxOccurs="1" name="CessationDate" type="xsd:date"/>
        <xsd:element minOccurs="1" maxOccurs="1" name="EmployerDetails">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element minOccurs="1" maxOccurs="1" name="EmployerName">
                <xsd:simpleType>
                  <xsd:restriction base="eoy:PAYEstringType">
                    <xsd:minLength value="1"/>
                    <xsd:maxLength value="35"/>
                    <xsd:pattern value="\S.*"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
              <xsd:element minOccurs="0" maxOccurs="1" name="ECON">
                <xsd:simpleType>
                  <xsd:restriction base="eoy:PAYEstringType">
                    <xsd:minLength value="9"/>
                    <xsd:maxLength value="9"/>
                    <xsd:pattern value="E3[0-9]{6}[A-Z]"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="CheckList">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element minOccurs="1" maxOccurs="1" name="CompletedEndOfYearSummary" type="eoy:YesNoType"/>
              <xsd:element minOccurs="1" maxOccurs="1" name="FreeOfTaxPayments" type="eoy:YesNoType"/>
              <xsd:element minOccurs="1" maxOccurs="1" name="ExpensesOrBenefits" type="eoy:YesNoType"/>
              <xsd:element minOccurs="1" maxOccurs="1" name="EmployeesOutOfUK">
                <xsd:complexType>
                  <xsd:simpleContent>
                    <xsd:extension base="eoy:YesNoType">
                      <xsd:attribute use="optional" name="IsIncluded" type="eoy:YesNoType"/>
                    </xsd:extension>
                  </xsd:simpleContent>
                </xsd:complexType>
              </xsd:element>
              <xsd:element minOccurs="1" maxOccurs="1" name="EmployeesPayToThirdParty">
                <xsd:complexType>
                  <xsd:simpleContent>
                    <xsd:extension base="eoy:YesNoType">
                      <xsd:attribute use="optional" name="IsIncluded" type="eoy:YesNoType"/>
                    </xsd:extension>
                  </xsd:simpleContent>
                </xsd:complexType>
              </xsd:element>
              <xsd:element minOccurs="1" maxOccurs="1" name="ServicePayments">
                <xsd:complexType>
                  <xsd:simpleContent>
                    <xsd:extension base="eoy:YesNoType">
                      <xsd:attribute use="optional" name="IsIncluded" type="eoy:YesNoType"/>
                    </xsd:extension>
                  </xsd:simpleContent>
                </xsd:complexType>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="Declarations">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element minOccurs="1" maxOccurs="1" name="P14Declaration">
                <xsd:simpleType>
                  <xsd:restriction base="eoy:PAYEstringType">
                    <xsd:enumeration value="yes"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
              <xsd:element minOccurs="1" maxOccurs="1" name="P38Adeclaration">
                <xsd:simpleType>
                  <xsd:restriction base="eoy:PAYEstringType">
                    <xsd:enumeration value="are due"/>
                    <xsd:enumeration value="are not due"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
              <xsd:element minOccurs="1" maxOccurs="1" name="P11Ddeclaration">
                <xsd:simpleType>
                  <xsd:restriction base="eoy:PAYEstringType">
                    <xsd:enumeration value="are due"/>
                    <xsd:enumeration value="are not due"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="Summary">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element minOccurs="1" maxOccurs="1" name="NIC">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TotalNIC">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="SSPSMPSPPandSAPfunding">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="99999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="SSP">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="99999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="SMP">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="99999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="SMPcompensation">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="99999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="SPP">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="99999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="SPPcompensation">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="99999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="SAP">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="99999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="SAPcompensation">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="99999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
              <xsd:element minOccurs="1" maxOccurs="1" name="PAYE">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element minOccurs="1" maxOccurs="1" name="P14Tax">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TaxAdvance">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TotalTax">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
              <xsd:element minOccurs="1" maxOccurs="1" name="CombinedAmounts">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TotalTaxAndNIC">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="StudentLoan">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRwholeUnitsMonetaryStructure">
                            <xsd:maxInclusive value="9999999999.00"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TotalNICsTaxAndStudentLoan">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="NetStatutoryPaymentsRecovered">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="CombinedLessStatutoryRecovered">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="SubcontractorTax">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TotalPayable">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TotalPaid">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="IncentivePayment">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TotalRemainingToPay">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="CISdeductions">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TotalAfterCISdeductions">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="9999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
  <xsd:element name="P14">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element minOccurs="1" maxOccurs="1" name="Name" type="eoy:NameStructure"/>
        <xsd:element minOccurs="0" maxOccurs="1" name="Address" type="eoy:InternationalAddressStructure"/>
        <xsd:element minOccurs="0" maxOccurs="1" name="DOB" type="xsd:date"/>
        <xsd:element minOccurs="0" maxOccurs="1" name="Sex" type="eoy:GenderType"/>
        <xsd:element minOccurs="0" maxOccurs="1" name="NINO">
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:pattern value="[A-Z]{2}[0-9]{6}[A-D ]"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element minOccurs="0" maxOccurs="1" name="WkNo" type="eoy:WorksNumberType"/>
        <xsd:element minOccurs="1" maxOccurs="4" name="NICs">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element minOccurs="1" maxOccurs="1" name="Earn">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element minOccurs="1" maxOccurs="1" name="AtLEL">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeWholeUnitsMonetaryStructure">
                            <xsd:maxInclusive value="9999.00"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="LELtoET">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeWholeUnitsMonetaryStructure">
                            <xsd:maxInclusive value="9999.00"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="ETtoUAP">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeWholeUnitsMonetaryStructure">
                            <xsd:maxInclusive value="99999.00"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="UAPtoUEL">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeWholeUnitsMonetaryStructure">
                            <xsd:maxInclusive value="99999.00"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
              <xsd:element minOccurs="1" maxOccurs="1" name="Both">
                <xsd:complexType>
                  <xsd:simpleContent>
                    <xsd:restriction base="eoy:IRmonetaryStructure">
                      <xsd:maxInclusive value="999999999.99"/>
                    </xsd:restriction>
                  </xsd:simpleContent>
                </xsd:complexType>
              </xsd:element>
              <xsd:element minOccurs="1" maxOccurs="1" name="Emp">
                <xsd:complexType>
                  <xsd:simpleContent>
                    <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                      <xsd:maxInclusive value="99999999.99"/>
                    </xsd:restriction>
                  </xsd:simpleContent>
                </xsd:complexType>
              </xsd:element>
              <xsd:element minOccurs="0" maxOccurs="1" name="SCON">
                <xsd:simpleType>
                  <xsd:restriction base="eoy:PAYEstringType">
                    <xsd:minLength value="9"/>
                    <xsd:maxLength value="9"/>
                    <xsd:pattern value="S[012468][0-9]{6}[A-Z]"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
            </xsd:sequence>
            <xsd:attribute use="required" name="Tab">
              <xsd:simpleType>
                <xsd:restriction base="eoy:PAYEstringType">
                  <xsd:minLength value="1"/>
                  <xsd:maxLength value="1"/>
                  <xsd:pattern value="[ABCDEFGHJKLNOQRSTVWXZ]"/>
                </xsd:restriction>
              </xsd:simpleType>
            </xsd:attribute>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="SSP">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                <xsd:maxInclusive value="9999.99"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="SMP">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                <xsd:maxInclusive value="999999.99"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="SPP">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                <xsd:maxInclusive value="999999.99"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="SAP">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                <xsd:maxInclusive value="999999.99"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="PayAndTax">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element minOccurs="1" maxOccurs="1" name="PrevEmp">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TaxablePay">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                            <xsd:maxInclusive value="999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="Tax">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                            <xsd:maxInclusive value="999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
              <xsd:element minOccurs="1" maxOccurs="1" name="ThisEmp">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TaxablePay">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                            <xsd:maxInclusive value="999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="Tax">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="0" maxOccurs="1" name="Start" type="xsd:date"/>
                    <xsd:element minOccurs="0" maxOccurs="1" name="EndDate" type="xsd:date"/>
                    <xsd:element minOccurs="1" maxOccurs="1" name="StLoan">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeWholeUnitsMonetaryStructure">
                            <xsd:maxInclusive value="99999.00"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="0" maxOccurs="1" name="Code">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:extension base="eoy:_intermediate_Code">
                            <xsd:attribute use="prohibited" name="SVR">
                              <xsd:simpleType>
                                <xsd:restriction base="eoy:PAYEstringType">
                                  <xsd:enumeration value="S"/>
                                </xsd:restriction>
                              </xsd:simpleType>
                            </xsd:attribute>
                            <xsd:attribute use="optional" name="W1M1Ind">
                              <xsd:simpleType>
                                <xsd:restriction base="eoy:PAYEstringType">
                                  <xsd:enumeration value="month"/>
                                  <xsd:enumeration value="week"/>
                                </xsd:restriction>
                              </xsd:simpleType>
                            </xsd:attribute>
                          </xsd:extension>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="0" maxOccurs="1" name="Week53Indicator">
                      <xsd:simpleType>
                        <xsd:restriction base="xsd:integer">
                          <xsd:enumeration value="53"/>
                          <xsd:enumeration value="54"/>
                          <xsd:enumeration value="56"/>
                        </xsd:restriction>
                      </xsd:simpleType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="WidOrph">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                            <xsd:maxInclusive value="99999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
  <xsd:element name="PartTotals">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element minOccurs="1" maxOccurs="1" name="P14Count">
          <xsd:simpleType>
            <xsd:restriction base="xsd:integer">
              <xsd:maxInclusive value="9999999"/>
              <xsd:minInclusive value="1"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="TotalContributions">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRmonetaryStructure">
                <xsd:maxInclusive value="999999999.99"/>
                <xsd:minInclusive value="-999999999.99"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="TotalTax">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRmonetaryStructure">
                <xsd:maxInclusive value="9999999999.99"/>
                <xsd:minInclusive value="-9999999999.99"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="TotalSSP">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                <xsd:maxInclusive value="99999999.99"/>
                <xsd:minInclusive value="0.00"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="TotalSMP">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                <xsd:maxInclusive value="99999999.99"/>
                <xsd:minInclusive value="0.00"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="TotalSPP">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                <xsd:maxInclusive value="99999999.99"/>
                <xsd:minInclusive value="0.00"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="TotalSAP">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRnonNegativeMonetaryStructure">
                <xsd:maxInclusive value="99999999.99"/>
                <xsd:minInclusive value="0.00"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="TotalStudentLoanDeductions">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRnonNegativeWholeUnitsMonetaryStructure">
                <xsd:maxInclusive value="99999999.00"/>
                <xsd:minInclusive value="0.00"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
  <xsd:element name="PartTotalsAmended">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element minOccurs="1" maxOccurs="1" name="P14Count">
          <xsd:simpleType>
            <xsd:restriction base="xsd:integer">
              <xsd:maxInclusive value="9999999"/>
              <xsd:minInclusive value="1"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="TotalContributions">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRmonetaryStructure">
                <xsd:maxInclusive value="999999999.99"/>
                <xsd:minInclusive value="-999999999.99"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="TotalTax">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRmonetaryStructure">
                <xsd:maxInclusive value="9999999999.99"/>
                <xsd:minInclusive value="-9999999999.99"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="TotalSSP">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRmonetaryStructure">
                <xsd:maxInclusive value="99999999.99"/>
                <xsd:minInclusive value="-99999999.99"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="TotalSMP">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRmonetaryStructure">
                <xsd:maxInclusive value="99999999.99"/>
                <xsd:minInclusive value="-99999999.99"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="TotalSPP">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRmonetaryStructure">
                <xsd:maxInclusive value="99999999.99"/>
                <xsd:minInclusive value="-99999999.99"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="TotalSAP">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRmonetaryStructure">
                <xsd:maxInclusive value="99999999.99"/>
                <xsd:minInclusive value="-99999999.99"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="TotalStudentLoanDeductions">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRwholeUnitsMonetaryStructure">
                <xsd:maxInclusive value="99999999.00"/>
                <xsd:minInclusive value="-99999999.00"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
  <xsd:element name="P14Amended">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element minOccurs="1" maxOccurs="1" name="Name" type="eoy:NameStructure"/>
        <xsd:element minOccurs="0" maxOccurs="1" name="Address" type="eoy:InternationalAddressStructure"/>
        <xsd:element minOccurs="0" maxOccurs="1" name="DOB" type="xsd:date"/>
        <xsd:element minOccurs="0" maxOccurs="1" name="Sex" type="eoy:GenderType"/>
        <xsd:element minOccurs="0" maxOccurs="1" name="NINO">
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:pattern value="[A-Z]{2}[0-9]{6}[A-D ]"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element minOccurs="0" maxOccurs="1" name="WkNo" type="eoy:WorksNumberType"/>
        <xsd:element minOccurs="1" maxOccurs="4" name="NICs">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element minOccurs="1" maxOccurs="1" name="Earn">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element minOccurs="1" maxOccurs="1" name="AtLEL">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRwholeUnitsMonetaryStructure">
                            <xsd:maxInclusive value="9999.00"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="LELtoET">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRwholeUnitsMonetaryStructure">
                            <xsd:maxInclusive value="9999.00"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="ETtoUAP">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRwholeUnitsMonetaryStructure">
                            <xsd:maxInclusive value="99999.00"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="UAPtoUEL">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRwholeUnitsMonetaryStructure">
                            <xsd:maxInclusive value="99999.00"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
              <xsd:element minOccurs="1" maxOccurs="1" name="Both">
                <xsd:complexType>
                  <xsd:simpleContent>
                    <xsd:restriction base="eoy:IRmonetaryStructure">
                      <xsd:maxInclusive value="999999999.99"/>
                    </xsd:restriction>
                  </xsd:simpleContent>
                </xsd:complexType>
              </xsd:element>
              <xsd:element minOccurs="1" maxOccurs="1" name="Emp">
                <xsd:complexType>
                  <xsd:simpleContent>
                    <xsd:restriction base="eoy:IRmonetaryStructure">
                      <xsd:maxInclusive value="99999999.99"/>
                    </xsd:restriction>
                  </xsd:simpleContent>
                </xsd:complexType>
              </xsd:element>
              <xsd:element minOccurs="0" maxOccurs="1" name="SCON">
                <xsd:simpleType>
                  <xsd:restriction base="eoy:PAYEstringType">
                    <xsd:minLength value="9"/>
                    <xsd:maxLength value="9"/>
                    <xsd:pattern value="S[012468][0-9]{6}[A-Z]"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
            </xsd:sequence>
            <xsd:attribute use="required" name="Tab">
              <xsd:simpleType>
                <xsd:restriction base="eoy:PAYEstringType">
                  <xsd:minLength value="1"/>
                  <xsd:maxLength value="1"/>
                  <xsd:pattern value="[ABCDEFGHJKLNOQRSTVWXZ]"/>
                </xsd:restriction>
              </xsd:simpleType>
            </xsd:attribute>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="SSP">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRmonetaryStructure">
                <xsd:maxInclusive value="9999.99"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="SMP">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRmonetaryStructure">
                <xsd:maxInclusive value="999999.99"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="SPP">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRmonetaryStructure">
                <xsd:maxInclusive value="999999.99"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="SAP">
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:restriction base="eoy:IRmonetaryStructure">
                <xsd:maxInclusive value="999999.99"/>
              </xsd:restriction>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="1" maxOccurs="1" name="PayAndTax">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element minOccurs="1" maxOccurs="1" name="PrevEmp">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TaxablePay">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="Tax">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
              <xsd:element minOccurs="1" maxOccurs="1" name="ThisEmp">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element minOccurs="1" maxOccurs="1" name="TaxablePay">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="Tax">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="999999999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="0" maxOccurs="1" name="Start" type="xsd:date"/>
                    <xsd:element minOccurs="0" maxOccurs="1" name="EndDate" type="xsd:date"/>
                    <xsd:element minOccurs="1" maxOccurs="1" name="StLoan">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRwholeUnitsMonetaryStructure">
                            <xsd:maxInclusive value="99999.00"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="0" maxOccurs="1" name="Code">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:extension base="eoy:_intermediate_Code_2">
                            <xsd:attribute use="prohibited" name="SVR">
                              <xsd:simpleType>
                                <xsd:restriction base="eoy:PAYEstringType">
                                  <xsd:enumeration value="S"/>
                                </xsd:restriction>
                              </xsd:simpleType>
                            </xsd:attribute>
                            <xsd:attribute use="optional" name="W1M1Ind">
                              <xsd:simpleType>
                                <xsd:restriction base="eoy:PAYEstringType">
                                  <xsd:enumeration value="month"/>
                                  <xsd:enumeration value="week"/>
                                </xsd:restriction>
                              </xsd:simpleType>
                            </xsd:attribute>
                          </xsd:extension>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element minOccurs="0" maxOccurs="1" name="Week53Indicator">
                      <xsd:simpleType>
                        <xsd:restriction base="xsd:integer">
                          <xsd:enumeration value="53"/>
                          <xsd:enumeration value="54"/>
                          <xsd:enumeration value="56"/>
                        </xsd:restriction>
                      </xsd:simpleType>
                    </xsd:element>
                    <xsd:element minOccurs="1" maxOccurs="1" name="WidOrph">
                      <xsd:complexType>
                        <xsd:simpleContent>
                          <xsd:restriction base="eoy:IRmonetaryStructure">
                            <xsd:maxInclusive value="99999.99"/>
                          </xsd:restriction>
                        </xsd:simpleContent>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
  <xsd:element name="CompressedPart">
    <xsd:complexType>
      <xsd:simpleContent>
        <xsd:extension base="eoy:_intermediate_CompressedPart">
          <xsd:attribute use="optional" default="gzip" name="Type">
            <xsd:simpleType>
              <xsd:restriction base="xsd:string">
                <xsd:enumeration value="zip"/>
                <xsd:enumeration value="gzip"/>
              </xsd:restriction>
            </xsd:simpleType>
          </xsd:attribute>
        </xsd:extension>
      </xsd:simpleContent>
    </xsd:complexType>
  </xsd:element>
  <xsd:element name="NumberOfParts">
    <xsd:simpleType>
      <xsd:restriction base="xsd:integer">
        <xsd:maxInclusive value="999"/>
        <xsd:minInclusive value="001"/>
      </xsd:restriction>
    </xsd:simpleType>
  </xsd:element>
  <xsd:element name="UniqueID">
    <xsd:simpleType>
      <xsd:restriction base="eoy:PAYEstringType">
        <xsd:minLength value="1"/>
        <xsd:maxLength value="12"/>
      </xsd:restriction>
    </xsd:simpleType>
  </xsd:element>
  <xsd:element name="P14Count">
    <xsd:simpleType>
      <xsd:restriction base="xsd:integer">
        <xsd:minInclusive value="0"/>
      </xsd:restriction>
    </xsd:simpleType>
  </xsd:element>
  <!--
  **************************************************************
                    Auto-Generated Types
  **************************************************************

  Declaration of automatically generated named simpleTypes.
  These are necessary when XSDL does not allow inline
  declaration of simpleTypes under certain conditions.

  -->
  <xsd:simpleType name="_intermediate_Code">
    <xsd:restriction base="xsd:string">
      <xsd:minLength value="2"/>
      <xsd:maxLength value="7"/>
      <xsd:pattern value="[1-9][0-9]{0,5}[TLPVY]"/>
      <xsd:pattern value="K[1-9][0-9]{0,5}"/>
      <xsd:pattern value="BR|0T|D0|NT|FT"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="_intermediate_Code_2">
    <xsd:restriction base="xsd:string">
      <xsd:minLength value="2"/>
      <xsd:maxLength value="7"/>
      <xsd:pattern value="[1-9][0-9]{0,5}[TLPVY]"/>
      <xsd:pattern value="K[1-9][0-9]{0,5}"/>
      <xsd:pattern value="BR|0T|D0|NT|FT"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="_intermediate_CompressedPart">
    <xsd:restriction base="xsd:base64Binary">
      <xsd:minLength value="4"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:schema>

