Schema Name: IRS940ScheduleA.xsd
Target Namespace: http://www.irs.gov/efile
Documentation:
IRS e-file 94x Schema - Schema for IRS Form 940 Schedule A Release 3.1 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 Schedule A</Description>
      <Version>Release 3.1</Version>
      <ReleaseDate>January 1, 2013</ReleaseDate>
    </xsd:documentation>
  </xsd:annotation>

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

  <xsd:element name="IRS940ScheduleA">
    <xsd:annotation>
      <xsd:documentation>IRS Form 940 Schedule A</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
      <xsd:complexContent>
        <xsd:extension base="IRS940ScheduleAType">
          <xsd:attributeGroup ref="DocumentAttributes"/>
        </xsd:extension>
      </xsd:complexContent>
    </xsd:complexType>
  </xsd:element>

  <xsd:complexType name="IRS940ScheduleAType">
    <xsd:annotation>
      <xsd:documentation>Content model for Form 940 Schedule A</xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
    
      <!-- Name of State -->
      <xsd:element name="MultiStateCode" type="USStateAndTerritoryNonCRType" minOccurs="0" maxOccurs="34">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Two position Postal Code Abbreviation of State or Territory. Use each applicable code only once as a MultiStateCode.</Description>
            <Description>Note - If State or Territory is a Credit Reduction State, include in CreditReductionGroup instead of MultiStateCode.</Description>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      
      <!-- Credit Reduction -->
      <xsd:element name="CreditReductionGroup" type="CreditReductionType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Repeating table rows for Credit Reduction States</Description>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>

  <!-- ================== -->
  <!-- Credit Reduction Type -->
  <!-- ================== -->
  <xsd:complexType name="CreditReductionType">
    <xsd:annotation>
      <xsd:documentation>
        <Description>Columns repeating table rows for credit reduction information</Description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
    
      <!-- Credit Reduction State -->
      <xsd:element name="StateCreditReductionGroup" type="StateCreditReductionType" maxOccurs="19">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Two Position Code for Credit Reduction State</Description>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      
      <!-- Total Credit Reduction Wages -->
      <xsd:element name="TotalCreditReductionWages">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Total Credit Reduction Wages. The amount must be less than or equal to IRS Form 940/940PR TotalTaxableWagesAmt.</Description>
          </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 Credit Reduction Amount -->
      <xsd:element name="TotalCreditReductionAmt">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Total Credit Reduction Amount</Description>
          </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>

  <!-- ================== -->
  <!--State Credit Reduction Type -->
  <!-- ================== -->
  <xsd:complexType name="StateCreditReductionType">
    <xsd:annotation>
      <xsd:documentation>
        <Description>Repeating Group States</Description>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
    
      <!-- Credit Reduction States -->
      <xsd:element name="CreditReductionStateCode">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Two Position Postal Code for Credit Reduction State. Use each applicable State Code only once as a CreditReductionStateCode.</Description>
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="CreditReductionStateType">                 
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>
      
      <!-- Credit Reduction Wages -->
      <xsd:element name="CreditReductionWagesAmt">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Credit Reduction Wages</Description>
          </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>
      
      <!-- Credit Reduction Amount -->
      <xsd:element name="CreditReductionAmt">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Credit Reduction Amount</Description>
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="DecimalNNType">
            <xsd:maxInclusive value="+99999999.99"/>
            <xsd:totalDigits value="10"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
  
</xsd:schema>
Collapse ComplexTypes:
Collapse Elements: