<?xml version="1.0" encoding="ISO-8859-15"?>
<xs:schema xmlns="FEN0052A" targetNamespace="FEN0052A" xmlns:xs="http://www.w3.org/2001/XMLSchema"
  elementFormDefault="qualified" attributeFormDefault="unqualified">
  <xs:element name="FEN0052A" type="FEN0052AType"/>
  <xs:annotation>
  <xs:documentation>Schema XML de l'interface FEN0052A</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="TypeTitreType">
   <xs:restriction base="xs:string">
    <xs:maxLength value="1"/>
   </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="IdType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="6"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="IdTitreType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="40"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="CompCodeType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="4"/>
	</xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="DateType">
    <xs:restriction base="xs:string">
      <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="Texte1Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="25"/>
    </xs:restriction>
  </xs:simpleType>
    <xs:simpleType name="CurrencyType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="5"/>
    </xs:restriction>
  </xs:simpleType>
    <xs:simpleType name="NumDossierType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="30"/>
    </xs:restriction>
  </xs:simpleType>
    <xs:simpleType name="TexteLibType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="60"/>
    </xs:restriction>
  </xs:simpleType>
    <xs:simpleType name="ReferenceType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="16"/>
    </xs:restriction>
  </xs:simpleType>
    <xs:simpleType name="PosteNumType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="3"/>
      <xs:pattern value="[0-9]{3}"/>
    </xs:restriction>
  </xs:simpleType>
    <xs:simpleType name="PosteTexteType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="50"/>
    </xs:restriction>
  </xs:simpleType>
    <xs:simpleType name="ComptType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="6"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="MontantType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="12"/>
      <xs:pattern value="[0-9]{10}[0-9]{2}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="AffectationType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="12"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="CompteType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="10"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="IdFonctTiersType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="80"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="TypeTiersType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="1"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="GrComptesType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="4"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="CmmtItemType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="24"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="PmnttrmsType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="4"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="FundType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="10"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="PymtMethType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="1"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="CostCenterType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="10"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ProfitCtrType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="10"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="FundsCtrType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="16"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="FuncAreaType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="16"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ActiviteType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="24"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="TaxCodeType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="2"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="WbsElemEType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="24"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NatureMinistType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="11"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="LocalMinistType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="22"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="LocalInterMinistType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="8"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="CperType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="15"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="PresageType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="15"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Axe1Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="22"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Texte2Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="10000"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="EmailType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="50"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="FaxNrType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="25"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="TelNrType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="25"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="CountryType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="2"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="CityType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="35"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="CPType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="10"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NomRueType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="30"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NumRueType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="6"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ContactType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="70"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="ServiceType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="40"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="QualRespType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="40"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="PrenomRespType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="40"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NomRespType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="40"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="CodeLibType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="2"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="TypeFluxType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="1"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="TfoncType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="24"/>
    </xs:restriction>
  </xs:simpleType>
    <xs:simpleType name="PaysType">
    <xs:restriction base="xs:string">
      <xs:maxLength value="14"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="EnteteType">
    <xs:sequence>
      <xs:element name="TYPE_TITRE" type="TypeTitreType" nillable="false"/>
      <xs:element name="ID_AMG" type="IdType" nillable="false"/>
      <xs:element name="ID_TITRE_AMG" type="IdTitreType" nillable="false"/>
      <xs:element name="COMP_CODE" type="CompCodeType" nillable="false"/>
      <xs:element name="DOC_DATE" type="DateType" minOccurs="0" nillable="true"/>
      <xs:element name="TEXTE1" type="Texte1Type" minOccurs="0" nillable="true"/>
      <xs:element name="CURRENCY" type="CurrencyType" nillable="false"/>
      <xs:element name="NUM_DOSSIER" type="NumDossierType" minOccurs="0" nillable="true"/>
      <xs:element name="TEXTE_LIB" type="TexteLibType" minOccurs="0" nillable="true"/>
      <xs:element name="REFERENCE" type="ReferenceType" nillable="false"/>
      <xs:element name="NUM_FACT" type="IdTitreType" minOccurs="0" nillable="true"/>
      <xs:element name="TYPE_FLUX" type="TypeFluxType" minOccurs="0" nillable="true"/>
      <xs:element name="CODE_LIB" type="CodeLibType" minOccurs="0" nillable="true"/>
      <xs:element name="CODE_PAYS_OSD" type="PaysType" minOccurs="0" nillable="true"/>
    </xs:sequence>
  </xs:complexType>
    <xs:complexType name="ResponsableType">
    <xs:sequence>
      <xs:element name="TYPE_TITRE" type="TypeTitreType" nillable="false"/>
      <xs:element name="ID_AMG" type="IdType" nillable="false"/>
      <xs:element name="ID_TITRE_AMG" type="IdTitreType" nillable="false"/>
      <xs:element name="NOM_RESP" type="NomRespType" minOccurs="0" nillable="true"/>
      <xs:element name="PRENOM_RESP" type="PrenomRespType" minOccurs="0" nillable="true"/>
      <xs:element name="QUAL_RESP" type="QualRespType" minOccurs="0" nillable="true"/>
      <xs:element name="SERVICE" type="ServiceType" minOccurs="0" nillable="true"/>
      <xs:element name="CONTACT" type="ContactType" minOccurs="0" nillable="true"/>
      <xs:element name="NUM_RUE" type="NumRueType" minOccurs="0" nillable="true"/>
      <xs:element name="NOM_RUE" type="NomRueType" minOccurs="0" nillable="true"/>
      <xs:element name="CP" type="CPType" minOccurs="0" nillable="true"/>
      <xs:element name="CITY" type="CityType" minOccurs="0" nillable="true"/>
      <xs:element name="COUNTRY" type="CountryType" minOccurs="0" nillable="true"/>
      <xs:element name="TELNR" type="TelNrType" minOccurs="0" nillable="true"/>
      <xs:element name="FAXNR" type="FaxNrType" minOccurs="0" nillable="true"/>
      <xs:element name="EMAIL" type="EmailType" minOccurs="0" nillable="true"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PosteType">
    <xs:sequence>
      <xs:element name="TYPE_TITRE" type="TypeTitreType" nillable="false"/>
      <xs:element name="ID_AMG" type="IdType" nillable="false"/>
      <xs:element name="ID_TITRE_AMG" type="IdTitreType" nillable="false"/>
      <xs:element name="POSTE" type="PosteNumType" nillable="false"/>
      <xs:element name="POSTE_TEXTE" type="PosteTexteType" minOccurs="0" nillable="true"/>
      <xs:element name="COMPT" type="ComptType" nillable="false"/>
      <xs:element name="MONTANT" type="MontantType" nillable="false"/>
      <xs:element name="AFFECTATION" type="AffectationType" nillable="false"/>
      <xs:element name="COMPTE_GENE" type="CompteType" nillable="false"/>
      <xs:element name="ID_FONCT_TIERS" type="IdFonctTiersType" nillable="false"/>
      <xs:element name="TYPE_TIERS" type="TypeTiersType" nillable="false"/>
      <xs:element name="GR_COMPTES" type="GrComptesType" nillable="false"/>
      <xs:element name="CMMT_ITEM" type="CmmtItemType" nillable="false"/>
      <xs:element name="PMNTTRMS" type="PmnttrmsType" minOccurs="0" nillable="true"/>
      <xs:element name="FUND" type="FundType" minOccurs="0" nillable="true"/>
      <xs:element name="PYMT_METH" type="PymtMethType" minOccurs="0" nillable="true"/>
      <xs:element name="ID_FONCT_COMPT" type="IdFonctTiersType" minOccurs="0" nillable="true"/>
      <xs:element name="COST_CENTER" type="CostCenterType" minOccurs="0" nillable="true"/>
      <xs:element name="PROFIT_CTR" type="ProfitCtrType" nillable="false"/>
      <xs:element name="FUNDS_CTR" type="FundsCtrType" nillable="false"/>
      <xs:element name="FUNC_AREA" type="FuncAreaType" minOccurs="0" nillable="true"/>
      <xs:element name="ACTIVITE" type="ActiviteType" minOccurs="0" nillable="true"/>
      <xs:element name="TAX_CODE" type="TaxCodeType" minOccurs="0" nillable="true"/>
      <xs:element name="WBS_ELEM_E" type="WbsElemEType" minOccurs="0" nillable="true"/>
      <xs:element name="NATURE_MINIST" type="NatureMinistType" minOccurs="0" nillable="true"/>
      <xs:element name="LOCAL_MINIST" type="LocalMinistType" minOccurs="0" nillable="true"/>
      <xs:element name="LOCAL_INTER_MINIST" type="LocalInterMinistType" minOccurs="0" nillable="true"/>
      <xs:element name="CPER" type="CperType" minOccurs="0" nillable="true"/>
      <xs:element name="PRESAGE" type="PresageType" minOccurs="0" nillable="true"/>
      <xs:element name="AXE1" type="Axe1Type" minOccurs="0" nillable="true"/>
      <xs:element name="TRC_FONC" type="TfoncType" minOccurs="0" nillable="true"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TexteType">
    <xs:sequence>
      <xs:element name="TYPE_TITRE" type="TypeTitreType" nillable="false"/>
      <xs:element name="ID_AMG" type="IdType" nillable="false"/>
      <xs:element name="ID_TITRE_AMG" type="IdTitreType" nillable="false"/>
      <xs:element name="TEXTE" type="Texte2Type" nillable="false"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="FactureType">
    <xs:sequence>
      <xs:element name="ENTETE" type="EnteteType"/>
	  <xs:element name="RESPONSABLE" type="ResponsableType" minOccurs="0" maxOccurs="1"/>
      <xs:element name="POSTE" type="PosteType" maxOccurs="unbounded"/>
      <xs:element name="TEXTE" type="TexteType"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="FEN0052AType">
    <xs:sequence>
      <xs:element name="FACTURE" type="FactureType" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:schema>
































