Schema Name: IRS940.xsd
Target Namespace: http://www.irs.gov/efile
Documentation:
IRS e-file 94x Schema - Schema for IRS Form 940 Release 3.0 January 1, 2013
Collapse XSD Schema Code:

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

  <xsd:annotation>
    <xsd:documentation>
      <Description>IRS e-file 94x Schema - Schema for IRS Form 940</Description>
      <Version>Release 3.0</Version>
      <ReleaseDate>January 1, 2013</ReleaseDate>
    </xsd:documentation>
  </xsd:annotation>

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

  <xsd:element name="IRS940">
    <xsd:annotation>
      <xsd:documentation>IRS Form 940 excluding supporting info</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
      <xsd:complexContent>
        <xsd:extension base="IRS940Type">
          <xsd:attributeGroup ref="DocumentAttributes"/>
        </xsd:extension>
      </xsd:complexContent>
    </xsd:complexType>
  </xsd:element>

  <xsd:complexType name="IRS940Type">
    <xsd:annotation>
      <xsd:documentation>Content model for Form 940</xsd:documentation>
    </xsd:annotation>
    
    <xsd:sequence>

      <!-- Successor Employer Checkbox -->
      <xsd:element name="SuccessorEmployer" type="CheckboxType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Indicates that this is a successor employer</Description>
            <LineNumber>Line b of box in upper right corner</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>

      <!-- No Payments Checkbox -->
      <xsd:element name="NoPayments" type="CheckboxType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Indicates no payments to employees for the Tax Year</Description>
            <LineNumber>Line c of box in upper right corner</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>

      <!-- Non-Standard Return Indicator -->
      <xsd:element name="FinalReturn" type="CheckboxType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Indicates this is a final return</Description>
            <LineNumber>Line d of box in upper right corner</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>

      <!-- ================= -->
      <!--   Part 1:  Type of return  -->
      <!-- ================= -->

      <xsd:choice>

        <!-- Single State Contribution -->
        <!-- Name of State -->
        <xsd:element name="SingleStateCode" type="StateType">
          <xsd:annotation>
            <xsd:documentation>
              <Description>Name of State for a single state filer only</Description>
              <Description>Note - If StateType is a Credit Reduction State, also include it in Schedule A CreditReductionGroup.</Description>
              <LineNumber>Part 1 Line 1a</LineNumber>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>

        <!-- Multi State Contribution Checkbox -->
        <xsd:element name="MultiStateContribution" type="CheckboxType">
          <xsd:annotation>
            <xsd:documentation>
              <Description>Indicates that the employer made state unemployment contributions in more than one state</Description>
              <LineNumber>Part 1 Line 1b</LineNumber>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        
      </xsd:choice>

      <!-- Credit Reduction Checkbox -->
      <xsd:element name="CreditReduction" type="CheckboxType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Indicates that some or all of the wages paid are subject to credit reduction</Description>
            <LineNumber>Part 1 Line 2</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>

      <!-- ============================== -->
      <!--   Part 2:  Determination of FUTA Wages    -->
      <!-- ============================== -->

      <!-- Total Payments -->
      <xsd:element name="TotalWages" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Total payments during the calendar year for services of employees</Description>
            <LineNumber>Part 2 Line 3</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="DecimalNNType">
            <xsd:maxInclusive value="+9999999999999.99"/>
            <xsd:totalDigits value="15"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>

      <!-- Exempt Payments -->
      <xsd:element name="ExemptWages" type="ExemptWagesType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Exempt payments and category</Description>
            <LineNumber>Part 2 Line 4, 4a, 4b, 4c, 4d and 4e</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>

      <!-- Exempt Payments Over Federal Wage Base -->
      <xsd:element name="WagesOverLimitAmt" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Payment of wages for services over $7,000</Description>
            <LineNumber>Part 2 Line 5</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="DecimalNNType">
            <xsd:maxInclusive value="+99999999999.99"/>
            <xsd:totalDigits value="13"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>

      <!-- Total Exempt Payments -->
      <xsd:element name="TotalExemptWagesAmt" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Exempt payments plus payments of more than $7,000 for services</Description>
            <LineNumber>Part 2 Line 6</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="DecimalNNType">
            <xsd:maxInclusive value="+9999999999999.99"/>
            <xsd:totalDigits value="15"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>
      
      <!-- Total Taxable Wages  -->
      <xsd:element name="TotalTaxableWagesAmt">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Total taxable wages</Description>
            <LineNumber>Part 2 Line 7</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="DecimalNNType">
            <xsd:maxInclusive value="+9999999999999.99"/>
            <xsd:totalDigits value="15"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>

      <!-- FUTA Tax Before Adjustments -->
      <xsd:element name="FUTATaxBeforeAdjustmentsAmt" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>The FUTA tax before adjustments</Description>
            <LineNumber>Part 2 Line 8</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="DecimalNNType">
            <xsd:maxInclusive value="+9999999999999.99"/>
            <xsd:totalDigits value="15"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>

      <!-- ========================== -->
      <!--   Part 3:  Adjustments to FUTA Tax  -->
      <!-- ========================== -->

      <xsd:choice minOccurs="0">

        <!-- Maximum Credit Adjustment Amount -->
        <xsd:element name="AdjustmentAmt" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Description>The credit amount if the maximum is allowable</Description>
              <LineNumber>Part 3 Line 9</LineNumber>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="DecimalNNType">
              <xsd:maxInclusive value="+9999999999.99"/>
              <xsd:totalDigits value="12"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>

        <!-- Adjustments To FUTA Tax -->
        <xsd:element name="AdjustmentsToFUTATax" type="FUTAAdjustmentType">
          <xsd:annotation>
            <xsd:documentation>
              <Description>Credit adjustments if the maximum credit is not allowable</Description>
              <LineNumber>Part 3 Line 10 and 11</LineNumber>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>

      </xsd:choice>

        <!-- =========================== -->
        <!--   Part 4:  Determine your FUTA Tax    -->
        <!-- =========================== -->

      <!-- Futa Tax After Adjustments -->
      <xsd:element name="FUTATaxAfterAdjustments" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>The total FUTA tax after adjustments have been applied</Description>
            <LineNumber>Part 4 Line 12</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="DecimalNNType">
            <xsd:maxInclusive value="+9999999999999.99"/>
            <xsd:totalDigits value="15"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>

      <!-- Total FUTA Tax Deposited  -->
      <xsd:element name="TotalTaxDepositedAmt" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Total FUTA tax deposited for the year, including any overpayment applied from a prior year</Description>
            <LineNumber>Part 4 Line 13</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="DecimalNNType">
            <xsd:maxInclusive value="+9999999999999.99"/>
            <xsd:totalDigits value="15"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>

      <!-- Balance Due or Overpayment -->
      <xsd:choice minOccurs="0">

        <!-- Balance Due -->
        <xsd:element name="BalanceDue">
          <xsd:annotation>
            <xsd:documentation>
              <Description>Balance due</Description>
              <LineNumber>Part 4 Line 14</LineNumber>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="DecimalNNType">
              <xsd:maxInclusive value="+9999999999999.99"/>
              <xsd:totalDigits value="15"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>

        <!-- Overpayment -->
        <xsd:element name="Overpayment">
          <xsd:complexType>
            <xsd:sequence>

              <!-- Overpayment Amount -->
              <xsd:element name="Amount">
                <xsd:annotation>
                  <xsd:documentation>
                    <Description>Overpayment amount</Description>
                    <LineNumber>Part 4 Line 15</LineNumber>
                  </xsd:documentation>
                </xsd:annotation>
                <xsd:simpleType>
                  <xsd:restriction base="DecimalNNType">
                    <xsd:maxInclusive value="+999999999999.99"/>
                    <xsd:totalDigits value="14"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>

              <!-- Applied to Next Return or Refunded -->
              <xsd:choice>

                <!-- Overpayment Applied to Next Return  -->
                <xsd:element name="CreditElect" type="CheckboxType">
                  <xsd:annotation>
                    <xsd:documentation>
                      <Description>Overpayment applied to next return</Description>
                      <LineNumber>Part 4 Line 15</LineNumber>
                    </xsd:documentation>
                  </xsd:annotation>
                </xsd:element>

                <!-- Overpayment Refunded -->
                <xsd:element name="Refund" type="CheckboxType">
                  <xsd:annotation>
                    <xsd:documentation>
                      <Description>Overpayment refunded</Description>
                      <LineNumber>Part 4 Line 15</LineNumber>
                    </xsd:documentation>
                  </xsd:annotation>
                </xsd:element>
              </xsd:choice>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
      </xsd:choice>

      <!-- ================================================ -->
      <!--   Part 5:  Record of Quarterly Federal Unemployment Tax Liability   -->
      <!-- ================================================ -->

      <!-- First Quarter Liability -->
      <xsd:element name="Quarter1LiabilityAmt" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Liability for first quarter</Description>
            <LineNumber>Part 5 Line 16a</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="DecimalNNType">
            <xsd:maxInclusive value="+999999999999.99"/>
            <xsd:totalDigits value="14"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>

      <!-- Second Quarter Liability -->
      <xsd:element name="Quarter2LiabilityAmt" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Liability for second quarter</Description>
            <LineNumber>Part 5 Line 16b</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="DecimalNNType">
            <xsd:maxInclusive value="+999999999999.99"/>
            <xsd:totalDigits value="14"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>

      <!-- Third Quarter Liability -->
      <xsd:element name="Quarter3LiabilityAmt" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Liability for third quarter</Description>
            <LineNumber>Part 5 Line 16c</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="DecimalNNType">
            <xsd:maxInclusive value="+999999999999.99"/>
            <xsd:totalDigits value="14"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>

      <!-- Fourth Quarter Liability -->
      <xsd:element name="Quarter4LiabilityAmt" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Liability for fourth quarter</Description>
            <LineNumber>Part 5 Line 16d</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="DecimalNNType">
            <xsd:maxInclusive value="+999999999999.99"/>
            <xsd:totalDigits value="14"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>

      <!-- Total Liability for Year -->
      <xsd:element name="TotalYearLiabilityAmt" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Total liability for the year</Description>
            <LineNumber>Part 5 Line 17</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="DecimalNNType">
            <xsd:maxInclusive value="+9999999999999.99"/>
            <xsd:totalDigits value="15"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>

  <!-- ======================= -->
  <!--   Multi State Contribution Type   -->
  <!-- ======================= -->
  <xsd:complexType name="FUTAAdjustmentType">
    <xsd:annotation>
      <xsd:documentation>
        <Description>Part 3 Adjustments to FUTA</Description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>

      <!-- FUTA Adjustment -->
      <xsd:element name="FUTAAdjustmentAmt" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>FUTA adjustment</Description>
            <LineNumber>Part 3 Line 10</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="DecimalNNType">
            <xsd:maxInclusive value="+9999999999.99"/>
            <xsd:totalDigits value="12"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>

      <!-- Credit Reduction Wages -->
      <xsd:element name="CreditReductionAmt" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Credit Reduction Adjustment</Description>
            <LineNumber>Part 3 Line 11</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="DecimalNNType">
            <xsd:maxInclusive value="+99999999999.99"/>
            <xsd:totalDigits value="13"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>

  <!-- ================== -->
  <!--   Exempt Wages Type     -->
  <!-- ================== -->
  <xsd:complexType name="ExemptWagesType">
    <xsd:annotation>
      <xsd:documentation>
        <Description>Part 2 Exempt Payments</Description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>

      <!-- Exempt Wages Amount -->
      <xsd:element name="ExemptWagesAmt">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Exempt payments</Description>
            <LineNumber>Part 2 Line 4</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="DecimalNNType">
            <xsd:maxInclusive value="+9999999999999.99"/>
            <xsd:totalDigits value="15"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>

      <!-- Category of Exempt Wages -->
      <xsd:element name="ExemptionCategory" type="ExemptionType">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Indicates the types of exemptions</Description>
            <LineNumber>Part 2 Line 4a, 4b, 4c, 4d and 4e</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>

  <!-- Category of Exempt Wages -->
  <xsd:complexType name="ExemptionType">
    <xsd:sequence>
      <!-- Fringe Benefits Exemption Checkbox -->
      <xsd:element name="FringeBenefits" type="CheckboxType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Indicates the exemption was for Fringe Benefits</Description>
            <LineNumber>Part 2 Line 4a</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>

      <!-- Group Term Life Insurance Exemption Checkbox -->
      <xsd:element name="GroupTermLifeIns" type="CheckboxType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Indicates the exemption was for Group Term Life Insurance</Description>
            <LineNumber>Part 2 Line 4b</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>

      <!-- Retirement Pension Exemption Checkbox -->
      <xsd:element name="RetirementPension" type="CheckboxType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Indicates the exemption was for Retirement Pension</Description>
            <LineNumber>Part 2 Line 4c</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>

      <!-- Dependent Care Exemption Checkbox -->
      <xsd:element name="DependentCare" type="CheckboxType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Indicates the exemption was for Dependent Care</Description>
            <LineNumber>Part 2 Line 4d</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>

      <!-- Other Exemption Checkbox -->
      <xsd:element name="OtherExemption" type="CheckboxType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Indicates the exemption was for a category not listed</Description>
            <LineNumber>Part 2 Line 4e</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>

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