Schema Name: ReturnHeader94x.xsd
Target Namespace: http://www.irs.gov/efile
Documentation:
IRS e-file 94x Schema - Return header schema for a 94x return Release 2.11 June 17, 2011
Collapse XSD Schema Code:

<xsd:schema targetNamespace="http://www.irs.gov/efile" xmlns="http://www.irs.gov/efile" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">

  <xsd:annotation>
  <xsd:documentation>
    <Description>IRS e-file 94x Schema - Return header schema for a 94x return</Description>
      <Version>Release 2.11</Version>
      <ReleaseDate>June 17, 2011</ReleaseDate>
    </xsd:documentation>
  </xsd:annotation>

  <xsd:include schemaLocation="../efileTypes.xsd" />
  <xsd:include schemaLocation="../message/efileMessage.xsd" />

  <xsd:element name="ReturnHeader94x" >
    <xsd:complexType>
      <xsd:complexContent>
        <xsd:extension base="ReturnHeader94xType">
          <xsd:attributeGroup ref="DocumentAttributes" />
        </xsd:extension>
      </xsd:complexContent>
    </xsd:complexType>
  </xsd:element>

  <xsd:complexType name="ReturnHeader94xType">
    <xsd:annotation>
      <xsd:documentation>Content model for ReturnHeader94x</xsd:documentation>
    </xsd:annotation>

    <xsd:complexContent>
      <xsd:extension base="ReturnHeaderType">
        <xsd:sequence>

          <!-- Software Identification -->
          <xsd:element name="SoftwareId" type="SoftwareIdType" minOccurs="0" />

          <!-- Return Identifiers -->
          <xsd:element name="ReturnType">
            <xsd:simpleType>
              <xsd:restriction base="StringType">
                <xsd:enumeration value="941" />
                <xsd:enumeration value="941PR" />
                <xsd:enumeration value="941SS" />
                <xsd:enumeration value="940" />
                <xsd:enumeration value="940PR" />
                <xsd:enumeration value="944" />  
              </xsd:restriction>
            </xsd:simpleType>
          </xsd:element>
  
          <!-- Business -->
          <xsd:element name="Business">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="EIN" type="EINType" />
                <xsd:element name="BusinessName1" type="BusinessName1Type" />
                <xsd:element name="BusinessName2" type="BusinessName2Type" minOccurs="0" />
                <xsd:choice>
                  <xsd:element name="BusinessNameControl" type="BusinessNameControlType" />
                  <xsd:element name="CheckDigit" type="CheckDigitType" />
                </xsd:choice>

                <!-- In Care Of Name Line -->
                <xsd:element name="InCareOfNameLine" minOccurs="0">
                  <xsd:annotation>
                    <xsd:documentation>Used to indicate the In Care Of line for address. Legal Characters: percent sign, A-Z, a-z, 0-9, hyphen, slash, ampersand, and single space. Illegal Characters: leading space, trailing space, adjacent spaces, and other symbols.</xsd:documentation>
                  </xsd:annotation>
                  <xsd:simpleType>
                  <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="35"/>
                    <xsd:pattern value="(% )([A-Za-z0-9\-/|&#x26;] ?)*[A-Za-z0-9\-/|&#x26;]"/>
                  </xsd:restriction>
                  </xsd:simpleType>
                </xsd:element>

                <xsd:choice>
                   <xsd:element name="USAddress" type="USAddressType" />
                  <xsd:element name="ForeignAddress" type="ForeignAddressType"/>
                 </xsd:choice>
                <xsd:element name="AddressChange" type="CheckboxType" minOccurs="0" />
              </xsd:sequence>
            </xsd:complexType>
          </xsd:element>

          <!-- Preparer -->
          <xsd:element name="Preparer" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Paid Preparers: A paid preparer must provide the information requested in the Paid preparer’s use only section: Preparer structure, if the preparer was paid to prepare the Return and is not an employee of the filing entity. The preparer must give you a copy of the return in addition to the copy to be filed with the IRS. Do not complete the Paid Preparer’s Use Only section if you are filing the return as a reporting agent and have a valid Form 8655, Reporting Agent Authorization, on file with the IRS.</xsd:documentation>
        </xsd:annotation>
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="Name" type="PersonNameType" />
                <xsd:element name="PTIN" type="PTINType" />
                <xsd:element name="Phone" type="PhoneNumberType" minOccurs="0" />
                <xsd:element name="EmailAddress" type="EmailAddressType" minOccurs="0" />
                <xsd:element name="SelfEmployed" type="CheckboxType" minOccurs="0" />
              </xsd:sequence>
            </xsd:complexType>
          </xsd:element>

          <!-- Return Signer -->
          <xsd:element name="ReturnSigner" minOccurs="0">
            <xsd:annotation>
              <xsd:documentation>
              <Description>Mandatory use for all who do not sign at the ReportingAgentSignature level in the ReturnOriginHeader</Description>
              </xsd:documentation>
            </xsd:annotation>
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="Name" type="PersonNameType" />
                <xsd:element name="Title" type="PersonTitleType" minOccurs="0" />
                <xsd:element name="Phone" type="PhoneNumberType" minOccurs="0" />
                <xsd:element name="EmailAddress" type="EmailAddressType" minOccurs="0" />
                <xsd:element name="Signature" type="SignatureType" />
                <xsd:element name="DateSigned" type="DateType" />
              </xsd:sequence>
            </xsd:complexType>
          </xsd:element>

          <!-- Third Party Authorization -->
          <xsd:element name="ThirdPartyAuthorization" minOccurs="0">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="AuthorizeThirdParty" type="CheckboxType" />
                <xsd:element name="DesigneeName" type="PersonNameType" />
                <xsd:element name="DesigneePhone" type="PhoneNumberType" />
                <xsd:element name="DPIN" type="DPINType" />
              </xsd:sequence>
            </xsd:complexType>
          </xsd:element>

        </xsd:sequence>
      </xsd:extension>
    </xsd:complexContent>

  </xsd:complexType>

</xsd:schema>
Collapse ComplexTypes:
Collapse Elements: