<?xml version="1.0" encoding="ISO-8859-15"?>
<xs:schema xmlns="FEN0067A" targetNamespace="FEN0067A" xmlns:xs="http://www.w3.org/2001/XMLSchema"
  elementFormDefault="qualified" attributeFormDefault="unqualified">
  <xs:element name="FEN0067A" type="FEN0067AType"/>
  <xs:annotation>
  <xs:documentation>Schema XML de l'interface FEN0067A v1.4 du 15/10/2009</xs:documentation>
  </xs:annotation>
  <xs:annotation>
  <xs:documentation>Creation des types simples i.e. des formats des champs</xs:documentation>
  </xs:annotation>
  <xs:simpleType name="Char1Type">   <xs:restriction base="xs:token"> <xs:maxLength value="1"/>   </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char2Type">   <xs:restriction base="xs:token"> <xs:maxLength value="2"/>   </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char3Type">   <xs:restriction base="xs:token"> <xs:maxLength value="3"/>   </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char4Type">   <xs:restriction base="xs:token"> <xs:maxLength value="4"/>   </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char5Type">   <xs:restriction base="xs:token"> <xs:maxLength value="5"/>   </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char6Type">   <xs:restriction base="xs:token"> <xs:maxLength value="6"/>   </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char8Type">   <xs:restriction base="xs:token"> <xs:maxLength value="8"/>   </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char10Type">  <xs:restriction base="xs:token"> <xs:maxLength value="10"/>  </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char11Type">  <xs:restriction base="xs:token"> <xs:maxLength value="11"/>  </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char12Type">  <xs:restriction base="xs:token"> <xs:maxLength value="12"/>  </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char14Type">  <xs:restriction base="xs:token"> <xs:maxLength value="14"/>  </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char15Type">  <xs:restriction base="xs:token"> <xs:maxLength value="15"/>  </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char16Type">  <xs:restriction base="xs:token"> <xs:maxLength value="16"/>  </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char18Type">  <xs:restriction base="xs:token"> <xs:maxLength value="18"/>  </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char20Type">  <xs:restriction base="xs:token"> <xs:maxLength value="20"/>  </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char22Type">  <xs:restriction base="xs:token"> <xs:maxLength value="22"/>  </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char24Type">  <xs:restriction base="xs:token"> <xs:maxLength value="24"/>  </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char30Type">  <xs:restriction base="xs:token"> <xs:maxLength value="30"/>  </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char35Type">  <xs:restriction base="xs:token"> <xs:maxLength value="35"/>  </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char40Type">  <xs:restriction base="xs:token"> <xs:maxLength value="40"/>  </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char80Type">  <xs:restriction base="xs:token"> <xs:maxLength value="80"/>  </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char132Type"> <xs:restriction base="xs:token"> <xs:maxLength value="132"/> </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char250Type"> <xs:restriction base="xs:token"> <xs:maxLength value="250"/> </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Char500Type"> <xs:restriction base="xs:token"> <xs:maxLength value="500"/> </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Date15Type">  <xs:restriction base="xs:token"> <xs:maxLength value="15"/>  <xs:pattern value="(\d\d\d\d)(0[1-9]|1[012])(0[1-9]|1[0-9]|2[0-9]|3[01]) (\d\d\d\d\d\d)"/> </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Date8Type">   <xs:restriction base="xs:token"> <xs:maxLength value="8"/>   <xs:pattern value="(\d\d\d\d)(0[1-9]|1[012])(0[1-9]|1[0-9]|2[0-9]|3[01])"/> </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Heure6Type">  <xs:restriction base="xs:token"> <xs:maxLength value="6"/>   <xs:pattern value="(\d\d\d\d\d\d)"/> </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Num3.2Type">  <xs:restriction base="xs:token"> <xs:maxLength value="6"/>   <xs:pattern value=       "[0-9]{1,3}([.][0-9]{1,2})?"  /> </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Num4Type">    <xs:restriction base="xs:token"> <xs:maxLength value="4"/>   <xs:pattern value=       "[0-9]{1,4}"                  /> </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Num4.5Type">  <xs:restriction base="xs:token"> <xs:maxLength value="10"/>  <xs:pattern value=       "[0-9]{1,4}([.][0-9]{1,5})?"  /> </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Num5Type">    <xs:restriction base="xs:token"> <xs:maxLength value="5"/>   <xs:pattern value=       "[0-9]{1,5}"                    /> </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Num9.2Type">  <xs:restriction base="xs:token"> <xs:maxLength value="13"/>  <xs:pattern value=       "[0-9]{1,9}([.][0-9]{1,2})?"  /> </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Num10Type">   <xs:restriction base="xs:token"> <xs:maxLength value="10"/>  <xs:pattern value=       "[0-9]{1,10}"                 /> </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Num10.3sType"><xs:restriction base="xs:token"> <xs:maxLength value="15"/>  <xs:pattern value="(\+|-)?[0-9]{1,10}([.][0-9]{1,3})?"/> </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Num11.2sType"><xs:restriction base="xs:token"> <xs:maxLength value="15"/>  <xs:pattern value="(\+|-)?[0-9]{1,11}([.][0-9]{1,2})?"/> </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Num13.2Type"> <xs:restriction base="xs:token"> <xs:maxLength value="17"/>  <xs:pattern value=       "[0-9]{1,13}([.][0-9]{1,2})?" /> </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Num13.2sType"><xs:restriction base="xs:token"> <xs:maxLength value="17"/>  <xs:pattern value="(\+|-)?[0-9]{1,13}([.][0-9]{1,2})?"/> </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Num14Type">   <xs:restriction base="xs:token"> <xs:maxLength value="14"/>  <xs:pattern value=       "[0-9]{1,14}"                 /> </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Num15Type">   <xs:restriction base="xs:token"> <xs:maxLength value="15"/>  <xs:pattern value=       "[0-9]{1,15}"                 /> </xs:restriction> </xs:simpleType>
  <xs:simpleType name="Num19.4sType"><xs:restriction base="xs:token"> <xs:maxLength value="25"/>  <xs:pattern value="(\+|-)?[0-9]{1,19}([.][0-9]{1,4})?"/> </xs:restriction> </xs:simpleType>
  <xs:complexType name="EnteteType">
    <xs:sequence>
      <xs:element name="ID_AE" type="Char12Type"  nillable="false"/>
      <xs:element name="CODE_APPLI" type="Char6Type"  nillable="false"/>
      <xs:element name="DESCRIPTION" type="Char40Type" minOccurs="0" nillable="true"/>
      <xs:element name="DOC_DATE" type="Date8Type"  nillable="false"/>
      <xs:element name="INITIATEUR" type="Char12Type"  nillable="false"/>
      <xs:element name="CURRENCY" type="Char5Type"  minOccurs="0" nillable="true"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PosteType">
    <xs:sequence>
      <xs:element name="ID_AE" type="Char12Type"  nillable="false"/>
      <xs:element name="ID_LIG" type="Num5Type"  nillable="false"/>
      <xs:element name="DESCRIPTION" type="Char40Type" minOccurs="0" nillable="true"/>
      <xs:element name="PARTNER_PROD" type="Char40Type" minOccurs="0" nillable="true"/>
      <xs:element name="CATEGORY_ID" type="Char20Type" minOccurs="0" nillable="true"/>
      <xs:element name="TYPE_ID_FONC" type="Char30Type" minOccurs="0" nillable="true"/>
      <xs:element name="ID_FONC_PROD" type="Char30Type" minOccurs="0" nillable="true"/>
      <xs:element name="ID_CHORUS_PROD" type="Char18Type" minOccurs="0" nillable="true"/>
      <xs:element name="QUANTITY" type="Num10.3sType"  nillable="false"/>
      <xs:element name="UNIT" type="Char3Type" minOccurs="0" nillable="true"/>
      <xs:element name="GROSS_PRICE" type="Num19.4sType"  minOccurs="0" nillable="true"/>
      <xs:element name="UNIT_PRICE" type="Num5Type"  minOccurs="0" nillable="true"/>
      <xs:element name="TAX_CODE" type="Char2Type" minOccurs="0" nillable="true"/>
      <xs:element name="DELIV_DATE" type="Date8Type"  nillable="false"/>
      <xs:element name="CTR_NUMBER" type="Char10Type" minOccurs="0" nillable="true"/>
      <xs:element name="CTR_ITEM_NUMBER" type="Num10Type" minOccurs="0" nillable="true"/>
      <xs:element name="STGE_LOC" type="Char4Type" minOccurs="0" nillable="true"/>
      <xs:element name="BE_PLANT" type="Char4Type"  nillable="false"/>
      <xs:element name="BE_PUR_GROUP" type="Char3Type"  nillable="false"/>
      <xs:element name="PRICE" type="Num11.2sType"  minOccurs="0" nillable="true"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ImputationType">
    <xs:sequence>
      <xs:element name="ID_AE" type="Char12Type"  nillable="false"/>
      <xs:element name="ID_LIG" type="Num5Type"  nillable="false"/>
      <xs:element name="ACC_CAT" type="Char5Type"  nillable="false"/>
      <xs:element name="GL_ACCT" type="Char10Type" minOccurs="0" nillable="true"/>
      <xs:element name="BUS_AREA" type="Char4Type" minOccurs="0" nillable="true"/>
      <xs:element name="COST_CTR" type="Char10Type" minOccurs="0" nillable="true"/>
      <xs:element name="ASSET_NO" type="Char12Type" minOccurs="0" nillable="true"/>
      <xs:element name="SUB_NUMBER" type="Char4Type" minOccurs="0" nillable="true"/>
      <xs:element name="WBS_ELEM" type="Char24Type" minOccurs="0" nillable="true"/>
      <xs:element name="CMMT_ITEM" type="Char14Type" minOccurs="0" nillable="true"/>
      <xs:element name="FUNDS_CTR" type="Char16Type" minOccurs="0" nillable="true"/>
      <xs:element name="FUND" type="Char10Type" minOccurs="0" nillable="true"/>
      <xs:element name="FUNC_AREA" type="Char16Type" minOccurs="0" nillable="true"/>
      <xs:element name="ACTIVITY" type="Char24Type" minOccurs="0" nillable="true"/>
      <xs:element name="TRC_FONC" type="Char24Type" minOccurs="0" nillable="true"/>
      <xs:element name="LOC_INT" type="Char8Type" minOccurs="0" nillable="true"/>
      <xs:element name="ANA_MIN" type="Char22Type" minOccurs="0" nillable="true"/>
      <xs:element name="LOC_MIN" type="Char22Type" minOccurs="0" nillable="true"/>
      <xs:element name="NAT_MIN" type="Char11Type" minOccurs="0" nillable="true"/>
      <xs:element name="CPER" type="Char15Type" minOccurs="0" nillable="true"/>
      <xs:element name="PRESAGE" type="Char15Type" minOccurs="0" nillable="true"/>
      <xs:element name="AXMIN1" type="Char22Type" minOccurs="0" nillable="true"/>
      <xs:element name="AXMIN2" type="Char22Type" minOccurs="0" nillable="true"/>
      <xs:element name="RES_DOC" type="Char10Type" minOccurs="0" nillable="true"/>
      <xs:element name="RES_ITEM" type="Char3Type" minOccurs="0" nillable="true"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PartenaireType">
    <xs:sequence>
      <xs:element name="ID_AE" type="Char12Type"  nillable="false"/>
      <xs:element name="ID_LIG" type="Num5Type" minOccurs="0" nillable="false"/>
      <xs:element name="PARTNER_FCT" type="Char8Type"  nillable="false"/>
      <xs:element name="PARTNER_TYP" type="Char4Type" minOccurs="0" nillable="true"/>
      <xs:element name="ID_FONC_PARTNER" type="Char80Type" minOccurs="0" nillable="true"/>
      <xs:element name="ID_CHORUS_PARTNER" type="Char10Type" minOccurs="0" nillable="true"/>
      <xs:element name="ADDR_TYPE" type="Char1Type"  nillable="false"/>
      <xs:element name="ADDR_ORIGIN" type="Char1Type"  nillable="false"/>
      <xs:element name="BUILDING" type="Char10Type" minOccurs="0" nillable="true"/>
      <xs:element name="FLOOR" type="Char10Type" minOccurs="0" nillable="true"/>
      <xs:element name="ROOM_NO" type="Char10Type" minOccurs="0" nillable="true"/>
      <xs:element name="NAME" type="Char35Type" minOccurs="0" nillable="true"/>
      <xs:element name="CITY" type="Char35Type" minOccurs="0" nillable="true"/>
      <xs:element name="POSTL_COD" type="Char10Type" minOccurs="0" nillable="true"/>
      <xs:element name="STREET" type="Char35Type" minOccurs="0" nillable="true"/>
      <xs:element name="HOUSE_NO" type="Char10Type" minOccurs="0" nillable="true"/>
      <xs:element name="COUNTRY" type="Char3Type" minOccurs="0" nillable="true"/>
      <xs:element name="TEL_NUMBR" type="Char30Type" minOccurs="0" nillable="true"/>
      <xs:element name="FAX_NUMBER" type="Char30Type" minOccurs="0" nillable="true"/>
      <xs:element name="E_MAIL" type="Char30Type" minOccurs="0" nillable="true"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TexteType">
    <xs:sequence>
      <xs:element name="ID_AE" type="Char12Type"  nillable="false"/>
      <xs:element name="ID_LIG" type="Num5Type" nillable="false"/>
      <xs:element name="TEXT_ID" type="Char4Type" nillable="false"/>
      <xs:element name="TEXT_LINE" type="Char132Type" minOccurs="0" nillable="true"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DossierType">
    <xs:sequence>
      <xs:element name="ENTETE" type="EnteteType"/>
      <xs:element name="POSTE" type="PosteType" maxOccurs="unbounded"/>
      <xs:element name="IMPUTATION" type="ImputationType"  maxOccurs="unbounded"/>
      <xs:element name="PARTENAIRE" type="PartenaireType"  maxOccurs="unbounded"/>
      <xs:element name="TEXTE" type="TexteType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="FEN0067AType">
    <xs:sequence>
      <xs:element name="DA" type="DossierType" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:schema>



