<?xml version="1.0"?>
<!DOCTYPE hbci
[
<!ELEMENT hbci (DEGs,SEGs,SFs,MSGs)>

<!ELEMENT DEGs    (DEGdef)*>
<!ELEMENT SEGs    (SEGdef)*>
<!ELEMENT SFs     (SFdef)*>
<!ELEMENT MSGs    (MSGdef)*>

<!ELEMENT DEGdef ((DE | DEG)+,valids*,value*)>
<!ATTLIST DEGdef
  id ID #REQUIRED
  needsRequestTag (1) #IMPLIED
>

<!ELEMENT SEGdef ((DEG | DE)+,valids*,value*)>
<!ATTLIST SEGdef
  id ID #REQUIRED
  needsRequestTag (1) #IMPLIED
>

<!ELEMENT SFdef (SEG | SF)*>
<!ATTLIST SFdef
  id ID #REQUIRED
  needsRequestTag (1) #IMPLIED
>

<!ELEMENT MSGdef ((SEG | SF)+,valids*,value*)>
<!ATTLIST MSGdef
  id ID #REQUIRED
  dontsign (1) #IMPLIED
  dontcrypt (1) #IMPLIED
>

<!ELEMENT DE EMPTY>
<!ATTLIST DE
  name CDATA #REQUIRED
  type (AN | Bin | Code | Ctr | Cur | DTAUS | Date | Dig | ID | JN | Num | Time | Wrt) #REQUIRED
  minsize CDATA #IMPLIED
  maxsize CDATA #IMPLIED
  minnum CDATA "1"
  maxnum CDATA "1"
>

<!ELEMENT DEG EMPTY>
<!ATTLIST DEG
  type IDREF #REQUIRED
  name CDATA #IMPLIED
  minnum CDATA "1"
  maxnum CDATA "1"
>

<!ELEMENT SEG EMPTY>
<!ATTLIST SEG
  type IDREF #REQUIRED
  name CDATA #IMPLIED
  minnum CDATA "1"
  maxnum CDATA "1"
>

<!ELEMENT SF EMPTY>
<!ATTLIST SF
  type IDREF #REQUIRED
  name CDATA #IMPLIED
  minnum CDATA "1"
  maxnum CDATA "1"
>

<!ELEMENT valids (validvalue)+>
<!ATTLIST valids
  path CDATA #REQUIRED
>

<!ELEMENT validvalue (#PCDATA)>

<!ELEMENT value (#PCDATA)>
<!ATTLIST value
  path CDATA #REQUIRED
>

<!ENTITY MsgSigHeadInst
  '<SEG type="MsgHeadInst" name="MsgHead"/>
   <SEG type="SigHeadInst" name="SigHead" minnum="0"/>'
>

<!ENTITY MsgSigTailInst
  '<SEG type="SigTailInst" name="SigTail" minnum="0"/>
   <SEG type="MsgTailInst" name="MsgTail"/>'
>

<!ENTITY MsgSigHeadUser
  '<SEG type="MsgHeadUser" name="MsgHead"/>
   <SEG type="SigHeadUser" name="SigHead" minnum="0" maxnum="3"/>'
>

<!ENTITY MsgSigTailUser
  '<SEG type="SigTailUser" name="SigTail" minnum="0" maxnum="3"/>
   <SEG type="MsgTailUser" name="MsgTail"/>'
>

<!-- end of administrative entities -->

<!ENTITY GVP
  '<!-- 2.01 -->
   <DEG type="SegHeadInst" name="SegHead"/>
   <DE name="maxnum" type="Num" maxsize="3"/>
   <DE name="minsigs" type="Num" maxsize="1"/>'
>
<!ENTITY GVP2
  '<!-- 3.0 -->
   <DEG type="SegHeadInst" name="SegHead"/>
   <DE name="maxnum" type="Num" maxsize="3"/>
   <DE name="minsigs" type="Num" maxsize="1"/>
   <DE name="secclass" type="Code" maxsize="1"/>'
>
<!ENTITY SecClassValids
  '<valids path="secclass">
       <validvalue>0</validvalue>
       <validvalue>1</validvalue>
       <validvalue>2</validvalue>
       <validvalue>3</validvalue>
       <validvalue>4</validvalue>
   </valids>'
>
<!ENTITY SingleInlandInst1
  '<!-- 2.01 -->
   <DEG type="SegHeadInst" name="SegHead"/>
   <DEG type="KTO" name="My"/>
   <DEG type="KTO" name="Other"/>
   <DE name="name" type="DTAUS" maxsize="27"/>
   <DE name="name2" type="DTAUS" maxsize="27" minnum="0"/>
   <DEG type="BTG"/>
   <DE name="key" type="Dig" minsize="2" maxsize="2"/>
   <DE name="addkey" type="Dig" minsize="3" maxsize="3" minnum="0"/>
   <DEG type="usage1" name="usage" minnum="0"/>
   <DE name="date" type="Date" minnum="0"/>
   <DE name="id" type="AN" maxsize="99" minnum="0"/>'
>
<!ENTITY SingleInlandUser1
  '<!-- 2.01 -->
   <DEG type="SegHeadUser" name="SegHead"/>
   <DEG type="KTO" name="My"/>
   <DEG type="KTO" name="Other"/>
   <DE name="name" type="DTAUS" maxsize="27"/>
   <DE name="name2" type="DTAUS" maxsize="27" minnum="0"/>
   <DEG type="BTG"/>
   <DE name="key" type="Dig" minsize="2" maxsize="2"/>
   <DE name="addkey" type="Dig" minsize="3" maxsize="3" minnum="0"/>
   <DEG type="usage1" name="usage" minnum="0"/>
   <DE name="date" type="Date" minnum="0"/>
   <DE name="id" type="AN" maxsize="99" minnum="0"/>'
>

<!ENTITY SingleInlandInst2
  '<!-- 2.1 -->
   <DEG type="SegHeadInst" name="SegHead"/>
   <DEG type="KTO" name="My"/>
   <DEG type="KTO" name="Other"/>
   <DE name="name" type="DTAUS" maxsize="27"/>
   <DE name="name2" type="DTAUS" maxsize="27" minnum="0"/>
   <DEG type="BTG"/>
   <DE name="key" type="Dig" minsize="2" maxsize="2"/>
   <DE name="addkey" type="Dig" minsize="3" maxsize="3" minnum="0"/>
   <DEG type="usage2" name="usage" minnum="0"/>
   <DE name="date" type="Date" minnum="0"/>
   <DE name="id" type="AN" maxsize="99" minnum="0"/>'
>
<!ENTITY SingleInlandUser2
  '<!-- 2.1 -->
   <DEG type="SegHeadUser" name="SegHead"/>
   <DEG type="KTO" name="My"/>
   <DEG type="KTO" name="Other"/>
   <DE name="name" type="DTAUS" maxsize="27"/>
   <DE name="name2" type="DTAUS" maxsize="27" minnum="0"/>
   <DEG type="BTG"/>
   <DE name="key" type="Dig" minsize="2" maxsize="2"/>
   <DE name="addkey" type="Dig" minsize="3" maxsize="3" minnum="0"/>
   <DEG type="usage2" name="usage" minnum="0"/>
   <DE name="date" type="Date" minnum="0"/>
   <DE name="id" type="AN" maxsize="99" minnum="0"/>'
>

<!ENTITY SingleInlandInst3
  '<!-- 2.2 -->
   <DEG type="SegHeadInst" name="SegHead"/>
   <DEG type="KTV2" name="My"/>
   <DEG type="KTV2" name="Other"/>
   <DE name="name" type="DTAUS" maxsize="27"/>
   <DE name="name2" type="DTAUS" maxsize="27" minnum="0"/>
   <DEG type="BTG"/>
   <DE name="key" type="Dig" minsize="2" maxsize="2"/>
   <DE name="addkey" type="Dig" minsize="3" maxsize="3" minnum="0"/>
   <DEG type="usage3" name="usage" minnum="0"/>
   <DE name="date" type="Date" minnum="0"/>
   <DE name="id" type="AN" maxsize="99" minnum="0"/>'
>
<!ENTITY SingleInlandUser3
  '<!-- 2.2 -->
   <DEG type="SegHeadUser" name="SegHead"/>
   <DEG type="KTV2" name="My"/>
   <DEG type="KTV2" name="Other"/>
   <DE name="name" type="DTAUS" maxsize="27"/>
   <DE name="name2" type="DTAUS" maxsize="27" minnum="0"/>
   <DEG type="BTG"/>
   <DE name="key" type="Dig" minsize="2" maxsize="2"/>
   <DE name="addkey" type="Dig" minsize="3" maxsize="3" minnum="0"/>
   <DEG type="usage3" name="usage" minnum="0"/>
   <DE name="date" type="Date" minnum="0"/>
   <DE name="id" type="AN" maxsize="99" minnum="0"/>'
>

<!ENTITY SingleInlandInst4
  '<!-- 3.0 -->
   <DEG type="SegHeadInst" name="SegHead"/>
   <DEG type="KTV3" name="My"/>
   <DEG type="KTV3" name="Other"/>
   <DE name="name" type="DTAUS" maxsize="27"/>
   <DE name="name2" type="DTAUS" maxsize="27" minnum="0"/>
   <DEG type="BTG"/>
   <DE name="key" type="Dig" minsize="2" maxsize="2"/>
   <DE name="addkey" type="Dig" minsize="3" maxsize="3" minnum="0"/>
   <DEG type="usage3" name="usage" minnum="0"/>
   <DE name="date" type="Date" minnum="0"/>
   <DE name="id" type="AN" maxsize="99" minnum="0"/>
   <DE name="status" type="Code" maxsize="1" minnum="0"/>'
>
<!ENTITY SingleInlandUser4
  '<!-- 3.0 -->
   <DEG type="SegHeadUser" name="SegHead"/>
   <DEG type="KTV3" name="My"/>
   <DEG type="KTV3" name="Other"/>
   <DE name="name" type="DTAUS" maxsize="27"/>
   <DE name="name2" type="DTAUS" maxsize="27" minnum="0"/>
   <DEG type="BTG"/>
   <DE name="key" type="Dig" minsize="2" maxsize="2"/>
   <DE name="addkey" type="Dig" minsize="3" maxsize="3" minnum="0"/>
   <DEG type="usage3" name="usage" minnum="0"/>
   <DE name="date" type="Date" minnum="0"/>
   <DE name="id" type="AN" maxsize="99" minnum="0"/>'
>

<!ENTITY DauerInst1
  '<!-- 2.01 -->
   <DEG type="SegHeadInst" name="SegHead"/>
   <DEG type="KTO" name="My"/>
   <DEG type="KTO" name="Other"/>
   <DE name="name" type="AN" maxsize="27"/>
   <DE name="name2" type="AN" maxsize="27" minnum="0"/>
   <DEG type="BTG"/>
   <DE name="key" type="Dig" minsize="2" maxsize="2"/>
   <DE name="addkey" type="Dig" minsize="3" maxsize="3" minnum="0"/>
   <DEG type="usage1" name="usage" minnum="0"/>
   <DE name="date" type="Date" minnum="0"/>
   <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
   <DEG type="DauerDetails"/>
   <DEG type="Aussetzung1" name="Aussetzung" minnum="0"/>'
>
<!ENTITY DauerUser1
  '<!-- 2.01 -->
   <DEG type="SegHeadUser" name="SegHead"/>
   <DEG type="KTO" name="My"/>
   <DEG type="KTO" name="Other"/>
   <DE name="name" type="AN" maxsize="27"/>
   <DE name="name2" type="AN" maxsize="27" minnum="0"/>
   <DEG type="BTG"/>
   <DE name="key" type="Dig" minsize="2" maxsize="2"/>
   <DE name="addkey" type="Dig" minsize="3" maxsize="3" minnum="0"/>
   <DEG type="usage1" name="usage" minnum="0"/>
   <DE name="date" type="Date" minnum="0"/>
   <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
   <DEG type="DauerDetails"/>
   <DEG type="Aussetzung1" name="Aussetzung" minnum="0"/>'
>

<!ENTITY DauerInst2
  '<!-- 2.1 -->
   <DEG type="SegHeadInst" name="SegHead"/>
   <DEG type="KTO" name="My"/>
   <DEG type="KTO" name="Other"/>
   <DE name="name" type="DTAUS" maxsize="27"/>
   <DE name="name2" type="DTAUS" maxsize="27" minnum="0"/>
   <DEG type="BTG"/>
   <DE name="key" type="Dig" minsize="2" maxsize="2"/>
   <DE name="addkey" type="Dig" minsize="3" maxsize="3" minnum="0"/>
   <DEG type="usage2" name="usage" minnum="0"/>
   <DE name="date" type="Date" minnum="0"/>
   <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
   <DEG type="DauerDetails"/>
   <DEG type="Aussetzung2" name="Aussetzung" minnum="0"/>'
>
<!ENTITY DauerUser2
  '<!-- 2.1 -->
   <DEG type="SegHeadUser" name="SegHead"/>
   <DEG type="KTO" name="My"/>
   <DEG type="KTO" name="Other"/>
   <DE name="name" type="DTAUS" maxsize="27"/>
   <DE name="name2" type="DTAUS" maxsize="27" minnum="0"/>
   <DEG type="BTG"/>
   <DE name="key" type="Dig" minsize="2" maxsize="2"/>
   <DE name="addkey" type="Dig" minsize="3" maxsize="3" minnum="0"/>
   <DEG type="usage2" name="usage" minnum="0"/>
   <DE name="date" type="Date" minnum="0"/>
   <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
   <DEG type="DauerDetails"/>
   <DEG type="Aussetzung2" name="Aussetzung" minnum="0"/>'
>

<!ENTITY DauerInst3
  '<!-- 2.2 -->
   <DEG type="SegHeadInst" name="SegHead"/>
   <DEG type="KTV2" name="My"/>
   <DEG type="KTV2" name="Other"/>
   <DE name="name" type="DTAUS" maxsize="27"/>
   <DE name="name2" type="DTAUS" maxsize="27" minnum="0"/>
   <DEG type="BTG"/>
   <DE name="key" type="Dig" minsize="2" maxsize="2"/>
   <DE name="addkey" type="Dig" minsize="3" maxsize="3" minnum="0"/>
   <DEG type="usage3" name="usage" minnum="0"/>
   <DE name="date" type="Date" minnum="0"/>
   <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
   <DEG type="DauerDetails"/>
   <DEG type="Aussetzung2" name="Aussetzung" minnum="0"/>'
>
<!ENTITY DauerUser3
  '<!-- 2.2 -->
   <DEG type="SegHeadUser" name="SegHead"/>
   <DEG type="KTV2" name="My"/>
   <DEG type="KTV2" name="Other"/>
   <DE name="name" type="DTAUS" maxsize="27"/>
   <DE name="name2" type="DTAUS" maxsize="27" minnum="0"/>
   <DEG type="BTG"/>
   <DE name="key" type="Dig" minsize="2" maxsize="2"/>
   <DE name="addkey" type="Dig" minsize="3" maxsize="3" minnum="0"/>
   <DEG type="usage3" name="usage" minnum="0"/>
   <DE name="date" type="Date" minnum="0"/>
   <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
   <DEG type="DauerDetails"/>
   <DEG type="Aussetzung2" name="Aussetzung" minnum="0"/>'
>

<!ENTITY FestgeldInst1
  '<!-- 2.01 -->
   <DEG type="SegHeadInst" name="SegHead"/>
   <DEG type="KTO" name="Anlagekto" minnum="0"/>
   <DE name="kontakt" type="ID" minnum="0"/>
   <DEG type="BTG" name="Anlagebetrag"/>
   <DEG type="FestCond1" name="FestCond"/>
   <DEG type="KTO" name="Belastungskto"/>
   <DE name="eigenerechnung" type="JN"/>
   <DE name="wiederanlage" type="Num" maxsize="1"/>
   <DE name="kontoauszug" type="Num" maxsize="1" minnum="0"/>
   <DEG type="KTO" name="Ausbuchungskto" minnum="0"/>
   <DEG type="KTO" name="Zinskto" minnum="0"/>
   <DEG type="FestCondVersion" minnum="0"/>
   <DEG type="BTG" name="Zinsbetrag" minnum="0"/>
   <DE name="status" type="Num" maxsize="1" minnum="0"/>
   <DEG type="Prolong" minnum="0"/> 
   
   <valids path="wiederanlage">
       <validvalue>1</validvalue>
       <validvalue>2</validvalue>
   </valids>
   <valids path="kontoauszug">
       <validvalue>1</validvalue>
       <validvalue>2</validvalue>
   </valids>'
>
<!ENTITY FestgeldUser1
  '<!-- 2.01 -->
   <DEG type="SegHeadUser" name="SegHead"/>
   <DEG type="KTO" name="Anlagekto" minnum="0"/>
   <DE name="kontakt" type="ID" minnum="0"/>
   <DEG type="BTG" name="Anlagebetrag"/>
   <DEG type="FestCond1" name="FestCond"/>
   <DEG type="KTO" name="Belastungskto"/>
   <DE name="eigenerechnung" type="JN"/>
   <DE name="wiederanlage" type="Num" maxsize="1"/>
   <DE name="kontoauszug" type="Num" maxsize="1" minnum="0"/>
   <DEG type="KTO" name="Ausbuchungskto" minnum="0"/>
   <DEG type="KTO" name="Zinskto" minnum="0"/>
   <DEG type="FestCondVersion" minnum="0"/>
   <DEG type="BTG" name="Zinsbetrag" minnum="0"/>
   <DE name="status" type="Num" maxsize="1" minnum="0"/>
   <DEG type="Prolong" minnum="0"/> 
   
   <valids path="wiederanlage">
       <validvalue>1</validvalue>
       <validvalue>2</validvalue>
   </valids>
   <valids path="kontoauszug">
       <validvalue>1</validvalue>
       <validvalue>2</validvalue>
   </valids>'
>

<!ENTITY FestgeldInst2
  '<!-- 2.2 -->
   <DEG type="SegHeadInst" name="SegHead"/>
   <DEG type="KTV2" name="Anlagekto" minnum="0"/>
   <DE name="kontakt" type="ID" minnum="0"/>
   <DEG type="BTG" name="Anlagebetrag"/>
   <DEG type="FestCond1" name="FestCond"/>
   <DEG type="KTV2" name="Belastungskto"/>
   <DE name="eigenerechnung" type="JN"/>
   <DE name="wiederanlage" type="Num" maxsize="1"/>
   <DE name="kontoauszug" type="Num" maxsize="1" minnum="0"/>
   <DEG type="KTV2" name="Ausbuchungskto" minnum="0"/>
   <DEG type="KTV2" name="Zinskto" minnum="0"/>
   <DEG type="FestCondVersion" minnum="0"/>
   <DEG type="BTG" name="Zinsbetrag" minnum="0"/>
   <DE name="status" type="Num" maxsize="1" minnum="0"/>
   <DEG type="Prolong" minnum="0"/> 
   
   <valids path="wiederanlage">
       <validvalue>1</validvalue>
       <validvalue>2</validvalue>
   </valids>
   <valids path="kontoauszug">
       <validvalue>1</validvalue>
       <validvalue>2</validvalue>
   </valids>'
>
<!ENTITY FestgeldUser2
  '<!-- 2.2 -->
   <DEG type="SegHeadUser" name="SegHead"/>
   <DEG type="KTV2" name="Anlagekto" minnum="0"/>
   <DE name="kontakt" type="ID" minnum="0"/>
   <DEG type="BTG" name="Anlagebetrag"/>
   <DEG type="FestCond1" name="FestCond"/>
   <DEG type="KTV2" name="Belastungskto"/>
   <DE name="eigenerechnung" type="JN"/>
   <DE name="wiederanlage" type="Num" maxsize="1"/>
   <DE name="kontoauszug" type="Num" maxsize="1" minnum="0"/>
   <DEG type="KTV2" name="Ausbuchungskto" minnum="0"/>
   <DEG type="KTV2" name="Zinskto" minnum="0"/>
   <DEG type="FestCondVersion" minnum="0"/>
   <DEG type="BTG" name="Zinsbetrag" minnum="0"/>
   <DE name="status" type="Num" maxsize="1" minnum="0"/>
   <DEG type="Prolong" minnum="0"/> 
   
   <valids path="wiederanlage">
       <validvalue>1</validvalue>
       <validvalue>2</validvalue>
   </valids>
   <valids path="kontoauszug">
       <validvalue>1</validvalue>
       <validvalue>2</validvalue>
   </valids>'
>

<!ENTITY FestgeldInst3
  '<!-- 3.0 -->
   <DEG type="SegHeadInst" name="SegHead"/>
   <DEG type="KTV3" name="Anlagekto" minnum="0"/>
   <DE name="kontakt" type="ID" minnum="0"/>
   <DEG type="BTG" name="Anlagebetrag"/>
   <DEG type="FestCond2" name="FestCond"/>
   <DEG type="KTV3" name="Belastungskto"/>
   <DE name="eigenerechnung" type="JN"/>
   <DE name="wiederanlage" type="Code" maxsize="1"/>
   <DE name="kontoauszug" type="Code" maxsize="1" minnum="0"/>
   <DEG type="KTV3" name="Ausbuchungskto" minnum="0"/>
   <DEG type="KTV3" name="Zinskto" minnum="0"/>
   <DEG type="FestCondVersion" minnum="0"/>
   <DEG type="BTG" name="Zinsbetrag" minnum="0"/>
   <DE name="status" type="Code" maxsize="1" minnum="0"/>
   <DEG type="Prolong" minnum="0"/> 
   
   <valids path="wiederanlage">
       <validvalue>1</validvalue>
       <validvalue>2</validvalue>
   </valids>
   <valids path="kontoauszug">
       <validvalue>1</validvalue>
       <validvalue>2</validvalue>
   </valids>
   <valids path="status">
       <validvalue>1</validvalue>
       <validvalue>2</validvalue>
   </valids>'
>
<!ENTITY FestgeldUser3
  '<!-- 3.0 -->
   <DEG type="SegHeadUser" name="SegHead"/>
   <DEG type="KTV3" name="Anlagekto" minnum="0"/>
   <DE name="kontakt" type="ID" minnum="0"/>
   <DEG type="BTG" name="Anlagebetrag"/>
   <DEG type="FestCond2" name="FestCond"/>
   <DEG type="KTV3" name="Belastungskto"/>
   <DE name="eigenerechnung" type="JN"/>
   <DE name="wiederanlage" type="Code" maxsize="1"/>
   <DE name="kontoauszug" type="Code" maxsize="1" minnum="0"/>
   <DEG type="KTV3" name="Ausbuchungskto" minnum="0"/>
   <DEG type="KTV3" name="Zinskto" minnum="0"/>
   <DEG type="FestCondVersion" minnum="0"/>
   <DEG type="BTG" name="Zinsbetrag" minnum="0"/>
   <DE name="status" type="Code" maxsize="1" minnum="0"/>
   <DEG type="Prolong" minnum="0"/> 
   
   <valids path="wiederanlage">
       <validvalue>1</validvalue>
       <validvalue>2</validvalue>
   </valids>
   <valids path="kontoauszug">
       <validvalue>1</validvalue>
       <validvalue>2</validvalue>
   </valids>
   <valids path="status">
       <validvalue>1</validvalue>
       <validvalue>2</validvalue>
   </valids>'
>

<!ENTITY SammelInst1
  '<!-- 2.01 -->
   <DEG type="SegHeadInst" name="SegHead"/>
   <DE name="data" type="Bin" maxsize="0"/>'
>
<!ENTITY SammelUser1
  '<!-- 2.01 -->
   <DEG type="SegHeadUser" name="SegHead"/>
   <DE name="data" type="Bin" maxsize="0"/>'
>

<!ENTITY SammelInst2
  '<!-- 2.2 -->
   <DEG type="SegHeadInst" name="SegHead"/>
   <DEG type="KTV2" name="KTV"/>
   <DE name="data" type="Bin" maxsize="0"/>'
>
<!ENTITY SammelUser2
  '<!-- 2.2 -->
   <DEG type="SegHeadUser" name="SegHead"/>
   <DEG type="KTV2" name="KTV"/>
   <DE name="data" type="Bin" maxsize="0"/>'
>

<!ENTITY SammelInst3
  '<!-- 3.0 -->
   <DEG type="SegHeadInst" name="SegHead"/>
   <DEG type="KTV3" name="KTV"/>
   <DE name="data" type="Bin" maxsize="0"/>'
>
<!ENTITY SammelUser3
  '<!-- 3.0 -->
   <DEG type="SegHeadUser" name="SegHead"/>
   <DEG type="KTV3" name="KTV"/>
   <DE name="data" type="Bin" maxsize="0"/>'
>

<!ENTITY TANMedia1
    '<!-- 3.0 -->
    <DEG type="SegHeadUser" name="SegHead"/>
    <DE name="mediatype" type="Code" maxsize="1"/>
            
    <valids path="mediatype">
        <validvalue>0</validvalue>
        <validvalue>2</validvalue>
        <validvalue>3</validvalue>
    </valids>'           
>

<!ENTITY TANMedia2
    '<!-- 3.0 -->
    <DEG type="SegHeadUser" name="SegHead"/>
    <DE name="mediatype" type="Code" maxsize="1"/>
    <DE name="mediacategory" type="Code" maxsize="1"/>
            
    <valids path="mediatype">
        <validvalue>0</validvalue>
        <validvalue>2</validvalue>
        <validvalue>3</validvalue>
    </valids>           
    <valids path="mediacategory">
        <validvalue>A</validvalue>
        <validvalue>L</validvalue>
        <validvalue>G</validvalue>
        <validvalue>M</validvalue>
        <validvalue>S</validvalue>
    </valids>'           
>
]>

<hbci>
    <DEGs>
        <DEGdef id="AllowedGV">
            <DE name="code" type="AN" maxsize="6"/>
            <DE name="reqSigs" type="Num" maxsize="2"/>
            <DE name="limittype" type="Code" maxsize="1" minnum="0"/>
            <!-- DEG type="BTG" minnum="0"/-->
            <DE name="value" type="Wrt" minnum="0"/>
            <DE name="curr" type="Cur" minnum="0"/>            
            <DE name="limitdays" type="Num" maxsize="3" minnum="0"/>

            <valids path="reqSigs">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>

                <!-- Siehe http://www.onlinebanking-forum.de/phpBB2/viewtopic.php?t=14583 -->
                <validvalue>98</validvalue>
                <validvalue>99</validvalue>
            </valids>
            <valids path="limittype">
                <validvalue>E</validvalue>
                <validvalue>T</validvalue>
                <validvalue>W</validvalue>
                <validvalue>M</validvalue>
                <validvalue>Z</validvalue>
            </valids>
        </DEGdef>

        <DEGdef id="BTG">
            <DE name="value" type="Wrt"/>
            <DE name="curr" type="Cur"/>
        </DEGdef>

        <DEGdef id="Cert">
            <DE name="type" type="Code" maxsize="1"/>
            <DE name="cert" type="Bin" maxsize="2048"/>

            <valids path="type">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="CryptAlg">
            <DE name="use" type="Code" maxsize="3"/>
            <DE name="mode" type="Code" maxsize="3"/>
            <DE name="alg" type="Code" maxsize="3"/>
            <DE name="enckey" type="Bin" maxsize="512"/>
            <DE name="keytype" type="Code" maxsize="3"/>
            <DE name="ivname" type="Code" maxsize="3"/>
            <DE name="iv" type="Bin" maxsize="512" minnum="0"/>

            <valids path="mode">
                <validvalue>2</validvalue>
                <validvalue>16</validvalue>
                <validvalue>17</validvalue>
                <validvalue>18</validvalue>
                <validvalue>19</validvalue>
            </valids>
            <valids path="alg">
                <validvalue>13</validvalue>
                <validvalue>14</validvalue> <!-- AES-256 -->
            </valids>
            <valids path="keytype">
                <validvalue>5</validvalue>
                <validvalue>6</validvalue>
            </valids>

            <value path="use">2</value>
            <value path="ivname">1</value>
        </DEGdef>

        <DEGdef id="HashAlg">
            <DE name="usage" type="Code" maxsize="3"/>
            <DE name="alg" type="Code" maxsize="3"/>
            <DE name="parname" type="Code" maxsize="3"/>
            <DE name="parameter" type="Bin" maxsize="512" minnum="0"/>
            
            <valids path="alg">
                <validvalue>1</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
                <validvalue>5</validvalue>
                <validvalue>6</validvalue>
                <validvalue>999</validvalue>
            </valids>

            <value path="usage">1</value>
            <value path="parname">1</value>
        </DEGdef>
        
        <DEGdef id="KeyName">
            <DEG type="KIK"/>
            <DE name="userid" type="ID"/>
            <DE name="keytype" type="AN" maxsize="1"/>
            <DE name="keynum" type="Num" maxsize="3"/>
            <DE name="keyversion" type="Num" maxsize="3"/>

            <valids path="keytype">
                <validvalue>D</validvalue>
                <validvalue>S</validvalue>
                <validvalue>V</validvalue>
            </valids>
        </DEGdef>

        <DEGdef id="KIK">
            <DE name="country" type="Ctr"/>
            <DE name="blz" type="AN" maxsize="30" minnum="0"/>
        </DEGdef>

        <DEGdef id="KLimit">
            <DE name="limittype" type="Code" maxsize="1"/>
            <DEG type="BTG" minnum="0"/>
            <DE name="limitdays" type="Num" maxsize="3" minnum="0"/>

            <valids path="limittype">
                <validvalue>E</validvalue>
                <validvalue>T</validvalue>
                <validvalue>W</validvalue>
                <validvalue>M</validvalue>
                <validvalue>Z</validvalue>
            </valids>
        </DEGdef>

        <DEGdef id="MsgRef">
            <DE name="dialogid" type="ID"/>
            <DE name="msgnum" type="Num" maxsize="4"/>
        </DEGdef>
        
        <DEGdef id="PubKey">
            <DE name="usage" type="Code" maxsize="3"/>
            <DE name="mode" type="Code" maxsize="3"/>
            <DE name="method" type="Code" maxsize="3"/>
            <DE name="modulus" type="Bin" maxsize="512"/>
            <DE name="modname" type="Code" maxsize="3"/>
            <DE name="exponent" type="Bin" maxsize="512"/>
            <DE name="expname" type="Code" maxsize="3"/>

            <valids path="usage">
                <validvalue>5</validvalue>
                <validvalue>6</validvalue>
            </valids>
            <valids path="mode">
                <validvalue>2</validvalue>
                <validvalue>16</validvalue>
                <validvalue>17</validvalue>
                <validvalue>18</validvalue>
                <validvalue>19</validvalue>
                <validvalue>999</validvalue>
            </valids>

            <value path="method">10</value>
            <value path="modname">12</value>
            <value path="expname">13</value>
        </DEGdef>

        <DEGdef id="RetVal">
            <DE name="code" type="Dig" minsize="4" maxsize="4"/>
            <DE name="ref" type="AN" maxsize="7" minnum="0"/>
            <DE name="text" type="AN" maxsize="80"/>
            <DE name="parm" type="AN" maxsize="35" minnum="0" maxnum="10"/>
        </DEGdef>

        <DEGdef id="SecIdnDetails">
            <DE name="func" type="Code" maxsize="3"/>
            <DE name="cid" type="Bin" maxsize="256" minnum="0"/>
            <DE name="sysid" type="ID" minnum="0"/>

            <valids path="func">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="SecProfile">
            <DE name="method" type="Code" minsize="3" maxsize="3"/>
            <DE name="version" type="Num" maxsize="3" maxnum="9"/>
            
            <valids path="method">
                <validvalue>DDV</validvalue>
                <validvalue>RDH</validvalue>
                <validvalue>RAH</validvalue>
                <validvalue>PIN</validvalue>
            </valids>
            <valids path="version">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
                <validvalue>5</validvalue>
                <validvalue>6</validvalue>
                <validvalue>7</validvalue>
                <validvalue>8</validvalue>
                <validvalue>9</validvalue>
                <validvalue>10</validvalue>
            </valids>
        </DEGdef>

        <DEGdef id="SecTimestamp">
            <DE name="type" type="AN" maxsize="3"/>
            <DE name="date" type="Date" minnum="0"/>
            <DE name="time" type="Time" minnum="0"/>

            <valids path="type">
                <validvalue>1</validvalue>
                <validvalue>6</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="SegHeadInst">
            <DE name="code" type="AN" maxsize="6"/>
            <DE name="seq" type="Num" maxsize="3"/>
            <DE name="version" type="Num" maxsize="3"/>
            <DE name="ref" type="Num" maxsize="3" minnum="0"/>
        </DEGdef>
        <DEGdef id="SegHeadUser">
            <DE name="code" type="AN" maxsize="6"/>
            <DE name="seq" type="Num" maxsize="3"/>
            <DE name="version" type="Num" maxsize="3"/>
            <DE name="ref" type="Num" maxsize="3" minnum="0"/>
        </DEGdef>

        <DEGdef id="SigAlg">
            <DE name="usage" type="Code" maxsize="3"/>
            <DE name="alg" type="Code" maxsize="3"/>
            <DE name="mode" type="AN" maxsize="999"/>

            <valids path="alg">
                <validvalue>1</validvalue>
                <validvalue>10</validvalue>
            </valids>
            <valids path="mode">
                <validvalue>999</validvalue>
                <validvalue>16</validvalue>
                <validvalue>17</validvalue>
                <validvalue>18</validvalue>
                <validvalue>19</validvalue>
            </valids>

            <value path="usage">6</value>
        </DEGdef>

        <DEGdef id="SuppCompMethods">
            <DE name="func" type="Code" maxsize="3"/>
            <DE name="version" type="Num" maxsize="3" maxnum="9"/>

            <valids path="func">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
                <validvalue>5</validvalue>
                <validvalue>6</validvalue>
                <validvalue>7</validvalue>
                <validvalue>999</validvalue>
            </valids>
        </DEGdef>

        <DEGdef id="SuppLangs">
            <DE name="lang" type="Num" maxsize="3" maxnum="9"/>

            <valids path="lang">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
            </valids>
        </DEGdef>

        <DEGdef id="SuppSecMethods">
            <DE name="method" type="AN" minsize="3" maxsize="3"/>
            <DE name="version" type="Num" maxsize="3" maxnum="9"/>
        </DEGdef>

        <DEGdef id="SuppVersions">
            <DE name="version" type="Num" maxsize="3" maxnum="9"/>
            
            <valids path="version">
                <validvalue>201</validvalue>
                <validvalue>210</validvalue>
                <validvalue>220</validvalue>
                <validvalue>300</validvalue>
                <validvalue>400</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="UserSig">
            <DE name="pin" type="AN" maxsize="99"/>               <!-- Einige Banken unterstützen mehr als 6 Stellen  -->
            <DE name="tan" type="AN" maxsize="99" minnum="0"/>
        </DEGdef>

        <!-- end of administrative degs -->
    
        <DEGdef id="Address1"> <!-- 2.01 -->
            <DE name="name1" type="AN" maxsize="35"/>
            <DE name="name2" type="AN" maxsize="35" minnum="0"/>
            <DE name="street_pf" type="AN" maxsize="35"/>
            <DE name="plz_ort" type="AN" maxsize="35"/>
            <DE name="tel" type="AN" maxsize="35" minnum="0"/>
        </DEGdef>
        
        <DEGdef id="Address2">
            <DE name="name1" type="AN" maxsize="35"/>
            <DE name="name2" type="AN" maxsize="35" minnum="0"/>
            <DE name="street_pf" type="AN" maxsize="35"/>
            <DE name="plz" type="AN" maxsize="10"/>
            <DE name="ort" type="AN" maxsize="35"/>
            <DE name="country" type="Ctr" minnum="0"/>
            <DE name="tel" type="AN" maxsize="35" minnum="0"/>
            <DE name="fax" type="AN" maxsize="35" minnum="0"/>
            <DE name="email" type="AN" maxsize="35" minnum="0"/>
        </DEGdef>
        
        <DEGdef id="Aussetzung1"> <!-- 2.01 -->
            <DE name="annual" type="JN"/>
            <DE name="startdate" type="Date" minnum="0"/>
            <DE name="enddate" type="Date" minnum="0"/>
            <DE name="number" type="Num" maxsize="2" minnum="0"/>
        </DEGdef>

        <DEGdef id="Aussetzung2"> <!-- 2.1 -->
            <DE name="annual" type="JN"/>
            <DE name="startdate" type="Date" minnum="0"/>
            <DE name="enddate" type="Date" minnum="0"/>
            <DE name="number" type="Num" maxsize="2" minnum="0"/>
            <DE name="newvalue.value" type="Wrt" minnum="0"/>
            <DE name="newvalue.curr" type="Cur" minnum="0"/>
        </DEGdef>

        <DEGdef id="Aussetzung3"> <!-- 3.0 -->
            <DE name="annual" type="JN"/>
            <DE name="startdate" type="Date" minnum="0"/>
            <DE name="enddate" type="Date" minnum="0"/>
            <DE name="number" type="Num" maxsize="2" minnum="0"/>
            <DEG type="BTG" name="newvalue" minnum="0"/>
        </DEGdef>
        
        <DEGdef id="Berechtigter1"> <!-- 2.2 -->
            <DE name="name" type="AN" maxsize="35"/>
            <DE name="name2" type="AN" maxsize="35" minnum="0"/>
            <DE name="berechtigter" type="Num" maxsize="1" minnum="0"/>
            <DE name="berechtigung" type="Num" maxsize="1" minnum="0"/>
            <DE name="BTG.value" type="Wrt" minnum="0"/>
            <DE name="BTG.curr" type="Cur" minnum="0"/>
            <DE name="risiko" type="AN" maxsize="2" minnum="0"/>
            
            <valids path="berechtigter">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
            </valids>
            <valids path="berechtigung">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
        </DEGdef>

        <DEGdef id="Berechtigter2"> <!-- 3.0 -->
            <DE name="name" type="AN" maxsize="35"/>
            <DE name="name2" type="AN" maxsize="35" minnum="0"/>
            <DE name="berechtigter" type="Num" maxsize="1" minnum="0"/>
            <DE name="berechtigung" type="Num" maxsize="1" minnum="0"/>
            <DEG type="BTG" minnum="0"/>
            <DE name="risiko" type="AN" maxsize="2" minnum="0"/>
            
            <valids path="berechtigter">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
            </valids>
            <valids path="berechtigung">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="ChallengeGraph">
            <DE name="graph" type="Bin" maxsize="2048"/>
            <DE name="format" type="Code" minsize="3" maxsize="3"/>
            
            <valids path="format">
                <validvalue>GIF</validvalue>
                <validvalue>JPG</validvalue>
                <validvalue>PNG</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="ChallengeKlassParams">
            <DE name="param1" type="AN" minsize="0" maxsize="999" minnum="0" maxnum="1"/>
            <DE name="param2" type="AN" minsize="0" maxsize="999" minnum="0" maxnum="1"/>
            <DE name="param3" type="AN" minsize="0" maxsize="999" minnum="0" maxnum="1"/>
            <DE name="param4" type="AN" minsize="0" maxsize="999" minnum="0" maxnum="1"/>
            <DE name="param5" type="AN" minsize="0" maxsize="999" minnum="0" maxnum="1"/>
            <DE name="param6" type="AN" minsize="0" maxsize="999" minnum="0" maxnum="1"/>
            <DE name="param7" type="AN" minsize="0" maxsize="999" minnum="0" maxnum="1"/>
            <DE name="param8" type="AN" minsize="0" maxsize="999" minnum="0" maxnum="1"/>
            <DE name="param9" type="AN" minsize="0" maxsize="999" minnum="0" maxnum="1"/>
        </DEGdef>
        
        <DEGdef id="HHDUCAnswer">
            <DE name="atc" type="AN" maxsize="5" />
            <DE name="appcrypto_ac" type="Bin" maxsize="256" />
            <DE name="ef_id_data" type="Bin" maxsize="256" />
            <DE name="cvr" type="Bin" maxsize="256" />
            <DE name="versioninfo" type="Bin" maxsize="256" />
        </DEGdef>
        
        <DEGdef id="ChallengeValidity">
            <DE name="date" type="Date"/>
            <DE name="time" type="Time"/>
        </DEGdef>

        <DEGdef id="CommParam">
            <DE name="dienst" type="AN" maxsize="2"/>
            <DE name="addr" type="AN" maxsize="512"/>
            <DE name="addr2" type="AN" maxsize="512" minnum="0"/>
            <DE name="filter" type="AN" minsize="3" maxsize="3" minnum="0"/>
            <DE name="filterversion" type="Num" maxsize="3" minnum="0"/>
            
            <valids path="dienst">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
            </valids>
            <valids path="filter">
                <validvalue>MIM</validvalue>
                <validvalue>UUE</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="DauerDetails">
            <DE name="firstdate" type="Date"/>
            <DE name="timeunit" type="Code" maxsize="1"/>
            <DE name="turnus" type="Num" maxsize="2"/>
            <DE name="execday" type="Num" maxsize="2"/>
            <DE name="lastdate" type="Date" minnum="0"/>

            <valids path="timeunit">
                <validvalue>M</validvalue>
                <validvalue>W</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="DauerDetailsEdit">
            <DE name="firstdate" type="Date" minnum="0"/>
            <DE name="timeunit" type="Code" maxsize="1" minnum="0"/>
            <DE name="turnus" type="Num" maxsize="2" minnum="0"/>
            <DE name="execday" type="Num" maxsize="2" minnum="0"/>
            <DE name="lastdate" type="Date" minnum="0"/>

            <valids path="timeunit">
                <validvalue>M</validvalue>
                <validvalue>W</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="FestCond1"> <!--2.01 -->
            <DE name="anlagedate" type="Date"/>
            <DE name="ablaufdate" type="Date"/>
            <DE name="zinssatz" type="Wrt"/>
            <DE name="zinsmethode" type="AN" maxsize="1"/>
            <DEG type="BTG" name="MinBetrag"/>
            <DEG type="BTG" name="MaxBetrag" minnum="0"/>
            <DE name="condid" type="ID" minnum="0"/>
            <DE name="condbez" type="AN" maxsize="30" minnum="0"/>
            
            <valids path="zinsmethode">
                <validvalue>A</validvalue>
                <validvalue>B</validvalue>
                <validvalue>C</validvalue>
                <validvalue>D</validvalue>
                <validvalue>E</validvalue>
                <validvalue>F</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="FestCond2"> <!-- 3.0 -->
            <DE name="anlagedate" type="Date"/>
            <DE name="ablaufdate" type="Date"/>
            <DE name="zinssatz" type="Wrt"/>
            <DE name="zinsmethode" type="AN" maxsize="1"/>
            <DEG type="BTG" name="MinBetrag"/>
            <DEG type="BTG" name="MaxBetrag" minnum="0"/>
            <DE name="condid" type="ID" minnum="0"/>
            <DE name="condbez" type="AN" maxsize="30" minnum="0"/>
            
            <valids path="zinsmethode">
                <validvalue>A</validvalue>
                <validvalue>B</validvalue>
                <validvalue>C</validvalue>
                <validvalue>D</validvalue>
                <validvalue>E</validvalue>
                <validvalue>F</validvalue>
                <validvalue>Z</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="FestCondVersion">
            <DE name="version" type="AN" maxsize="10"/>
            <DE name="date" type="Date"/>
            <DE name="time" type="Time"/>
        </DEGdef>
        
        <DEGdef id="Info">
            <DE name="code" type="AN" maxsize="10"/>
            <DE name="msg" type="AN" maxsize="2048"/>
        </DEGdef>
        
        <DEGdef id="InfoCodes">
            <DE name="code" type="AN" maxsize="10" maxnum="9"/>
        </DEGdef>
        
        <DEGdef id="InfoInfo">
            <DE name="code" type="AN" maxsize="10"/>
            <DE name="descr" type="AN" maxsize="35"/>
            <DE name="type" type="AN" maxsize="1"/>
            <DE name="version" type="Date" minnum="0"/>
            <DE name="format" type="AN" maxsize="3" minnum="0"/>
            <DE name="comment" type="AN" maxsize="35" minnum="0" maxnum="5"/>
            
            <valids path="type">
                <validvalue>F</validvalue>
                <validvalue>D</validvalue>
                <validvalue>S</validvalue>
                <validvalue>T</validvalue>
            </valids>
        </DEGdef>

        <DEGdef id="KTO"> <!-- 2.01 -->
            <DE name="number" type="ID"/>
            <DEG type="KIK"/>
        </DEGdef>
        
        <DEGdef id="KTV2"> <!-- 2.2 -->
            <DE name="number" type="ID"/>
            <DE name="subnumber" type="ID" minnum="0"/>
            <DE name="KIK.country" type="Ctr"/>
            <DE name="KIK.blz" type="AN" maxsize="30" minnum="0"/>
        </DEGdef>
        
         <DEGdef id="KTV2opt"> <!-- 2.2 -->
            <DE name="number" type="ID" minnum="0"/>
            <DE name="subnumber" type="ID" minnum="0"/>
            <DE name="KIK.country" type="Ctr" minnum="0"/>
            <DE name="KIK.blz" type="AN" maxsize="30" minnum="0"/>
        </DEGdef>
        
        <DEGdef id="KTV3"> <!-- 3.0 -->
            <DE name="number" type="ID"/>
            <DE name="subnumber" type="ID" minnum="0"/>
            <DEG type="KIK"/>
        </DEGdef>
        
        <DEGdef id="KTV3opt"> <!-- 3.0 -->
            <DE name="number" type="ID" minnum="0"/>
            <DE name="subnumber" type="ID" minnum="0"/>
            <DEG type="KIK"/>
        </DEGdef>
        
        <DEGdef id="KTVInt">
            <DE name="iban" type="AN" maxsize="34" minnum="0"/>
            <DE name="bic" type="AN" maxsize="11" minnum="0"/>
            <DE name="number" type="ID" minnum="0"/>
            <DE name="subnumber" type="ID" minnum="0"/>
            <DE name="KIK.country" type="Ctr" minnum="0"/>
            <DE name="KIK.blz" type="AN" maxsize="30" minnum="0"/>
        </DEGdef>
        
        <DEGdef id="KTVZVInt">
            <DE name="sepa" type="JN"/>
            <DE name="iban" type="AN" maxsize="34" minnum="0"/>
            <DE name="bic" type="AN" maxsize="11" minnum="0"/>
            <DE name="number" type="ID"/>
            <DE name="subnumber" type="ID" minnum="0"/>
            <DEG type="KIK"/>
        </DEGdef>
        
        <DEGdef id="ParCustomMsg">
            <DE name="maxlen" type="Num" maxsize="4"/>
        </DEGdef>
        
        <DEGdef id="ParDauerDel">
            <DE name="minpretime" type="Num" maxsize="4"/>
            <DE name="maxpretime" type="Num" maxsize="4"/>
            <DE name="cantermdel" type="JN"/>
        </DEGdef>
        
        <DEGdef id="ParDauerSEPADel">
            <DE name="minpretime" type="Num" maxsize="4"/>
            <DE name="maxpretime" type="Num" maxsize="4"/>
            <DE name="cantermdel" type="JN"/>
            <DE name="orderdata_required" type="JN"/>
        </DEGdef>

        <DEGdef id="ParDauerLastSEPAList">
            <DE name="maxentries_allowed" type="JN"/>
            <DE name="sepadescr" type="AN" maxsize="256" minnum="0" maxnum="9"/>
        </DEGdef>

        <DEGdef id="ParDauerLastSEPANew">
            <DE name="allowed_types" type="AN" maxsize="64"/>
            <DE name="minpretime" type="Num" maxsize="4"/>
            <DE name="maxpretime" type="Num" maxsize="4"/>
            <DE name="turnusmonths" type="Dig" maxsize="24"/>
            <DE name="dayspermonth" type="Dig" maxsize="64"/>
            <DE name="turnusweeks" type="Dig" maxsize="104" minnum="0"/>
            <DE name="daysperweek" type="Dig" maxsize="7" minnum="0"/>
            <DE name="allowed_purposecodes" type="AN" maxsize="4096" minnum="0" maxnum="1"/>
            <DE name="sepadescr" type="AN" maxsize="256" minnum="0" maxnum="9"/>
        </DEGdef>

        <DEGdef id="ParDauerEdit">
            <DE name="numtermchanges" type="Num" maxsize="1"/>
            <DE name="minpretime" type="Num" maxsize="4"/>
            <DE name="maxpretime" type="Num" maxsize="4"/>
            <DE name="recktoeditable" type="JN"/>
            <DE name="recnameeditable" type="JN"/>
            <DE name="valueeditable" type="JN"/>
            <DE name="keyeditable" type="JN"/>
            <DE name="usageeditable" type="JN"/>
            <DE name="firstexeceditable" type="JN"/>
            <DE name="timeuniteditable" type="JN"/>
            <DE name="turnuseditable" type="JN"/>
            <DE name="execdayeditable" type="JN"/>
            <DE name="lastexeceditable" type="JN"/>
            <DE name="maxusage" type="Num" maxsize="2"/>
            <DE name="turnusmonths" type="Dig" maxsize="24"/>
            <DE name="dayspermonth" type="Dig" maxsize="64"/>
            <DE name="turnusweeks" type="Dig" maxsize="104" minnum="0"/>
            <DE name="daysperweek" type="Dig" maxsize="7" minnum="0"/>
            <DE name="textkey" type="Dig" minsize="2" maxsize="2" maxnum="99"/>
        </DEGdef>
        
        <DEGdef id="ParDauerSEPAEdit">
            <DE name="numtermchanges" type="Num" maxsize="1"/>
            <DE name="minpretime" type="Num" maxsize="4"/>
            <DE name="maxpretime" type="Num" maxsize="4"/>
            <DE name="recktoeditable" type="JN"/>
            <DE name="recnameeditable" type="JN"/>
            <DE name="valueeditable" type="JN"/>
            <DE name="usageeditable" type="JN"/>
            <DE name="firstexeceditable" type="JN"/>
            <DE name="timeuniteditable" type="JN"/>
            <DE name="turnuseditable" type="JN"/>
            <DE name="execdayeditable" type="JN"/>
            <DE name="lastexeceditable" type="JN"/>
            <DE name="turnusmonths" type="Dig" maxsize="24"/>
            <DE name="dayspermonth" type="Dig" maxsize="64"/>
            <DE name="turnusweeks" type="Dig" maxsize="104" minnum="0"/>
            <DE name="daysperweek" type="Dig" maxsize="7" minnum="0"/>
        </DEGdef>
        
        <DEGdef id="ParDauerNew">
            <DE name="maxusage" type="Num" maxsize="2"/>
            <DE name="minpretime" type="Num" maxsize="4"/>
            <DE name="maxpretime" type="Num" maxsize="4"/>
            <DE name="turnusmonths" type="Dig" maxsize="24"/>
            <DE name="dayspermonth" type="Dig" maxsize="64"/>
            <DE name="turnusweeks" type="Dig" maxsize="104" minnum="0"/>
            <DE name="daysperweek" type="Dig" maxsize="7" minnum="0"/>
            <DE name="textkey" type="Dig" minsize="2" maxsize="2" maxnum="99"/>
        </DEGdef>
        
        <DEGdef id="ParDauerSEPANew">
            <DE name="maxusage" type="Num" maxsize="2"/>
            <DE name="minpretime" type="Num" maxsize="4"/>
            <DE name="maxpretime" type="Num" maxsize="4"/>
            <DE name="turnusmonths" type="Dig" maxsize="24"/>
            <DE name="dayspermonth" type="Dig" maxsize="64"/>
            <DE name="turnusweeks" type="Dig" maxsize="104" minnum="0"/>
            <DE name="daysperweek" type="Dig" maxsize="7" minnum="0"/>
        </DEGdef>
        
        <DEGdef id="ParFestCondList">
            <DE name="curr" type="Cur" maxnum="99"/>
        </DEGdef>
        
        <DEGdef id="ParFestNew1"> <!-- 2.01 -->
            <DE name="canotherausbuchungskto" type="JN"/>
            <DE name="canotherzinskto" type="JN"/>
            <DE name="kontoauszug" type="Code" maxsize="1" minnum="0" maxnum="9"/>
            
            <valids path="kontoauszug">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="ParFestNew2"> <!-- 2.2 -->
            <DE name="canexistinganlkto" type="JN"/>
            <DE name="canotherausbuchungskto" type="JN"/>
            <DE name="canotherzinskto" type="JN"/>
            <DE name="kontoauszug" type="Code" maxsize="1" minnum="0" maxnum="9"/>
            
            <valids path="kontoauszug">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="ParKontoauszug">
            <DE name="canindex" type="JN"/>
            <DE name="needreceipt" type="JN"/>
            <DE name="canmaxentries" type="JN"/>
            <DE name="format" type="Code" maxsize="1" maxnum="9"/>
        </DEGdef>

        <DEGdef id="ParKontoauszugPdf1">
            <DE name="canindex" type="JN"/>
            <DE name="needreceipt" type="JN"/>
            <DE name="canmaxentries" type="JN"/>
        </DEGdef>

        <DEGdef id="ParKontoauszugPdf2">
            <DE name="canindex" type="JN"/>
            <DE name="needreceipt" type="JN"/>
            <DE name="canmaxentries" type="JN"/>
            <DE name="base64" type="JN"/>
        </DEGdef>
        
        <DEGdef id="ParKUmsNew1"> <!-- 2.01 -->
            <DE name="timerange" type="Num" maxsize="4"/>
            <DE name="canmaxentries" type="JN"/>
        </DEGdef>
        
        <DEGdef id="ParKUmsNew2"> <!-- 2.2 -->
            <DE name="timerange" type="Num" maxsize="4"/>
            <DE name="canmaxentries" type="JN"/>
            <DE name="canallaccounts" type="JN"/>
        </DEGdef>
        
        <DEGdef id="ParKUmsZeit1"> <!-- 2.01 -->
            <DE name="timerange" type="Num" maxsize="4"/>
            <DE name="canmaxentries" type="JN"/>
        </DEGdef>
        
        <DEGdef id="ParKUmsZeit2"> <!-- 2.2 -->
            <DE name="timerange" type="Num" maxsize="4"/>
            <DE name="canmaxentries" type="JN"/>
            <DE name="canallaccounts" type="JN"/>
        </DEGdef>

        <DEGdef id="ParKUmsZeitCamt">
            <DE name="timerange" type="Num" maxsize="4"/>
            <DE name="canmaxentries" type="JN"/>
            <DE name="canallaccounts" type="JN"/>
            <DE name="suppformats" type="AN" maxsize="256" maxnum="99" />
        </DEGdef>
        
        <DEGdef id="CamtBooked">
            <!-- Die erlaubte Maximalanzahl ist nicht spezifiziert. Da steht nur "n" als Anzahl -->
            <DE name="message" type="Bin" minnum="1" maxnum="999" />
        </DEGdef>
        
        <DEGdef id="CamtFormats">
            <!--
                 Wir koennten zwar alle unterstuetzten Formate mitsenden.
                 Einige Banken (u.a. die Sparkassen) kommen damit aber nicht klar.
                 Deswegen schicken wir immer genau eine Version mit.
                 Und zwar genau die hoechste, die die Bank in den GV-spezifischen
                 BPD mitgeteilt hat
                 
             -->
            <DE name="suppformat" type="AN" minsize="0" maxsize="256" minnum="1" maxnum="99"/>
        </DEGdef>
        
        <DEGdef id="ParLast">
            <DE name="maxusage" type="Num" maxsize="2"/>
            <DE name="key" type="Dig" minsize="2" maxsize="2" maxnum="99"/>
        </DEGdef>
        
        <DEGdef id="ParLastObjection">
            <DEG type="BTG" name="fee" minnum="0"/>
            <DE name="key" type="Dig" minsize="2" maxsize="2" maxnum="99"/>
        </DEGdef>
        
        <DEGdef id="ParOrderHistory">
            <DE name="timerange" type="Num" maxsize="4"/>
            <DE name="canmaxentries" type="JN"/>
        </DEGdef>
        
        <DEGdef id="ParPinTan">
            <DEG type="PinTanGV" minnum="0" maxnum="999"/>
        </DEGdef>
        
        <DEGdef id="ParPinTan2">
            <DE name="pinlen_min" type="Num" maxsize="2" minnum="0"/>
            <DE name="pinlen_max" type="Num" maxsize="2" minnum="0"/>
            <DE name="tanlen_max" type="Num" maxsize="2" minnum="0"/>
            <DE name="info_userid" type="AN" maxsize="30" minnum="0"/>
            <DE name="info_customerid" type="AN" maxsize="30" minnum="0"/>
            <DEG type="PinTanGV" minnum="0" maxnum="999"/>
        </DEGdef>
        
        <DEGdef id="ParSammelLast">
            <DE name="maxcsets" type="Num" maxsize="6"/>
            <DE name="maxusage" type="Num" maxsize="2"/>
            <DE name="key" type="Dig" minsize="2" maxsize="2" maxnum="99"/>
        </DEGdef>
        
        <DEGdef id="ParSammelUeb">
            <DE name="maxcsets" type="Num" maxsize="6"/>
            <DE name="maxusage" type="Num" maxsize="2"/>
            <DE name="key" type="Dig" minsize="2" maxsize="2" maxnum="99"/>
        </DEGdef>

		<DEGdef id="ParSammelUebSEPA">
	    	<DE name="maxnum" type="Num" maxsize="7" />
	    	<DE name="needtotal" type="JN" />
	    	<DE name="cansingletransfer" type="JN" />
		</DEGdef>
        
        <DEGdef id="ParTermSammelUebSEPA">
            <DE name="minVorlZeit" type="Num" maxsize="4"/>
            <DE name="maxVorlZeit" type="Num" maxsize="4"/>
            <DE name="maxnum" type="Num" maxsize="7" />
            <DE name="needtotal" type="JN" />
            <DE name="cansingletransfer" type="JN" />
        </DEGdef>

        <DEGdef id="ParSEPAInfo">
            <DE name="cansingleaccquery" type="JN"/>
            <DE name="cannationalacc" type="JN"/>
            <DE name="canstructusage" type="JN"/>
            <DE name="suppformats" type="AN" maxsize="256" minnum="0" maxnum="99"/>
        </DEGdef>
        
        <DEGdef id="ParTermSepaEinzelLast">
            <DE name="minVorlZeitFNALRCUR" type="Num" maxsize="4"/>
            <DE name="maxVorlZeitFNALRCUR" type="Num" maxsize="4"/>
            <DE name="minVorlZeitFRSTOOFF" type="Num" maxsize="4"/>
            <DE name="maxVorlZeitFRSTOOFF" type="Num" maxsize="4"/>
        </DEGdef>

        <DEGdef id="ParTermSepaCOR1">
            <DE name="minVorlZeitFNALRCUR" type="Num" maxsize="4"/>
            <DE name="maxVorlZeitFNALRCUR" type="Num" maxsize="4"/>
            <DE name="minVorlZeitFRSTOOFF" type="Num" maxsize="4"/>
            <DE name="maxVorlZeitFRSTOOFF" type="Num" maxsize="4"/>
			<DE name="PurposeCodes" type="AN" maxsize="4096" minnum="0" maxnum="1"/>
            <DE name="suppformats" type="AN" maxsize="256" minnum="0" maxnum="9"/>
        </DEGdef>

        <DEGdef id="ParTermSepaB2B">
            <DE name="minVorlZeitFNALRCUR" type="Num" maxsize="4"/>
            <DE name="maxVorlZeitFNALRCUR" type="Num" maxsize="4"/>
            <DE name="minVorlZeitFRSTOOFF" type="Num" maxsize="4"/>
            <DE name="maxVorlZeitFRSTOOFF" type="Num" maxsize="4"/>
        </DEGdef>

        <DEGdef id="ParSammelLastSEPA">
            <DE name="minVorlZeitFNALRCUR" type="Num" maxsize="4"/>
            <DE name="maxVorlZeitFNALRCUR" type="Num" maxsize="4"/>
            <DE name="minVorlZeitFRSTOOFF" type="Num" maxsize="4"/>
            <DE name="maxVorlZeitFRSTOOFF" type="Num" maxsize="4"/>
            <DE name="maxnum" type="Num" maxsize="7"/>
            <DE name="needtotal" type="JN" />
            <DE name="cansingletransfer" type="JN" />
        </DEGdef>

        <DEGdef id="ParSammelLastCOR1SEPA">
            <DE name="maxnum" type="Num" maxsize="7"/>
            <DE name="needtotal" type="JN"/>
            <DE name="cansingletransfer" type="JN"/>
            <DE name="minVorlZeitFNALRCUR" type="Num" maxsize="4"/>
            <DE name="maxVorlZeitFNALRCUR" type="Num" maxsize="4"/>
            <DE name="minVorlZeitFRSTOOFF" type="Num" maxsize="4"/>
            <DE name="maxVorlZeitFRSTOOFF" type="Num" maxsize="4"/>
            <DE name="PurposeCodes" type="AN" maxsize="4096" minnum="0" maxnum="1"/>
            <DE name="suppformats" type="AN" maxsize="256" minnum="0" maxnum="9"/>
        </DEGdef>

        <DEGdef id="ParSammelLastB2BSEPA">
            <DE name="minVorlZeitFNALRCUR" type="Num" maxsize="4"/>
            <DE name="maxVorlZeitFNALRCUR" type="Num" maxsize="4"/>
            <DE name="minVorlZeitFRSTOOFF" type="Num" maxsize="4"/>
            <DE name="maxVorlZeitFRSTOOFF" type="Num" maxsize="4"/>
            <DE name="maxnum" type="Num" maxsize="7"/>
            <DE name="needtotal" type="JN" />
            <DE name="cansingletransfer" type="JN" />
        </DEGdef>
        
        <DEGdef id="ParUmbSepa">
            <DE name="PurposeCodes" type="AN" maxsize="4096" minnum="0" maxnum="1"/>
            <DE name="suppformats" type="AN" maxsize="256" minnum="0" maxnum="9"/>
        </DEGdef>
        

        <DEGdef id="ParTAN2Step1">
            <DE name="can1step" type="JN"/>
            <DE name="canmultitangvs" type="JN"/>
            <DE name="orderhashmode" type="Code" maxsize="1"/>
            <DE name="instsig" type="Code" maxsize="1"/>
            <DEG type="TAN2StepParams1" name="TAN2StepParams" maxnum="98"/>
            
            <valids path="orderhashmode">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
            <valids path="instsig">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="ParTAN2Step2">
            <DE name="can1step" type="JN"/>
            <DE name="canmultitangvs" type="JN"/>
            <DE name="orderhashmode" type="Code" maxsize="1"/>
            <DEG type="TAN2StepParams2" name="TAN2StepParams" maxnum="98"/>
            
            <valids path="orderhashmode">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="ParTAN2Step3">
            <DE name="can1step" type="JN"/>
            <DE name="canmultitangvs" type="JN"/>
            <DE name="orderhashmode" type="Code" maxsize="1"/>
            <DEG type="TAN2StepParams3" name="TAN2StepParams" maxnum="98"/>
            
            <valids path="orderhashmode">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="ParTAN2Step4">
            <DE name="can1step" type="JN"/>
            <DE name="canmultitangvs" type="JN"/>
            <DE name="orderhashmode" type="Code" maxsize="1"/>
            <DEG type="TAN2StepParams4" name="TAN2StepParams" maxnum="98"/>
            
            <valids path="orderhashmode">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="ParTAN2Step5">
            <DE name="can1step" type="JN"/>
            <DE name="canmultitangvs" type="JN"/>
            <DE name="orderhashmode" type="Code" maxsize="1"/>
            <DEG type="TAN2StepParams5" name="TAN2StepParams" maxnum="98"/>
            
            <valids path="orderhashmode">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
        </DEGdef>

        <DEGdef id="ParTAN2Step6">
            <DE name="can1step" type="JN"/>
            <DE name="canmultitangvs" type="JN"/>
            <DE name="orderhashmode" type="Code" maxsize="1"/>
            <DEG type="TAN2StepParams6" name="TAN2StepParams" maxnum="98"/>
            
            <valids path="orderhashmode">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
        </DEGdef>

        <DEGdef id="ParTAN2Step7">
            <DE name="can1step" type="JN"/>
            <DE name="canmultitangvs" type="JN"/>
            <DE name="orderhashmode" type="Code" maxsize="1"/>
            <DEG type="TAN2StepParams7" name="TAN2StepParams" maxnum="98"/>

            <valids path="orderhashmode">
                <validvalue>0</validvalue> <!-- 0: Auftrags-Hashwert nicht unterstützt -->
                <validvalue>1</validvalue> <!-- RIPEMD-160 -->
                <validvalue>2</validvalue> <!-- SHA-1 -->
            </valids>
        </DEGdef>

        <DEGdef id="ParTemplateD">
            <DE name="dummy" type="AN" minsize="0" maxsize="999" minnum="2" maxnum="999"/>
        </DEGdef>
        
        <DEGdef id="ParTemplate2D">
            <DE name="dummy" type="AN" minsize="0" maxsize="16384" maxnum="999"/>
        </DEGdef>
        
        <DEGdef id="ParTermSammelLast">
            <DE name="minpretime" type="Num" maxsize="4"/>
            <DE name="maxpretime" type="Num" maxsize="4"/>
            <DE name="maxcsets" type="Num" maxsize="6"/>
            <DE name="maxusage" type="Num" maxsize="2"/>
            <DE name="key" type="Dig" minsize="2" maxsize="2" maxnum="99"/>
        </DEGdef>
        
        <DEGdef id="ParTermSammelLastList">
            <DE name="cantimerange" type="JN"/>
        </DEGdef>
        
        <DEGdef id="ParTermSammelUeb">
            <DE name="minpretime" type="Num" maxsize="4"/>
            <DE name="maxpretime" type="Num" maxsize="4"/>
            <DE name="maxcsets" type="Num" maxsize="6"/>
            <DE name="maxusage" type="Num" maxsize="2"/>
            <DE name="key" type="Dig" minsize="2" maxsize="2" maxnum="99"/>
        </DEGdef>
        
        <DEGdef id="ParTermSammelUebList">
            <DE name="cantimerange" type="JN"/>
        </DEGdef>
        
        <DEGdef id="ParTermUeb">
            <DE name="minpretime" type="Num" maxsize="4"/>
            <DE name="maxpretime" type="Num" maxsize="4"/>
            <DE name="maxusage" type="Num" maxsize="2"/>
            <DE name="key" type="Dig" minsize="2" maxsize="2" maxnum="99"/>
        </DEGdef>
        
        <DEGdef id="ParTermUebSEPA">
            <DE name="minpretime" type="Num" maxsize="4"/>
            <DE name="maxpretime" type="Num" maxsize="4"/>
        </DEGdef>
        
        <DEGdef id="ParTermUebEdit">
            <DE name="minpretime" type="Num" maxsize="4"/>
            <DE name="maxpretime" type="Num" maxsize="4"/>
            <DE name="maxusage" type="Num" maxsize="2"/>
            <DE name="key" type="Dig" minsize="2" maxsize="2" maxnum="99"/>
        </DEGdef>
        
        <DEGdef id="ParTermUebList">
            <DE name="cantimerange" type="JN"/>
        </DEGdef>
        
        <DEGdef id="ParTermUebSEPAList">
            <DE name="canmaxentries" type="JN"/>
            <DE name="cantimerange" type="JN"/>
        </DEGdef>
        
        <DEGdef id="ParTermUebSEPADel">
            <DE name="orderdata_required" type="JN"/>
        </DEGdef>
        
        <DEGdef id="ParTermUebSEPAEdit">
            <DE name="minpretime" type="Num" maxsize="4"/>
            <DE name="maxpretime" type="Num" maxsize="4"/>
        </DEGdef>

        <DEGdef id="ParUeb">
            <DE name="maxusage" type="Num" maxsize="2"/>
            <DE name="key" type="Dig" minsize="2" maxsize="2" maxnum="99"/>
        </DEGdef>

        <DEGdef id="ParUebForeign">
            <DE name="caniban" type="JN"/>
            <DE name="countryinfo" type="AN" maxsize="99" minnum="0" maxnum="99"/>
        </DEGdef>
        
        <DEGdef id="ParUmb">
            <DE name="maxusage" type="Num" maxsize="2"/>
            <DE name="key" type="Dig" minsize="2" maxsize="2" maxnum="99"/>
        </DEGdef>
        
        <DEGdef id="ParVormerkposten">
          <DE name="canmaxentries" type="JN"/>
          <DE name="canallaccounts" type="JN"/>
        </DEGdef>
        
        <DEGdef id="ParWPDepotList1">
            <DE name="canmaxentries" type="JN"/>
        </DEGdef>
        
        <DEGdef id="ParWPDepotList2">
            <DE name="canmaxentries" type="JN"/>
            <DE name="cancurr" type="JN"/>
            <DE name="canquality" type="JN"/>
        </DEGdef>
        
        <DEGdef id="ParWPDepotUms">
            <DE name="timerange" type="Num" maxsize="4"/>
        </DEGdef>
        
        <DEGdef id="ParWPInfoList">
            <DE name="needdepot" type="JN"/>
        </DEGdef>
        
        <DEGdef id="ParWPKursList1"> <!-- 2.1 -->
            <DE name="availboerses" type="AN" maxsize="2048" minnum="0"/>
            <DE name="kurspaket" type="AN" maxsize="30" minnum="0" maxnum="99"/>
        </DEGdef>
        
        <DEGdef id="ParWPKursList2"> <!-- 2.2 -->
            <DE name="needdepot" type="JN"/>
            <DE name="canquality" type="JN"/>
            <DE name="availboerses" type="AN" maxsize="4096" minnum="0"/>
            <DE name="kurspaket" type="AN" maxsize="30" minnum="0" maxnum="99"/>
        </DEGdef>
        
        <DEGdef id="ParWPRefList">
            <DE name="searchallowed" type="JN"/>
            <DE name="regionallowed" type="JN"/>
            <DE name="standardallowed" type="JN"/>
            <DE name="newallowed" type="JN"/>
            <DE name="availboerses" type="AN" maxsize="4096" minnum="0"/>
            <DE name="availtypes" type="AN" maxsize="35" minnum="0" maxnum="99"/>
        </DEGdef>
        
        <DEGdef id="ParWPStammList">
            <DE name="needdepot" type="JN"/>
            <DE name="risikodescr" type="AN" maxsize="38" maxnum="99"/>
        </DEGdef>
        
        <DEGdef id="PinTanGV">
            <DE name="segcode" type="AN" maxsize="6"/>
            <DE name="needtan" type="JN"/>
        </DEGdef>
        
        <DEGdef id="Prolong">
            <DE name="laufzeit" type="Num" maxsize="3"/>
            <DEG type="BTG"/>
            <DE name="wiederanlage" type="Num" maxsize="1"/>
            
            <valids path="wiederanlage">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="Saldo">
            <DE name="CreditDebit" type="Code" maxsize="1"/>
            <DE name="BTG.value" type="Wrt"/>
            <DE name="BTG.curr" type="Cur"/>
            <DE name="date" type="Date"/>
            <DE name="time" type="Time" minnum="0"/>

            <valids path="CreditDebit">
                <validvalue>C</validvalue>
                <validvalue>D</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="Saldo2">  <!-- 3.0 -->
            <DE name="CreditDebit" type="Code" maxsize="1"/>
            <DEG type="BTG"/>
            <DE name="date" type="Date"/>
            <DE name="time" type="Time" minnum="0"/>

            <valids path="CreditDebit">
                <validvalue>C</validvalue>
                <validvalue>D</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="TAN2StepParams1">
            <DE name="secfunc" type="Code" maxsize="3"/>
            <DE name="process" type="Code" maxsize="1"/>
            <DE name="id" type="ID"/>
            <DE name="name" type="AN" maxsize="30"/>
            <DE name="maxlentan2step" type="Num" maxsize="2"/>
            <DE name="tanformat" type="Code" maxsize="1"/>
            <DE name="inputinfo" type="AN" maxsize="30"/>
            <DE name="maxleninput2step" type="Num" maxsize="3"/>
            <DE name="noftanlists" type="Num" maxsize="1" minnum="0"/>
            <DE name="canmultitan" type="JN"/>
            <DE name="cantandelay" type="JN"/>
            
            <valids path="process">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
            <valids path="tanformat">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
        </DEGdef>

        <DEGdef id="TAN2StepParams2">
            <DE name="secfunc" type="Code" maxsize="3"/>
            <DE name="process" type="Code" maxsize="1"/>
            <DE name="id" type="ID"/>
            <DE name="name" type="AN" maxsize="30"/>
            <DE name="maxlentan2step" type="Num" maxsize="2"/>
            <DE name="tanformat" type="Code" maxsize="1"/>
            <DE name="inputinfo" type="AN" maxsize="30"/>
            <DE name="maxleninput2step" type="Num" maxsize="3"/>
            <DE name="noftanlists" type="Num" maxsize="1" minnum="0"/>
            <DE name="canmultitan" type="JN"/>
            <DE name="cantandelay" type="Code" maxsize="1"/>
            <DE name="needtanlistidx" type="Code" maxsize="1"/>
            <DE name="canstorno" type="JN"/>
            <DE name="needchallengeklass" type="JN"/>
            <DE name="needchallengevalue" type="JN"/>
            
            <valids path="process">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
            <valids path="tanformat">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
        </DEGdef>

        <DEGdef id="TAN2StepParams3">
            <DE name="secfunc" type="Code" maxsize="3"/>
            <DE name="process" type="Code" maxsize="1"/>
            <DE name="id" type="ID"/>
            <DE name="name" type="AN" maxsize="30"/>
            <DE name="maxlentan2step" type="Num" maxsize="2"/>
            <DE name="tanformat" type="Code" maxsize="1"/>
            <DE name="inputinfo" type="AN" maxsize="30"/>
            <DE name="maxleninput2step" type="Num" maxsize="3"/>
            <DE name="noftanlists" type="Num" maxsize="1" minnum="0"/>
            <DE name="canmultitan" type="JN"/>
            <DE name="cantandelay" type="Code" maxsize="1"/>
            <DE name="needtanlistidx" type="Code" maxsize="1"/>
            <DE name="canstorno" type="JN"/>
            <DE name="needchallengeklass" type="JN"/>
            <DE name="needchallengevalue" type="JN"/>
            <DE name="initmode" type="Code"/>
            <DE name="needtanmedia" type="Code"/>
            <DE name="nofactivetanmedia" type="Num" maxsize="1" minnum="0"/>
            
            <valids path="process">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
            <valids path="tanformat">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
        </DEGdef>

        <DEGdef id="TAN2StepParams4">
            <DE name="secfunc" type="Code" maxsize="3"/>
            <DE name="process" type="Code" maxsize="1"/>
            <DE name="id" type="ID"/>
            <DE name="zkamethod_name" type="AN" maxsize="32" minnum="0" />
            <DE name="zkamethod_version" type="AN" maxsize="10" minnum="0" />
            <DE name="name" type="AN" maxsize="30"/>
            <DE name="maxlentan2step" type="Num" maxsize="2"/>
            <DE name="tanformat" type="Code" maxsize="1"/>
            <DE name="inputinfo" type="AN" maxsize="30"/>
            <DE name="maxleninput2step" type="Num" maxsize="3"/>
            <DE name="noftanlists" type="Num" maxsize="1" minnum="0"/>
            <DE name="canmultitan" type="JN"/>
            <DE name="cantandelay" type="Code" maxsize="1"/>
            <DE name="needtanlistidx" type="Code" maxsize="1"/>
            <DE name="canstorno" type="JN"/>
            <DE name="needsmsaccount" type="JN" />
            <DE name="needchallengeklass" type="JN"/>
            <DE name="needchallengevalue" type="JN"/>
            <DE name="ischallengestructured" type="JN" />
            <DE name="initmode" type="Code"/>
            <DE name="needtanmedia" type="Code"/>
            <DE name="nofactivetanmedia" type="Num" maxsize="1" minnum="0"/>
            
            <valids path="process">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
            <valids path="tanformat">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
        </DEGdef>

        <DEGdef id="TAN2StepParams5">
            <DE name="secfunc" type="Code" maxsize="3"/>
            <DE name="process" type="Code" maxsize="1"/>
            <DE name="id" type="ID"/>
            <DE name="zkamethod_name" type="AN" maxsize="32" minnum="0" />
            <DE name="zkamethod_version" type="AN" maxsize="10" minnum="0" />
            <DE name="name" type="AN" maxsize="30"/>
            <DE name="maxlentan2step" type="Num" maxsize="2"/>
            <DE name="tanformat" type="Code" maxsize="1"/>
            <DE name="inputinfo" type="AN" maxsize="30"/>
            <DE name="maxleninput2step" type="Num" maxsize="4"/>
            <DE name="noftanlists" type="Num" maxsize="1" minnum="0"/>
            <DE name="canmultitan" type="JN"/>
            <DE name="cantandelay" type="Code" maxsize="1"/>
            <DE name="needtanlistidx" type="Code" maxsize="1"/>
            <DE name="canstorno" type="JN"/>
            <DE name="needsmsaccount" type="Code" maxsize="1"/>
            <DE name="needorderaccount" type="Code" maxsize="1"/>
            <DE name="needchallengeklass" type="JN"/>
            <DE name="ischallengestructured" type="JN" />
            <DE name="initmode" type="Code"/>
            <DE name="needtanmedia" type="Code"/>
            <DE name="nofactivetanmedia" type="Num" maxsize="1" minnum="0"/>
            
            <valids path="process">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
            <valids path="tanformat">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
        </DEGdef>

        <DEGdef id="TAN2StepParams6">
            <DE name="secfunc" type="Code" maxsize="3"/>
            <DE name="process" type="Code" maxsize="1"/>
            <DE name="id" type="ID"/>
            <DE name="zkamethod_name" type="AN" maxsize="32" minnum="0" />
            <DE name="zkamethod_version" type="AN" maxsize="10" minnum="0" />
            <DE name="name" type="AN" maxsize="30"/>
            <DE name="maxlentan2step" type="Num" maxsize="2"/>
            <DE name="tanformat" type="Code" maxsize="1"/>
            <DE name="inputinfo" type="AN" maxsize="30"/>
            <DE name="maxleninput2step" type="Num" maxsize="4"/>
            <DE name="canmultitan" type="JN"/>
            <DE name="cantandelay" type="Code" maxsize="1"/>
            <DE name="canstorno" type="JN"/>
            <DE name="needsmsaccount" type="Code" maxsize="1"/>
            <DE name="needorderaccount" type="Code" maxsize="1"/>
            <DE name="needchallengeklass" type="JN"/>
            <DE name="ischallengestructured" type="JN" />
            <DE name="initmode" type="Code"/>
            <DE name="needtanmedia" type="Code"/>
            <DE name="need_hhducresponse" type="JN"/>
            <DE name="nofactivetanmedia" type="Num" maxsize="1" minnum="0"/>
            
            <valids path="process">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
            <valids path="tanformat">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
        </DEGdef>

        <DEGdef id="TAN2StepParams7"> <!-- FinTS3.0 Security v10.07.2020 S.173 -->
            <DE name="secfunc" type="Code" maxsize="3"/>
            <DE name="process" type="Code" maxsize="1"/>
            <DE name="id" type="ID"/>
            <DE name="zkamethod_name" type="AN" maxsize="32" minnum="0" /> <!-- umbenannt "{ZKA -> DK} TAN Verfahren" -->
            <DE name="zkamethod_version" type="AN" maxsize="10" minnum="0" />
            <DE name="name" type="AN" maxsize="30"/>
            <DE name="maxlentan2step" type="Num" maxsize="2"/> <!-- leer bei DK TAN "Decoupled" -->
            <DE name="tanformat" type="Code" maxsize="1"/> <!-- leer bei DK TAN "Decoupled" -->
            <DE name="inputinfo" type="AN" maxsize="30"/>
            <DE name="maxleninput2step" type="Num" maxsize="4"/>
            <DE name="canmultitan" type="JN"/>
            <DE name="cantandelay" type="Code" maxsize="1"/>
            <DE name="canstorno" type="JN"/>
            <DE name="needsmsaccount" type="Code" maxsize="1"/>
            <DE name="needorderaccount" type="Code" maxsize="1"/>
            <DE name="needchallengeklass" type="JN"/>
            <DE name="ischallengestructured" type="JN"/>
            <DE name="initmode" type="Code"/>
            <DE name="needtanmedia" type="Code"/>
            <DE name="need_hhducresponse" type="JN"/>
            <DE name="nofactivetanmedia" type="Num" maxsize="1" minnum="0"/>

            <!-- region neue Parameter (nur bei DK TAN "Decoupled*" relevant) -->
            <!-- Maximale Anzahl Statusabfragen -->
            <!-- Gibt die maximale Anzahl der Statusabfragen mit TAN-Prozess=S
                 beim Decoupled-Verfahren an. Wird haeufiger abgefragt, so kann
                 dies vom Kreditinstitut analog einer TAN-Fehleingabe gewertet
                 werden. Ist das Feld mit 0 belegt, koennen unendlich viele
                 Abfragen getaetigt werden. -->
            <DE name="decoupled_max_status_requests" type="Num" maxsize="3" minnum="0"/>
            <!-- Wartezeit (in Sekunden) vor erster Statusabfrage -->
            <DE name="decoupled_time_before_first_status_request" type="Num" maxsize="3" minnum="0"/>
            <!-- Wartezeit (in Sekunden) vor naechster Statusabfrage -->
            <DE name="decoupled_time_before_next_status_request" type="Num" maxsize="3" minnum="0"/>
            <!-- Manuelle Bestaetigung moeglich -->
            <!-- Hiermit wird mitgeteilt, ob der Kunde in Verbindung mit zeit-
                 gesteuerten automatisierten Abfragen durch das Kundenprodukt
                 waehrend der Wartezeit im Kundenprodukt auch manuell bestaetigen
                 kann, dass er kurz zuvor eine Sicherheitsfreigabe auf einem
                 anderen Geraet erteilt hat. -->
            <DE name="decoupled_manual_ack_allowed" type="JN"/>
            <!-- Automatisierte Statusabfragen erlaubt -->
            <!-- Hiermit wird festgelegt, ob das Kundenprodukt automatisierten
                 Statusabfragen im Decoupled-Verfahren ermoeglicht oder, ob der
                 Kunde die Freigabe des Auftrags auf seinem anderen Geraet
                 manuell im Kundenprodukt bestaetigen soll. -->
            <DE name="decoupled_auto_status_request_allowed" type="JN"/>
            <!-- endregion -->

            <valids path="process">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
            <valids path="zkamethod_name"> <!-- siehe S. 123 -->
                <validvalue>HHD</validvalue> <!-- [HHD], [HHD-Belegung] -->
                <validvalue>HHDUC</validvalue> <!-- [HHD], [HHD-Belegung] -->
                <validvalue>HHDOPT1</validvalue> <!-- [HHD], [HHD-Belegung], [HHD-Erweiterung] -->
                <validvalue>mobileTAN</validvalue>
                <!-- neu mit Version 7 -->
                <validvalue>App</validvalue> <!-- App-basierte TAN-Verfahren -->
                <validvalue>Decoupled</validvalue> <!-- Decoupled-Verfahren -->
                <validvalue>DecoupledPush</validvalue> <!-- Decoupled-Verfahren mit Push-Infrastruktur -->
            </valids>
            <valids path="tanformat">
                <validvalue>1</validvalue> <!-- numerisch -->
                <validvalue>2</validvalue> <!-- alphanumerisch -->
            </valids>
            <valids path="needsmsaccount">
                <validvalue>0</validvalue> <!-- SMS-Abbuchungskonto darf nicht angegeben werden -->
                <validvalue>1</validvalue> <!-- ... kann angegeben werden -->
                <validvalue>2</validvalue> <!-- ... muss angegeben werden -->
            </valids>
            <valids path="needorderaccount"> <!-- Wert "1" nicht erlaubt -->
                <validvalue>0</validvalue> <!-- Auftraggeberkonto darf nicht angegeben werden -->
                <validvalue>2</validvalue> <!-- Auftraggeberkonto muss angegeben werden, wenn im Geschaeftsvorfall enthalten -->
            </valids>
        </DEGdef>

        <DEGdef id="TANInfo">
            <DE name="usagecode" type="Code" maxsize="2"/>
            <DE name="usagetxt" type="AN" maxsize="99" minnum="0"/>
            <DE name="tan" type="AN" maxsize="99" minnum="0"/>
            <DE name="usagedate" type="Date" minnum="0"/>
            <DE name="usagetime" type="Time" minnum="0"/>
        </DEGdef>

        <!--  macemmi 2012-02-20 BEGIN HKTAB -->
        <DEGdef id="TANMediaInfo1">
            <DE name="mediacategory" type="AN" maxsize="1"/>
            <DE name="status" type="Code" maxsize="1"/>
            <DE name="cardnumber" type="ID" minnum="0"/>
            <DE name="cardseqnumber" type="ID" minnum="0"/>
            <DE name="tanlistnumber" type="AN" maxsize="20" minnum="0"/>
            <DE name="freetans" type="Num" maxsize="3" minnum="0"/>
            <DE name="lastuse" type="Date" minnum="0"/>
            <DE name="activatedon" type="Date" minnum="0"/>
            
            <valids path="mediacategory">
                <validvalue>G</validvalue>
                <validvalue>L</validvalue>
            </valids>
            <valids path="status">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="TANMediaInfo2">
            <DE name="mediacategory" type="AN" maxsize="1"/>
            <DE name="status" type="Code" maxsize="1"/>
            <DE name="cardnumber" type="ID" minnum="0"/>
            <DE name="cardseqnumber" type="ID" minnum="0"/>
            <DE name="cardtype" type="Num" maxsize="2" minnum="0"/>
            <DEG type="KTV2opt" name="KTV" minnum="0"/>
            <DE name="validfrom" type="Date" minnum="0"/>
            <DE name="validto" type="Date" minnum="0"/>
            <DE name="tanlistnumber" type="AN" maxsize="20" minnum="0"/>
            <DE name="medianame" type="AN" maxsize="32" minnum="0"/>
            <DEG type="KTVInt" name="smsaccount" minnum="0"/>
            <DE name="freetans" type="Num" maxsize="3" minnum="0"/>
            <DE name="lastuse" type="Date" minnum="0"/>
            <DE name="activatedon" type="Date" minnum="0"/>
            
            <valids path="mediacategory">
                <validvalue>G</validvalue>
                <validvalue>L</validvalue>
                <validvalue>M</validvalue>
            </valids>
            <valids path="status">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="TANMediaInfo3">
            <DE name="mediacategory" type="AN" maxsize="1"/>
            <DE name="status" type="Code" maxsize="1"/>
            <DE name="cardnumber" type="ID" minnum="0"/>
            <DE name="cardseqnumber" type="ID" minnum="0"/>
            <DE name="cardtype" type="Num" maxsize="2" minnum="0"/>
            <DEG type="KTV2opt" name="KTV" minnum="0"/>
            <DE name="validfrom" type="Date" minnum="0"/>
            <DE name="validto" type="Date" minnum="0"/>
            <DE name="tanlistnumber" type="AN" maxsize="20" minnum="0"/>
            <DE name="medianame" type="AN" maxsize="32" minnum="0"/>
            <DE name="mobilenumber_secure" type="AN" maxsize="35" minnum="0"/>
            <DEG type="KTVInt" name="smsaccount" minnum="0"/>
            <DE name="freetans" type="Num" maxsize="3" minnum="0"/>
            <DE name="lastuse" type="Date" minnum="0"/>
            <DE name="activatedon" type="Date" minnum="0"/>
            
            <valids path="mediacategory">
                <validvalue>G</validvalue>
                <validvalue>L</validvalue>
                <validvalue>M</validvalue>
                <validvalue>S</validvalue>
            </valids>
            <valids path="status">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
        </DEGdef>

        <DEGdef id="TANMediaInfo4">
            <DE name="mediacategory" type="AN" maxsize="1"/>
            <DE name="status" type="Code" maxsize="1"/>
            <DE name="cardnumber" type="ID" minnum="0"/>
            <DE name="cardseqnumber" type="ID" minnum="0"/>
            <DE name="cardtype" type="Num" maxsize="2" minnum="0"/>
            <DEG type="KTV2opt" name="KTV" minnum="0"/>
            <DE name="validfrom" type="Date" minnum="0"/>
            <DE name="validto" type="Date" minnum="0"/>
            <DE name="tanlistnumber" type="AN" maxsize="20" minnum="0"/>
            <DE name="medianame" type="AN" maxsize="32" minnum="0"/>
            <DE name="mobilenumber_secure" type="AN" maxsize="35" minnum="0"/>
            <DE name="mobilenumber" type="AN" maxsize="35" minnum="0"/>
            <DEG type="KTVInt" name="smsaccount" minnum="0"/>
            <DE name="freetans" type="Num" maxsize="3" minnum="0"/>
            <DE name="lastuse" type="Date" minnum="0"/>
            <DE name="activatedon" type="Date" minnum="0"/>
            
            <valids path="mediacategory">
                <validvalue>G</validvalue>
                <validvalue>L</validvalue>
                <validvalue>M</validvalue>
                <validvalue>S</validvalue>
                <validvalue>A</validvalue>
            </valids>
            <valids path="status">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
        </DEGdef>

        <DEGdef id="TANMediaInfo5">
            <DE name="mediacategory" type="AN" maxsize="1"/>
            <DE name="status" type="Code" maxsize="1"/>
            <DE name="secfunc" type="Code" maxsize="3" minnum="0"/>
            <DE name="cardnumber" type="ID" minnum="0"/>
            <DE name="cardseqnumber" type="ID" minnum="0"/>
            <DE name="cardtype" type="Num" maxsize="2" minnum="0"/>
            <DEG type="KTV2opt" name="KTV" minnum="0"/>
            <DE name="validfrom" type="Date" minnum="0"/>
            <DE name="validto" type="Date" minnum="0"/>
            <DE name="tanlistnumber" type="AN" maxsize="20" minnum="0"/>
            <DE name="medianame" type="AN" maxsize="32" minnum="0"/>
            <DE name="mobilenumber_secure" type="AN" maxsize="35" minnum="0"/>
            <DE name="mobilenumber" type="AN" maxsize="35" minnum="0"/>
            <DEG type="KTVInt" name="smsaccount" minnum="0"/>
            <DE name="freetans" type="Num" maxsize="3" minnum="0"/>
            <DE name="lastuse" type="Date" minnum="0"/>
            <DE name="activatedon" type="Date" minnum="0"/>
            
            <valids path="mediacategory">
                <validvalue>G</validvalue>
                <validvalue>L</validvalue>
                <validvalue>M</validvalue>
                <validvalue>S</validvalue>
                <validvalue>A</validvalue>
                <validvalue>B</validvalue>
            </valids>
            <valids path="status">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
        </DEGdef>
                
        <!--  macemmi 2012-02-20 END HKTAB -->
        
        <DEGdef id="TimeRange">
            <DE name="startdate" type="Date"/>
            <DE name="enddate" type="Date"/>
        </DEGdef>
        
        <DEGdef id="Timestamp">
            <DE name="date" type="Date"/>
            <DE name="time" type="Time" minnum="0"/>
        </DEGdef>

        <DEGdef id="usage1"> <!-- 2.01 -->
            <DE name="usage" type="DTAUS" maxsize="27" minnum="0" maxnum="99"/>
        </DEGdef>

        <DEGdef id="usage2"> <!-- 2.1 -->
            <DE name="usage" type="DTAUS" maxsize="27" minnum="0" maxnum="99"/>
        </DEGdef>

        <DEGdef id="usage3"> <!-- 2.2 -->
            <DE name="usage" type="DTAUS" maxsize="27" minnum="0" maxnum="99"/>
        </DEGdef>
        
        <DEGdef id="WPBInfo1"> <!-- 2.1 -->
            <DE name="boerse" type="AN" minsize="4" maxsize="4"/>
            <DE name="curr" type="Cur"/>
            <DE name="smallestunit" type="Wrt" minnum="0"/>
            <DE name="marktsegment" type="AN" maxsize="1" minnum="0" maxnum="9"/>
        </DEGdef>
        
        <DEGdef id="WPBInfo2"> <!-- 2.2 -->
            <DE name="boerse" type="AN" minsize="4" maxsize="4"/>
            <DE name="curr" type="Cur"/>
            <DE name="type" type="AN" maxsize="2" minnum="0"/>
            <DE name="typeXETRA" type="AN" maxsize="2" minnum="0"/>
            <DE name="smallestunit" type="Wrt" minnum="0"/>
            <DE name="marktsegmentausland" type="AN" maxsize="80" minnum="0"/>
            <DE name="marktsegment" type="AN" maxsize="1" minnum="0" maxnum="9"/>
        </DEGdef>
        
        <DEGdef id="WPBKurs">
            <DE name="kurs" type="Wrt"/>
            <DE name="curr" type="Cur"/>
            <DE name="addkurs" type="AN" maxsize="5" minnum="0"/>
            <DE name="date" type="Date"/>
            <DE name="time" type="Time" minnum="0"/>
            <DE name="boerse" type="AN" minsize="4" maxsize="4" minnum="0"/>
        </DEGdef>
        
        <DEGdef id="WPImpInfo">
            <DE name="type" type="Num" maxsize="1"/>
            <DE name="cat" type="AN" maxsize="30" minnum="0"/>
            <DE name="date" type="Date"/>
            <DE name="version" type="Num" maxsize="3"/>
            <DE name="comment" type="AN" maxsize="2048" minnum="0"/>
            
            <valids path="type">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="WPKursData">
            <DE name="boerse" type="AN" minsize="4" maxsize="4"/>
            <DE name="notizeinheit" type="Num" maxsize="1"/>
            <DE name="curr" type="Cur" minnum="0"/>
            <DE name="date" type="Date" minnum="0"/>
            <DE name="time" type="Time" minnum="0"/>
            <DE name="Kassakurs.kurs" type="Wrt" minnum="0"/>
            <DE name="Vorboerse.kurs" type="Wrt" minnum="0"/>
            <DE name="Openkurs.kurs" type="Wrt" minnum="0"/>
            <DE name="Lastkurs.kurs" type="Wrt" minnum="0"/>
            <DE name="addkurs" type="AN" maxsize="5" minnum="0"/>
            <DE name="Nachboerse.kurs" type="Wrt" minnum="0"/>
            <DE name="zeitbezug" type="AN" maxsize="1" minnum="0"/>
            <DE name="Annmax.kurs" type="Wrt" minnum="0"/>
            <DE name="Annmin.kurs" type="Wrt" minnum="0"/>
            <DE name="Prevdaykurs.kurs" type="Wrt" minnum="0"/>
            <DE name="Outputprice.kurs" type="Wrt" minnum="0"/>
            <DE name="Retprice.kurs" type="Wrt" minnum="0"/>
            
            <valids path="notizeinheit">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
                <validvalue>9</validvalue>
            </valids>
            <valids path="zeitbezug">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="WPRef">
            <DE name="type" type="Num" maxsize="1"/>
            <DE name="code" type="AN" maxsize="30"/>
            
            <valids path="type">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="WPStammAktien">
            <DE name="boerse" type="AN" minsize="4" maxsize="4" minnum="0"/>
            <DE name="nennwert.value" type="Wrt" minnum="0"/>
            <DE name="kapitalchange" type="Num" maxsize="1" minnum="0"/>
            <DE name="kapitalchangevalue.value" type="Wrt" minnum="0"/>
            <DE name="dividende.value" type="Wrt" minnum="0"/>
            <DE name="hvtermin" type="Date" minnum="0"/>

            <valids path="kapitalchange">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="WPStammFonds">
            <DE name="faelligkeit" type="Date" minnum="0"/>
            <DE name="wiederanlagerabattvon" type="Date" minnum="0"/>
            <DE name="wiederanlagerabattBIS" type="Date" minnum="0"/>
            <DE name="wiederanlagerabatt" type="Wrt" minnum="0"/>
            <DE name="ausgabeaufschlag" type="Wrt" minnum="0"/>
            <DE name="verwaltungsgebuehr" type="Wrt" minnum="0"/>
            <DE name="depotbankgebuehr" type="Wrt" minnum="0"/>
            <DE name="info" type="AN" maxsize="2048" minnum="0"/>
        </DEGdef>
        
        <DEGdef id="WPStammOptions">
            <DE name="boerse" type="AN" minsize="4" maxsize="4" minnum="0"/>
            <DE name="faelligkeit" type="Date" minnum="0"/>
            <DE name="underlying" type="AN" maxsize="35" minnum="0"/>
            <DE name="bezugsverhaeltnis" type="AN" maxsize="35" minnum="0"/>
        </DEGdef>
        
        <DEGdef id="WPStammRenten">
            <DE name="boerse" type="AN" minsize="4" maxsize="4" minnum="0"/>
            <DE name="zinssatz" type="Wrt" minnum="0"/>
            <DE name="emissdate" type="Date" minnum="0"/>
            <DE name="faelligkeit" type="Date" minnum="0"/>
            <DE name="firstzinstermin" type="Date" minnum="0"/>
            <DE name="zinsperiode" type="Num" maxsize="1" minnum="0"/>
            <DE name="einloesungskurs" type="Wrt" minnum="0"/>
            <DE name="einloesungstype" type="Num" maxsize="1" minnum="0"/>
            
            <valids path="zinsperiode">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
                <validvalue>9</validvalue>
            </valids>
            <valids path="einloesungstype">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
                <validvalue>5</validvalue>
                <validvalue>9</validvalue>
            </valids>
        </DEGdef>
        
        <DEGdef id="WPTypes">
            <DE name="type" type="AN" maxsize="35" maxnum="99"/>
        </DEGdef>
        
        <DEGdef id="WPZinsTermine">
            <DE name="termin" type="Dig" minsize="4" maxsize="4" maxnum="99"/>
        </DEGdef>
    </DEGs>

    <SEGs>
        <SEGdef id="BPA3">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="version" type="Num" maxsize="3"/>
            <DEG type="KIK"/>
            <DE name="kiname" type="AN" maxsize="60"/>
            <DE name="numgva" type="Num" maxsize="3"/>
            <DEG type="SuppLangs"/>
            <DEG type="SuppVersions"/>
            <DE name="maxmsgsize" type="Num" maxsize="4" minnum="0"/>
            <DE name="timeout_min" type="Num" maxsize="4" minnum="0"/>
            <DE name="timeout_max" type="Num" maxsize="4" minnum="0"/>

            <value path="SegHead.code">HIBPA</value>
            <value path="SegHead.version">3</value>
        </SEGdef>

        <SEGdef id="CompMethod1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="SuppCompMethods" maxnum="9"/>

            <value path="SegHead.code">HIKPV</value>
            <value path="SegHead.version">1</value>
        </SEGdef>

        <SEGdef id="CryptHeadInst">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="SecProfile"/>
            <DE name="secfunc" type="Code" maxsize="3"/>
            <DE name="role" type="Code" maxsize="3"/>
            <DEG type="SecIdnDetails"/>
            <DEG type="SecTimestamp"/>
            <DEG type="CryptAlg"/>
            <DEG type="KeyName"/>
            <DE name="compfunc" type="Code" maxsize="3"/>
            <DEG type="Cert" minnum="0"/>

            <valids path="secfunc">
                <validvalue>4</validvalue>
                <validvalue>998</validvalue>
            </valids>
            <valids path="role">
                <validvalue>1</validvalue>
                <validvalue>4</validvalue>
            </valids>

            <value path="SegHead.code">HNVSK</value>
            <value path="SegHead.version">3</value>
            <value path="SecTimestamp.type">1</value>
            <value path="KeyName.keytype">V</value>
        </SEGdef>
        <SEGdef id="CryptHeadUser">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="SecProfile"/>
            <DE name="secfunc" type="Code" maxsize="3"/>
            <DE name="role" type="Code" maxsize="3"/>
            <DEG type="SecIdnDetails"/>
            <DEG type="SecTimestamp"/>
            <DEG type="CryptAlg"/>
            <DEG type="KeyName"/>
            <DE name="compfunc" type="Code" maxsize="3"/>
            <DEG type="Cert" minnum="0"/>

            <valids path="secfunc">
                <validvalue>4</validvalue>
                <validvalue>998</validvalue>
            </valids>
            <valids path="role">
                <validvalue>1</validvalue>
                <validvalue>4</validvalue>
            </valids>

            <value path="SegHead.code">HNVSK</value>
            <value path="SegHead.version">3</value>
            <value path="SecTimestamp.type">1</value>
            <value path="KeyName.keytype">V</value>
        </SEGdef>

        <SEGdef id="CryptDataInst">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="data" type="Bin" maxsize="0"/>

            <value path="SegHead.code">HNVSD</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="CryptDataUser">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="data" type="Bin" maxsize="0"/>

            <value path="SegHead.code">HNVSD</value>
            <value path="SegHead.version">1</value>
        </SEGdef>

        <SEGdef id="DialogEndS">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="dialogid" type="ID"/>

            <value path="SegHead.code">HKEND</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="Idn">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KIK"/>
            <DE name="customerid" type="ID"/>
            <DE name="sysid" type="ID"/>
            <DE name="sysStatus" type="Num" maxsize="1"/>

            <valids path="sysStatus">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
            </valids>

            <value path="SegHead.code">HKIDN</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="KeyChange">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="msgtype" type="Code" maxsize="1"/>
            <DE name="func" type="Code" maxsize="3"/>
            <DEG type="SecProfile"/>
            <DEG type="KeyName"/>
            <DEG type="PubKey"/>
            <DEG type="Cert" minnum="0"/>

            <value path="SegHead.code">HKSAK</value>
            <value path="SegHead.version">3</value>
            <value path="msgtype">2</value>
            <value path="func">112</value>
        </SEGdef>

        <SEGdef id="KeyLock">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="msgtype" type="Code" maxsize="1"/>
            <DE name="func" type="Code" maxsize="3"/>
            <DEG type="SecProfile"/>
            <DEG type="KeyName"/>
            <DE name="locktype" type="Code" maxsize="3"/>
            <DEG type="SecTimestamp" minnum="0"/>
            <DEG type="Cert" minnum="0"/>

            <valids path="locktype">
                <validvalue>1</validvalue>
                <validvalue>501</validvalue>
                <validvalue>999</validvalue>
            </valids>

            <value path="SegHead.code">HKSSP</value>
            <value path="SegHead.version">3</value>
            <value path="msgtype">2</value>
            <value path="func">130</value>
            <value path="KeyName.keytype">S</value>
        </SEGdef>

        <SEGdef id="KeyLockAck">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="msgtype" type="Code" maxsize="1"/>
            <DE name="dialogidref" type="ID"/>
            <DE name="msgnumref" type="Num" maxsize="4"/>
            <DE name="func" type="Code" maxsize="3"/>
            <DEG type="KeyName"/>
            <DE name="locktype" type="AN" maxsize="3"/>
            <DEG type="SecTimestamp"/>
            <DEG type="Cert" minnum="0"/>

            <valids path="locktype">
                <validvalue>1</validvalue>
                <validvalue>501</validvalue>
                <validvalue>999</validvalue>
            </valids>

            <value path="SegHead.code">HISSP</value>
            <value path="SegHead.version">3</value>
            <value path="msgtype">1</value>
            <value path="func">231</value>
        </SEGdef>

        <SEGdef id="KeyReq">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="type" type="Code" maxsize="1"/>
            <DE name="func" type="Code" maxsize="3"/>
            <DEG type="SecProfile"/>
            <DEG type="KeyName"/>
            <DEG type="Cert" minnum="0"/>

            <value path="SegHead.code">HKISA</value>
            <value path="SegHead.version">3</value>
            <value path="type">2</value>
            <value path="func">124</value>
        </SEGdef>

        <SEGdef id="KIMsg">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="betreff" type="AN" maxsize="35"/>
            <DE name="text" type="AN" maxsize="2048"/>

            <value path="SegHead.code">HIKIM</value>
            <value path="SegHead.version">2</value>
        </SEGdef>

        <SEGdef id="KInfo5">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KTV2" name="KTV" minnum="0"/>
            <DE name="customerid" type="ID"/>
            <DE name="acctype" type="Num" maxsize="2" minnum="0"/>
            <DE name="cur" type="Cur" minnum="0"/>
            <DE name="name1" type="AN" maxsize="35"/>
            <DE name="name2" type="AN" maxsize="35" minnum="0"/>
            <DE name="konto" type="AN" maxsize="30" minnum="0"/>
            <DEG type="KLimit" minnum="0"/>
            <DEG type="AllowedGV" minnum="0" maxnum="999"/>

            <value path="SegHead.code">HIUPD</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="KInfo6">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KTV2" name="KTV" minnum="0"/>
            <DE name="iban" type="AN" maxsize="35" minnum="0"/>
            <DE name="customerid" type="ID"/>
            <DE name="acctype" type="Num" maxsize="2" minnum="0"/>
            <DE name="cur" type="Cur" minnum="0"/>
            <DE name="name1" type="AN" maxsize="35"/>
            <DE name="name2" type="AN" maxsize="35" minnum="0"/>
            <DE name="konto" type="AN" maxsize="30" minnum="0"/>
            <DEG type="KLimit" minnum="0"/>
            <DEG type="AllowedGV" minnum="0" maxnum="999"/>
            <DE name="accountdata" type="AN" maxsize="2048" minnum="0"/>

            <value path="SegHead.code">HIUPD</value>
            <value path="SegHead.version">6</value>
        </SEGdef>

        <SEGdef id="MsgHeadInst">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="msgsize" type="Dig" minsize="12" maxsize="12"/>
            <DE name="hbciversion" type="Num" maxsize="3"/>
            <DE name="dialogid" type="ID"/>
            <DE name="msgnum" type="Num" maxsize="4"/>
            <DEG type="MsgRef"/>

            <value path="SegHead.code">HNHBK</value>
            <value path="SegHead.version">3</value>
            <value path="hbciversion">300</value>
        </SEGdef>
        <SEGdef id="MsgHeadUser">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="msgsize" type="Dig" minsize="12" maxsize="12"/>
            <DE name="hbciversion" type="Num" maxsize="3"/>
            <DE name="dialogid" type="ID"/>
            <DE name="msgnum" type="Num" maxsize="4"/>

            <value path="SegHead.code">HNHBK</value>
            <value path="SegHead.version">3</value>
            <value path="hbciversion">300</value>
        </SEGdef>

        <SEGdef id="MsgTailInst">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="msgnum" type="Num" maxsize="4"/>

            <value path="SegHead.code">HNHBS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="MsgTailUser">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="msgnum" type="Num" maxsize="4"/>

            <value path="SegHead.code">HNHBS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="ProcPrep">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="BPD" type="Num" maxsize="3"/>
            <DE name="UPD" type="Num" maxsize="3"/>
            <DE name="lang" type="Num" maxsize="3"/>
            <DE name="prodName" type="AN" maxsize="25"/>
            <DE name="prodVersion" type="AN" maxsize="5"/>

            <valids path="lang">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
            </valids>

            <value path="SegHead.code">HKVVB</value>
            <value path="SegHead.version">3</value>
        </SEGdef>

        <SEGdef id="RetGlob">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="RetVal" maxnum="99"/>

            <value path="SegHead.code">HIRMG</value>
            <value path="SegHead.version">2</value>
        </SEGdef>

        <SEGdef id="RetSeg">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="RetVal" maxnum="99"/>

            <value path="SegHead.code">HIRMS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>

        <SEGdef id="SecMethod3">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="mixing" type="JN"/>
            <DEG type="SuppSecMethods" maxnum="9"/>

            <value path="SegHead.code">HISHV</value>
            <value path="SegHead.version">3</value>
        </SEGdef>

        <SEGdef id="SendPubKey">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="type" type="Code" maxsize="1"/>
            <DE name="dialogid" type="ID"/>
            <DE name="msgnum" type="Num" maxsize="4"/>
            <DE name="func" type="Code" maxsize="3"/>
            <DEG type="KeyName"/>
            <DEG type="PubKey"/>
            <DEG type="Cert" minnum="0"/>

            <value path="SegHead.code">HIISA</value>
            <value path="SegHead.version">3</value>
            <value path="type">1</value>
            <value path="func">224</value>
        </SEGdef>

        <SEGdef id="SigHeadInst">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="SecProfile"/>
            <DE name="secfunc" type="Code" maxsize="3"/>
            <DE name="seccheckref" type="AN" maxsize="14"/>
            <DE name="range" type="Code" maxsize="3"/>
            <DE name="role" type="AN" maxsize="3"/>
            <DEG type="SecIdnDetails"/>
            <DE name="secref" type="Num" maxsize="16"/>
            <DEG type="SecTimestamp"/>
            <DEG type="HashAlg"/>
            <DEG type="SigAlg"/>
            <DEG type="KeyName"/>
            <DEG type="Cert" minnum="0"/>

            <valids path="range">
                <validvalue>1</validvalue>
            </valids>
            <valids path="role">
                <validvalue>1</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>

            <value path="SegHead.code">HNSHK</value>
            <value path="SegHead.version">4</value>
            <value path="range">1</value>
            <value path="SecTimestamp.type">1</value>
            <value path="KeyName.keytype">S</value>
        </SEGdef>
        <SEGdef id="SigHeadUser">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="SecProfile"/>
            <DE name="secfunc" type="Code" maxsize="3"/>
            <DE name="seccheckref" type="AN" maxsize="14"/>
            <DE name="range" type="AN" maxsize="3"/>
            <DE name="role" type="AN" maxsize="3"/>
            <DEG type="SecIdnDetails"/>
            <DE name="secref" type="Num" maxsize="16"/>
            <DEG type="SecTimestamp"/>
            <DEG type="HashAlg"/>
            <DEG type="SigAlg"/>
            <DEG type="KeyName"/>
            <DEG type="Cert" minnum="0"/>

            <valids path="range">
                <validvalue>1</validvalue>
            </valids>
            <valids path="role">
                <validvalue>1</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>

            <value path="SegHead.code">HNSHK</value>
            <value path="SegHead.version">4</value>
            <value path="range">1</value>
            <value path="SecTimestamp.type">1</value>
            <value path="KeyName.keytype">S</value>
        </SEGdef>

        <SEGdef id="SigTailInst">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="seccheckref" type="AN" maxsize="14"/>
            <DE name="sig" type="Bin" maxsize="512" minnum="0"/>
            <DEG type="UserSig" minnum="0"/>

            <value path="SegHead.code">HNSHA</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="SigTailUser">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="seccheckref" type="AN" maxsize="14"/>
            <DE name="sig" type="Bin" maxsize="512" minnum="0"/>
            <DEG type="UserSig" minnum="0"/>

            <value path="SegHead.code">HNSHA</value>
            <value path="SegHead.version">2</value>
        </SEGdef>

        <SEGdef id="Sync">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="mode" type="Num" maxsize="1"/>

            <valids path="mode">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>

            <value path="SegHead.code">HKSYN</value>
            <value path="SegHead.version">3</value>
        </SEGdef>

        <SEGdef id="SyncRes3">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="sysid" type="ID" minnum="0"/>
            <DE name="msgnum" type="Num" maxsize="4" minnum="0"/>
            <DE name="sigid" type="Num" maxsize="16" minnum="0"/>

            <value path="SegHead.code">HISYN</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="SyncRes4">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="sysid" type="ID" minnum="0"/>
            <DE name="msgnum" type="Num" maxsize="4" minnum="0"/>
            <DE name="sigid" type="Num" maxsize="16" minnum="0"/>
            <DE name="sigid2" type="Num" maxsize="16" minnum="0"/>
            
            <value path="SegHead.code">HISYN</value>
            <value path="SegHead.version">4</value>
        </SEGdef>

        <SEGdef id="UPA2">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="userid" type="ID"/>
            <DE name="version" type="Num" maxsize="3"/>
            <DE name="usage" type="Num" maxsize="1"/>

            <valids path="usage">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
            </valids>

            <value path="SegHead.code">HIUPA</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="UPA3">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="userid" type="ID"/>
            <DE name="version" type="Num" maxsize="3"/>
            <DE name="usage" type="Num" maxsize="1"/>
            <DE name="username" type="AN" maxsize="35" minnum="0"/>

            <valids path="usage">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
            </valids>

            <value path="SegHead.code">HIUPA</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="UPA4">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="userid" type="ID"/>
            <DE name="version" type="Num" maxsize="3"/>
            <DE name="usage" type="Num" maxsize="1"/>
            <DE name="username" type="AN" maxsize="35" minnum="0"/>
            <DE name="userdata" type="AN" maxsize="2048" minnum="0"/>

            <valids path="usage">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
            </valids>

            <value path="SegHead.code">HIUPA</value>
            <value path="SegHead.version">4</value>
        </SEGdef>

        <!-- end of administrative segments -->
        
        <SEGdef id="AccInfo1"> <!-- 2.2 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV2" name="KTV"/>
            <DE name="allaccounts" type="JN"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKKIF</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="AccInfoRes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KTV2" name="My"/>
            <DE name="acctype" type="Num" maxsize="2"/>
            <DE name="name" type="AN" maxsize="35"/>
            <DE name="name2" type="AN" maxsize="35" minnum="0"/>
            <DE name="accbez" type="AN" maxsize="30" minnum="0"/>
            <DE name="curr" type="Cur" minnum="0"/>
            <DE name="opendate" type="Date" minnum="0"/>
            <DE name="sollzins" type="Wrt" minnum="0"/>
            <DE name="habenzins" type="Wrt" minnum="0"/>
            <DE name="overdrivezins" type="Wrt" minnum="0"/>
            <DEG type="BTG" name="kredit" minnum="0"/>
            <DEG type="KTV2" name="refkto" minnum="0"/>
            <DEG type="Address2" name="Address" minnum="0"/>
            <DE name="versandart" type="Num" maxsize="1" minnum="0"/>
            <DE name="turnus" type="Num" maxsize="1" minnum="0"/>
            <DE name="info" type="AN" maxsize="2048" minnum="0"/>
            <DEG type="Berechtigter1" name="Berechtigter" minnum="0" maxnum="9"/>
            
            <valids path="versandart">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
            <valids path="turnus">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
                <validvalue>5</validvalue>
                <validvalue>6</validvalue>
            </valids>
            
            <value path="SegHead.code">HIKIF</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="AccInfoPar1">
            &GVP;
            
            <value path="SegHead.code">HIKIFS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="AccInfo2"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="KTV"/>
            <DE name="allaccounts" type="JN"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKKIF</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="AccInfoRes2">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KTV3" name="My"/>
            <DE name="acctype" type="Num" maxsize="2"/>
            <DE name="name" type="AN" maxsize="35"/>
            <DE name="name2" type="AN" maxsize="35" minnum="0"/>
            <DE name="accbez" type="AN" maxsize="30" minnum="0"/>
            <DE name="curr" type="Cur" minnum="0"/>
            <DE name="opendate" type="Date" minnum="0"/>
            <DE name="sollzins" type="Wrt" minnum="0"/>
            <DE name="habenzins" type="Wrt" minnum="0"/>
            <DE name="overdrivezins" type="Wrt" minnum="0"/>
            <DEG type="BTG" name="kredit" minnum="0"/>
            <DEG type="KTV3" name="refkto" minnum="0"/>
            <DEG type="Address2" name="Address" minnum="0"/>
            <DE name="versandart" type="Code" maxsize="1" minnum="0"/>
            <DE name="turnus" type="Code" maxsize="1" minnum="0"/>
            <DE name="info" type="AN" maxsize="2048" minnum="0"/>
            <DEG type="Berechtigter2" name="Berechtigter" minnum="0" maxnum="9"/>
            
            <valids path="versandart">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
            <valids path="turnus">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
                <validvalue>5</validvalue>
                <validvalue>6</validvalue>
            </valids>
            
            <value path="SegHead.code">HIKIF</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="AccInfoPar2">
            &GVP2;
            
            &SecClassValids;
            
            <value path="SegHead.code">HIKIFS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="CardList1"> <!-- 2.2 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV2" name="KTV"/>
            
            <value path="SegHead.code">HKAZK</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="CardListRes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="cardtype" type="Num" maxsize="2"/>
            <DE name="cardnumber" type="ID"/>
            <DE name="nextcardnumber" type="ID" minnum="0"/>
            <DE name="name" type="AN" maxsize="35" minnum="0"/>
            <DE name="validfrom" type="Date" minnum="0"/>
            <DE name="validuntil" type="Date" minnum="0"/>
            <DEG type="BTG" name="cardlimit" minnum="0"/>
            <DE name="comment" type="AN" maxsize="2048" minnum="0"/>
            
            <value path="SegHead.code">HIAZK</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="CardListPar1">
            &GVP;
            
            <value path="SegHead.code">HIAZKS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="CardList2"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="KTV"/>
            
            <value path="SegHead.code">HKAZK</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="CardListRes2">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="cardtype" type="Num" maxsize="2"/>
            <DE name="cardbez" type="AN" maxsize="35"/>
            <DE name="cardnumber" type="ID"/>
            <DE name="nextcardnumber" type="ID" minnum="0"/>
            <DE name="name" type="AN" maxsize="35" minnum="0"/>
            <DE name="validfrom" type="Date" minnum="0"/>
            <DE name="validuntil" type="Date" minnum="0"/>
            <DEG type="BTG" name="cardlimit" minnum="0"/>
            <DE name="comment" type="AN" maxsize="2048" minnum="0"/>
            
            <value path="SegHead.code">HIAZK</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="CardListPar2">
            &GVP2;
            
            &SecClassValids;
            
            <value path="SegHead.code">HIAZKS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>

	<SEGdef id="ChangePIN1" needsRequestTag="1">
	    <DEG type="SegHeadUser" name="SegHead" />
	    <DE name="newpin" type="AN" maxsize="99" minnum="0" />

	    <value path="SegHead.code">HKPAE</value>
	    <value path="SegHead.version">1</value>
	</SEGdef>
	<SEGdef id="ChangePINPar1">
	    &GVP2;

	    &SecClassValids;

	    <value path="SegHead.code">HIPAES</value>
	    <value path="SegHead.version">1</value>
	</SEGdef>
        
	<SEGdef id="ChangePINOld1" needsRequestTag="1">
	    <DEG type="SegHeadUser" name="SegHead" />
	    <DE name="newpin" type="AN" maxsize="6" minnum="0" />

	    <value path="SegHead.code">DKPAE</value>
	    <value path="SegHead.version">1</value>
	</SEGdef>
	<SEGdef id="ChangePINOldPar1">
	    &GVP;

	    <value path="SegHead.code">DIPAES</value>
	    <value path="SegHead.version">1</value>
	</SEGdef>
        
        <SEGdef id="CommList2" needsRequestTag="1"> <!-- 2.01 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="fromblz" type="Num" maxsize="8" minnum="0"/>
            <DE name="toblz" type="Num" maxsize="8" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKKOM</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="CommListRes2">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KIK"/>
            <DE name="deflang" type="Num" maxsize="3"/>
            <DEG type="CommParam" maxnum="9"/>
            
            <valids path="deflang">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
            </valids>
            
            <value path="SegHead.code">HIKOM</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="CommListPar2">
            &GVP;
            
            <value path="SegHead.code">HIKOMS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="CommList3" needsRequestTag="1"> <!-- 2.1 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="fromblz" type="Num" maxsize="8" minnum="0"/>
            <DE name="toblz" type="Num" maxsize="8" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKKOM</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="CommListRes3">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KIK"/>
            <DE name="deflang" type="Num" maxsize="3"/>
            <DEG type="CommParam" maxnum="9"/>
            
            <valids path="deflang">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
            </valids>
            
            <value path="SegHead.code">HIKOM</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="CommListPar3">
            &GVP;
            
            <value path="SegHead.code">HIKOMS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="CommList4" needsRequestTag="1"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KIK" name="from" minnum="0"/>
            <DEG type="KIK" name="to" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKKOM</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="CommListRes4">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KIK"/>
            <DE name="deflang" type="Num" maxsize="3"/>
            <DEG type="CommParam" maxnum="9"/>
            
            <valids path="deflang">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
            </valids>
            
            <value path="SegHead.code">HIKOM</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="CommListPar4">
            &GVP2;
            
            &SecClassValids;
            
            <value path="SegHead.code">HIKOMS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        
        <SEGdef id="CustomMsg2"> <!-- 2.01 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTO" name="KTV"/>
            <DE name="curr" type="Cur" minnum="0"/>
            <DE name="msg" type="AN" maxsize="2048"/>
            <DE name="betreff" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKKDM</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="CustomMsgPar2">
            &GVP;
            <DEG type="ParCustomMsg"/>
            
            <value path="SegHead.code">HIKDMS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="CustomMsg3"> <!-- 2.1 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTO" name="KTV" minnum="0"/>
            <DE name="curr" type="Cur" minnum="0"/>
            <DE name="msg" type="AN" maxsize="2048"/>
            <DE name="betreff" type="AN" maxsize="35" minnum="0"/>
            <DE name="recpt" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKKDM</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="CustomMsgPar3">
            &GVP;
            <DEG type="ParCustomMsg"/>
            
            <value path="SegHead.code">HIKDMS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="CustomMsg4"> <!-- 2.2 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV2" name="KTV" minnum="0"/>
            <DE name="msg" type="AN" maxsize="2048"/>
            <DE name="betreff" type="AN" maxsize="35" minnum="0"/>
            <DE name="recpt" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKKDM</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="CustomMsgPar4">
            &GVP;
            <DEG type="ParCustomMsg"/>
            
            <value path="SegHead.code">HIKDMS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        
        <SEGdef id="CustomMsg5"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="KTV" minnum="0"/>
            <DE name="msg" type="AN" maxsize="2048"/>
            <DE name="betreff" type="AN" maxsize="35" minnum="0"/>
            <DE name="recpt" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKKDM</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="CustomMsgPar5">
            &GVP2;
            <DEG type="ParCustomMsg"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIKDMS</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        
        <SEGdef id="DauerDel1"> <!-- 2.01 -->
            &DauerUser1;
            
            <value path="SegHead.code">HKDAL</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="DauerDelPar1">
            &GVP;
            <DEG type="ParDauerDel"/>
            
            <value path="SegHead.code">HIDALS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="DauerDel2"> <!-- 2.1 -->
            &DauerUser2;
            
            <value path="SegHead.code">HKDAL</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="DauerDelPar2">
            &GVP;
            <DEG type="ParDauerDel"/>
            
            <value path="SegHead.code">HIDALS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="DauerDel3"> <!-- 2.2 -->
            &DauerUser3;
            
            <value path="SegHead.code">HKDAL</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="DauerDelPar3">
            &GVP;
            <DEG type="ParDauerDel"/>
            
            <value path="SegHead.code">HIDALS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="DauerDel4"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="My"/>
            <DEG type="KTV3" name="Other"/>
            <DE name="name" type="DTAUS" maxsize="27"/>
            <DE name="name2" type="DTAUS" maxsize="27" minnum="0"/>
            <DEG type="BTG"/>
            <DE name="key" type="Dig" minsize="2" maxsize="2"/>
            <DE name="addkey" type="Dig" minsize="3" maxsize="3" minnum="0"/>
            <DEG type="usage3" name="usage" minnum="0"/>
            <DE name="date" type="Date" minnum="0"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            <DEG type="DauerDetails"/>
            
            <value path="SegHead.code">HKDAL</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="DauerDelPar4">
            &GVP2;
            <DEG type="ParDauerDel"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIDALS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        
        <SEGdef id="DauerEdit2"> <!-- 2.01 -->
            &DauerUser1;
            
            <value path="SegHead.code">HKDAN</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="DauerEditRes2">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99"/>
            <DE name="orderidold" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HIDAN</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="DauerEditPar2">
            &GVP;
            <DEG type="ParDauerEdit"/>
            
            <value path="SegHead.code">HIDANS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="DauerEdit3"> <!-- 2.1 -->
            &DauerUser2;
            
            <value path="SegHead.code">HKDAN</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="DauerEditRes3">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99"/>
            <DE name="orderidold" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HIDAN</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="DauerEditPar3">
            &GVP;
            <DEG type="ParDauerEdit"/>
            
            <value path="SegHead.code">HIDANS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>

        <SEGdef id="DauerEdit4"> <!-- 2.2 -->
            &DauerUser3;
            
            <value path="SegHead.code">HKDAN</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="DauerEditRes4">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99"/>
            <DE name="orderidold" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HIDAN</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="DauerEditPar4">
            &GVP;
            <DEG type="ParDauerEdit"/>
            
            <value path="SegHead.code">HIDANS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>

        <SEGdef id="DauerEdit5"> <!-- 3.0 -->
	    <DEG type="SegHeadUser" name="SegHead"/>
	    <DEG type="KTV3" name="My"/>
	    <DEG type="KTV3" name="Other"/>
	    <DE name="name" type="DTAUS" maxsize="27"/>
	    <DE name="name2" type="DTAUS" maxsize="27" minnum="0"/>
	    <DEG type="BTG"/>
	    <DE name="key" type="Dig" minsize="2" maxsize="2"/>
	    <DE name="addkey" type="Dig" minsize="3" maxsize="3" minnum="0"/>
	    <DEG type="usage3" name="usage" minnum="0"/>
	    <DE name="date" type="Date" minnum="0"/>
	    <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
	    <DEG type="DauerDetails"/>
            
            <value path="SegHead.code">HKDAN</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="DauerEditRes5">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99"/>
            <DE name="orderidold" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HIDAN</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="DauerEditPar5">
            &GVP2;
            <DEG type="ParDauerEdit"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIDANS</value>
            <value path="SegHead.version">5</value>
        </SEGdef>

        <SEGdef id="DauerList1"> <!-- 2.01 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTO" name="KTV"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKDAB</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="DauerListRes1">
            &DauerInst1;
            
            <value path="SegHead.code">HIDAB</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="DauerListPar1">
            &GVP;
            
            <value path="SegHead.code">HIDABS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="DauerList2"> <!-- 2.1 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTO" name="KTV"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKDAB</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="DauerListRes2">
            &DauerInst2;
            
            <value path="SegHead.code">HIDAB</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="DauerListPar2">
            &GVP;
            
            <value path="SegHead.code">HIDABS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="DauerList3"> <!-- 2.2 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV2" name="KTV"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKDAB</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="DauerListRes3">
            &DauerInst3;
            
            <value path="SegHead.code">HIDAB</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="DauerListPar3">
            &GVP;
            
            <value path="SegHead.code">HIDABS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="DauerList4"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="KTV"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKDAB</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="DauerListRes4">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KTV3" name="My"/>
            <DEG type="KTV3" name="Other"/>
            <DE name="name" type="DTAUS" maxsize="27"/>
            <DE name="name2" type="DTAUS" maxsize="27" minnum="0"/>
            <DEG type="BTG"/>
            <DE name="key" type="Dig" minsize="2" maxsize="2"/>
            <DE name="addkey" type="Dig" minsize="3" maxsize="3" minnum="0"/>
            <DEG type="usage3" name="usage" minnum="0"/>
            <DE name="date" type="Date" minnum="0"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            <DEG type="DauerDetails"/>
            <DEG type="Aussetzung3" name="Aussetzung" minnum="0"/>
            
            <value path="SegHead.code">HIDAB</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="DauerListPar4">
            &GVP2;
            
            &SecClassValids;
            
            <value path="SegHead.code">HIDABS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        
        <SEGdef id="DauerList5"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="KTV"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKDAB</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="DauerListRes5">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KTV3" name="My"/>
            <DEG type="KTV3" name="Other"/>
            <DE name="name" type="DTAUS" maxsize="27"/>
            <DE name="name2" type="DTAUS" maxsize="27" minnum="0"/>
            <DEG type="BTG"/>
            <DE name="key" type="Dig" minsize="2" maxsize="2"/>
            <DE name="addkey" type="Dig" minsize="3" maxsize="3" minnum="0"/>
            <DEG type="usage3" name="usage" minnum="0"/>
            <DE name="date" type="Date" minnum="0"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            <DEG type="DauerDetails"/>
            <DEG type="Aussetzung3" name="Aussetzung" minnum="0"/>
            <DE name="canchange" type="JN" minnum="0"/>
            <DE name="canskip" type="JN" minnum="0"/>
            <DE name="candel" type="JN" minnum="0"/>
            
            <value path="SegHead.code">HIDAB</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="DauerListPar5">
            &GVP2;
            
            &SecClassValids;
            
            <value path="SegHead.code">HIDABS</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        
        <SEGdef id="DauerNew2"> <!-- 2.01 -->
            &DauerUser1;
            
            <value path="SegHead.code">HKDAE</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="DauerNewRes2" needsRequestTag="1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HIDAE</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="DauerNewPar2">
            &GVP;
            <DEG type="ParDauerNew"/>
            
            <value path="SegHead.code">HIDAES</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="DauerNew3"> <!-- 2.1 -->
            &DauerUser2;
            
            <value path="SegHead.code">HKDAE</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="DauerNewRes3" needsRequestTag="1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HIDAE</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="DauerNewPar3">
            &GVP;
            <DEG type="ParDauerNew"/>
            
            <value path="SegHead.code">HIDAES</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="DauerNew4"> <!-- 2.2 -->
            &DauerUser3;
            
            <value path="SegHead.code">HKDAE</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="DauerNewRes4" needsRequestTag="1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HIDAE</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="DauerNewPar4">
            &GVP;
            <DEG type="ParDauerNew"/>
            
            <value path="SegHead.code">HIDAES</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        
        <SEGdef id="DauerNew5"> <!-- 3.0 -->
	    <DEG type="SegHeadUser" name="SegHead"/>
	    <DEG type="KTV3" name="My"/>
	    <DEG type="KTV3" name="Other"/>
	    <DE name="name" type="DTAUS" maxsize="27"/>
	    <DE name="name2" type="DTAUS" maxsize="27" minnum="0"/>
	    <DEG type="BTG"/>
	    <DE name="key" type="Dig" minsize="2" maxsize="2"/>
	    <DE name="addkey" type="Dig" minsize="3" maxsize="3" minnum="0"/>
	    <DEG type="usage3" name="usage" minnum="0"/>
	    <DEG type="DauerDetails"/>
            
            <value path="SegHead.code">HKDAE</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="DauerNewRes5" needsRequestTag="1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HIDAE</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="DauerNewPar5">
            &GVP2;
            <DEG type="ParDauerNew"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIDAES</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        
        <SEGdef id="FestCondList1"> <!-- 2.01 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="curr" type="Cur"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>

            <value path="SegHead.code">HKFGK</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="FestCondListRes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="FestCondVersion"/>
            <DEG type="FestCond1" name="FestCond" maxnum="99"/>

            <value path="SegHead.code">HIFGK</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="FestCondListPar1">
            &GVP;
            <DEG type="ParFestCondList"/>

            <value path="SegHead.code">HIFGKS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="FestCondList2"> <!-- 2.2 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="curr" type="Cur"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>

            <value path="SegHead.code">HKFGK</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="FestCondListRes2">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="FestCondVersion"/>
            <DEG type="FestCond1" name="FestCond" maxnum="99"/>

            <value path="SegHead.code">HIFGK</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="FestCondListPar2">
            &GVP;
            <DEG type="ParFestCondList"/>

            <value path="SegHead.code">HIFGKS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="FestCondList3"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="curr" type="Cur"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>

            <value path="SegHead.code">HKFGK</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="FestCondListRes3">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="FestCondVersion"/>
            <DEG type="FestCond2" name="FestCond" maxnum="99"/>

            <value path="SegHead.code">HIFGK</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="FestCondListPar3">
            &GVP2;
            <DEG type="ParFestCondList"/>
            
            &SecClassValids;

            <value path="SegHead.code">HIFGKS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="FestList2"> <!-- 2.01 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTO" name="KTV"/>
            <DE name="kontakt" type="ID" minnum="0"/>
            <DE name="allaccounts" type="JN"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>

            <value path="SegHead.code">HKFGB</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="FestListRes2">
            &FestgeldInst1;

            <value path="SegHead.code">HIFGB</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="FestListPar2">
            &GVP;

            <value path="SegHead.code">HIFGBS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="FestList3"> <!-- 2.2 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV2" name="KTV"/>
            <DE name="kontakt" type="ID" minnum="0"/>
            <DE name="allaccounts" type="JN"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>

            <value path="SegHead.code">HKFGB</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="FestListRes3">
            &FestgeldInst2;

            <value path="SegHead.code">HIFGB</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="FestListPar3">
            &GVP;

            <value path="SegHead.code">HIFGBS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>

        <SEGdef id="FestList4"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="KTV"/>
            <DE name="kontakt" type="ID" minnum="0"/>
            <DE name="allaccounts" type="JN"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>

            <value path="SegHead.code">HKFGB</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="FestListRes4">
            &FestgeldInst3;

            <value path="SegHead.code">HIFGB</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="FestListPar4">
            &GVP2;
            
            &SecClassValids;

            <value path="SegHead.code">HIFGBS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>

        <SEGdef id="FestNew2"> <!-- 2.01 -->
            &FestgeldUser1;

            <value path="SegHead.code">HKFGN</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="FestNewRes2" needsRequestTag="1"> 
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KTO" name="KTV" minnum="0"/>
            <DE name="kontakt" type="ID" minnum="0"/>

            <value path="SegHead.code">HIFGN</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="FestNewPar2"> 
            &GVP;
            <DEG type="ParFestNew1" name="ParFestNew"/>

            <value path="SegHead.code">HIFGNS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>

        <SEGdef id="FestNew3"> <!-- 2.2 -->
            &FestgeldUser2;

            <value path="SegHead.code">HKFGN</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="FestNewRes3" needsRequestTag="1"> 
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KTV2" name="KTV" minnum="0"/>
            <DE name="kontakt" type="ID" minnum="0"/>

            <value path="SegHead.code">HIFGN</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="FestNewPar3"> 
            &GVP;
            <DEG type="ParFestNew2" name="ParFestNew"/>

            <value path="SegHead.code">HIFGNS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>

        <SEGdef id="FestNew4"> <!-- 3.0 -->
            &FestgeldUser3;

            <value path="SegHead.code">HKFGN</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="FestNewRes4" needsRequestTag="1"> 
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KTV3" name="KTV" minnum="0"/>
            <DE name="kontakt" type="ID" minnum="0"/>

            <value path="SegHead.code">HIFGN</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="FestNewPar4"> 
            &GVP2;
            <DEG type="ParFestNew2" name="ParFestNew"/>
            
            &SecClassValids;

            <value path="SegHead.code">HIFGNS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        
        <SEGdef id="InfoDetails1"> <!-- 2.01 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="InfoCodes"/>
            <DEG type="Address1" name="Address" minnum="0"/>
            
            <value path="SegHead.code">HKINF</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="InfoDetailsPar1">
            &GVP;
            
            <value path="SegHead.code">HIINFS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="InfoDetails2"> <!-- 2.1 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="InfoCodes"/>
            <DEG type="Address1" name="Address" minnum="0"/>
            
            <value path="SegHead.code">HKINF</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="InfoDetailsRes2" needsRequestTag="1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="Info" minnum="0" maxnum="999"/>
            
            <value path="SegHead.code">HIINF</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="InfoDetailsPar2">
            &GVP;
            
            <value path="SegHead.code">HIINFS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="InfoDetails3"> <!-- 2.2 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="InfoCodes"/>
            <DEG type="Address2" name="Address" minnum="0"/>
            
            <value path="SegHead.code">HKINF</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="InfoDetailsRes3" needsRequestTag="1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="Info" minnum="0" maxnum="999"/>
            
            <value path="SegHead.code">HIINF</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="InfoDetailsPar3">
            &GVP;
            
            <value path="SegHead.code">HIINFS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="InfoDetails4"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="InfoCodes"/>
            <DEG type="Address2" name="Address" minnum="0"/>
            
            <value path="SegHead.code">HKINF</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="InfoDetailsRes4" needsRequestTag="1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="Info" minnum="0" maxnum="999"/>
            
            <value path="SegHead.code">HIINF</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="InfoDetailsPar4">
            &GVP2;
            
            &SecClassValids;
            
            <value path="SegHead.code">HIINFS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        
        <SEGdef id="InfoList1" needsRequestTag="1"> <!-- 2.01 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKKIA</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="InfoListRes1" needsRequestTag="1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="InfoInfo" minnum="0" maxnum="999"/>
            
            <value path="SegHead.code">HIKIA</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="InfoListPar1">
            &GVP;
            
            <value path="SegHead.code">HIKIAS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="InfoList2" needsRequestTag="1"> <!-- 2.1 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKKIA</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="InfoListRes2" needsRequestTag="1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="InfoInfo" minnum="0" maxnum="999"/>
            
            <value path="SegHead.code">HIKIA</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="InfoListPar2">
            &GVP;
            
            <value path="SegHead.code">HIKIAS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="InfoList3" needsRequestTag="1"> <!-- 2.2 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKKIA</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="InfoListRes3" needsRequestTag="1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="InfoInfo" minnum="0" maxnum="999"/>
            
            <value path="SegHead.code">HIKIA</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="InfoListPar3">
            &GVP;
            
            <value path="SegHead.code">HIKIAS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="InfoList4" needsRequestTag="1"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKKIA</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="InfoListRes4" needsRequestTag="1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="InfoInfo" minnum="0" maxnum="999"/>
            
            <value path="SegHead.code">HIKIA</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="InfoListPar4">
            &GVP2;
            
            &SecClassValids;
            
            <value path="SegHead.code">HIKIAS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        
        <SEGdef id="Kontoauszug1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="My"/>
            <DE name="format" type="Code" maxsize="1" minnum="0"/>
            <DE name="idx" type="Num" maxsize="5" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKEKA</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="KontoauszugRes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="format" type="Code" maxsize="1"/>
            <DEG type="TimeRange"/>
            <DE name="booked" type="Bin" maxsize="0"/>
            <DE name="abschlussinfo" type="AN" maxsize="2048" minnum="0"/>
            <DE name="kondinfo" type="AN" maxsize="2048" minnum="0"/>
            <DE name="ads" type="AN" maxsize="2048" minnum="0"/>
            <DE name="receipt" type="Bin" maxsize="0" minnum="0"/>
            
            <value path="SegHead.code">HIEKA</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="KontoauszugPar1">
            &GVP2;
            <DEG type="ParKontoauszug"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIEKAS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="Kontoauszug2">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="My"/>
            <DE name="format" type="Code" maxsize="1" minnum="0"/>
            <DE name="idx" type="Num" maxsize="5" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKEKA</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="KontoauszugRes2">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="format" type="Code" maxsize="1"/>
            <DEG type="TimeRange"/>
            <DE name="booked" type="Bin" maxsize="0"/>
            <DE name="abschlussinfo" type="AN" maxsize="65536" minnum="0"/>
            <DE name="kondinfo" type="AN" maxsize="65536" minnum="0"/>
            <DE name="ads" type="AN" maxsize="65536" minnum="0"/>
            <DE name="iban" type="AN" maxsize="34" minnum="0"/>
            <DE name="bic" type="AN" maxsize="11" minnum="0"/>
            <DE name="name" type="AN" maxsize="35" minnum="0"/>
            <DE name="name2" type="AN" maxsize="35" minnum="0"/>
            <DE name="name3" type="AN" maxsize="35" minnum="0"/>
            <DE name="receipt" type="Bin" maxsize="0" minnum="0"/>
            
            <value path="SegHead.code">HIEKA</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="KontoauszugPar2">
            &GVP2;
            <DEG type="ParKontoauszug"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIEKAS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="Kontoauszug3">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="My"/>
            <DE name="format" type="Code" maxsize="1" minnum="0"/>
            <DE name="idx" type="Num" maxsize="5" minnum="0"/>
            <DE name="year" type="Num" maxsize="4" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKEKA</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="KontoauszugRes3">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="format" type="Code" maxsize="1"/>
            <DEG type="TimeRange"/>
            <DE name="booked" type="Bin" maxsize="0"/>
            <DE name="abschlussinfo" type="AN" maxsize="65536" minnum="0"/>
            <DE name="kondinfo" type="AN" maxsize="65536" minnum="0"/>
            <DE name="ads" type="AN" maxsize="65536" minnum="0"/>
            <DE name="iban" type="AN" maxsize="34" minnum="0"/>
            <DE name="bic" type="AN" maxsize="11" minnum="0"/>
            <DE name="name" type="AN" maxsize="35" minnum="0"/>
            <DE name="name2" type="AN" maxsize="35" minnum="0"/>
            <DE name="name3" type="AN" maxsize="35" minnum="0"/>
            <DE name="receipt" type="Bin" maxsize="0" minnum="0"/>
            
            <value path="SegHead.code">HIEKA</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="KontoauszugPar3">
            &GVP2;
            <DEG type="ParKontoauszug"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIEKAS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="Kontoauszug4">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="format" type="Code" maxsize="1" minnum="0"/>
            <DE name="idx" type="Num" maxsize="5" minnum="0"/>
            <DE name="year" type="Num" maxsize="4" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKEKA</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="KontoauszugRes4">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="format" type="Code" maxsize="1"/>
            <DEG type="TimeRange"/>
            <DE name="booked" type="Bin" maxsize="0"/>
            <DE name="abschlussinfo" type="AN" maxsize="65536" minnum="0"/>
            <DE name="kondinfo" type="AN" maxsize="65536" minnum="0"/>
            <DE name="ads" type="AN" maxsize="65536" minnum="0"/>
            <DE name="iban" type="AN" maxsize="34" minnum="0"/>
            <DE name="bic" type="AN" maxsize="11" minnum="0"/>
            <DE name="name" type="AN" maxsize="35" minnum="0"/>
            <DE name="name2" type="AN" maxsize="35" minnum="0"/>
            <DE name="name3" type="AN" maxsize="35" minnum="0"/>
            <DE name="receipt" type="Bin" maxsize="0" minnum="0"/>
            
            <value path="SegHead.code">HIEKA</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="KontoauszugPar4">
            &GVP2;
            <DEG type="ParKontoauszug"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIEKAS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        
        <SEGdef id="Kontoauszug5">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="format" type="Code" maxsize="1" minnum="0"/>
            <DE name="idx" type="Num" maxsize="5" minnum="0"/>
            <DE name="year" type="Num" maxsize="4" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKEKA</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="KontoauszugRes5">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="format" type="Code" maxsize="1"/>
            <DEG type="TimeRange"/>
            <DE name="date" type="Date" maxsize="0" minnum="0"/>
            <DE name="year" type="Num" maxsize="4" minnum="0"/>
            <DE name="number" type="Num" maxsize="5" minnum="0"/>
            <DE name="booked" type="Bin" maxsize="0"/>
            <DE name="abschlussinfo" type="AN" maxsize="65536" minnum="0"/>
            <DE name="kondinfo" type="AN" maxsize="65536" minnum="0"/>
            <DE name="ads" type="AN" maxsize="65536" minnum="0"/>
            <DE name="iban" type="AN" maxsize="34" minnum="0"/>
            <DE name="bic" type="AN" maxsize="11" minnum="0"/>
            <DE name="name" type="AN" maxsize="35" minnum="0"/>
            <DE name="name2" type="AN" maxsize="35" minnum="0"/>
            <DE name="name3" type="AN" maxsize="35" minnum="0"/>
            <DE name="receipt" type="Bin" maxsize="0" minnum="0"/>

            <value path="SegHead.code">HIEKA</value>
            <value path="SegHead.version">5</value>
            
        </SEGdef>
        <SEGdef id="KontoauszugPar5">
            &GVP2;
            <DEG type="ParKontoauszug"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIEKAS</value>
            <value path="SegHead.version">5</value>
        </SEGdef>

        <SEGdef id="KontoauszugPdf1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="idx" type="Num" maxsize="5" minnum="0"/>
            <DE name="year" type="Num" maxsize="4" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKEKP</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="KontoauszugPdfRes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="booked" type="Bin" maxsize="0"/>
            <DE name="receipt" type="Bin" maxsize="0" minnum="0"/>
            
            <value path="SegHead.code">HIEKP</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="KontoauszugPdfPar1">
            &GVP2;
            <DEG type="ParKontoauszugPdf1"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIEKPS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>

        <SEGdef id="KontoauszugPdf2">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="idx" type="Num" maxsize="5" minnum="0"/>
            <DE name="year" type="Num" maxsize="4" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKEKP</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="KontoauszugPdfRes2">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="booked" type="Bin" maxsize="0"/>
            <DEG type="TimeRange"/>
            <DE name="date" type="Date" maxsize="0" minnum="0"/>
            <DE name="year" type="Num" maxsize="4" minnum="0"/>
            <DE name="number" type="Num" maxsize="5" minnum="0"/>
            <DE name="iban" type="AN" maxsize="34" minnum="0"/>
            <DE name="bic" type="AN" maxsize="11" minnum="0"/>
            <DE name="name" type="AN" maxsize="35" minnum="0"/>
            <DE name="name2" type="AN" maxsize="35" minnum="0"/>
            <DE name="name3" type="AN" maxsize="35" minnum="0"/>
            <DE name="filename" type="AN" maxsize="256" minnum="0"/>
            <DE name="receipt" type="Bin" maxsize="0" minnum="0"/>

            <value path="SegHead.code">HIEKP</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="KontoauszugPdfPar2">
            &GVP2;
            <DEG type="ParKontoauszugPdf2"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIEKPS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>

        <SEGdef id="KUmsNew4"> <!-- 2.01 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTO" name="KTV"/>
            <DE name="curr" type="Cur" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKKAN</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="KUmsNewRes4">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="booked" type="Bin" maxsize="0"/>
            <DE name="notbooked" type="Bin" maxsize="0" minnum="0"/>
            
            <value path="SegHead.code">HIKAN</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="KUmsNewPar4">
            &GVP;
            <DEG type="ParKUmsNew1" name="ParKUmsNew"/>
            
            <value path="SegHead.code">HIKANS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>

        <SEGdef id="KUmsNew5"> <!-- 2.2 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV2" name="KTV"/>
            <DE name="allaccounts" type="JN"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKKAN</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="KUmsNewRes5">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="booked" type="Bin" maxsize="0"/>
            <DE name="notbooked" type="Bin" maxsize="0" minnum="0"/>
            
            <value path="SegHead.code">HIKAN</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="KUmsNewPar5">
            &GVP;
            <DEG type="ParKUmsNew2" name="ParKUmsNew"/>
            
            <value path="SegHead.code">HIKANS</value>
            <value path="SegHead.version">5</value>
        </SEGdef>

        <SEGdef id="KUmsNew6"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="KTV"/>
            <DE name="allaccounts" type="JN"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKKAN</value>
            <value path="SegHead.version">6</value>
        </SEGdef>
        <SEGdef id="KUmsNewRes6">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="booked" type="Bin" maxsize="0"/>
            <DE name="notbooked" type="Bin" maxsize="0" minnum="0"/>
            
            <value path="SegHead.code">HIKAN</value>
            <value path="SegHead.version">6</value>
        </SEGdef>
        <SEGdef id="KUmsNewPar6">
            &GVP2;
            <DEG type="ParKUmsNew2" name="ParKUmsNew"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIKANS</value>
            <value path="SegHead.version">6</value>
        </SEGdef>

        <SEGdef id="KUmsNew7"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="KTV"/>
            <DE name="allaccounts" type="JN"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKKAN</value>
            <value path="SegHead.version">7</value>
        </SEGdef>
        <SEGdef id="KUmsNewRes7">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="booked" type="Bin" maxsize="0"/>
            <DE name="notbooked" type="Bin" maxsize="0" minnum="0"/>
            
            <value path="SegHead.code">HIKAN</value>
            <value path="SegHead.version">7</value>
        </SEGdef>
        <SEGdef id="KUmsNewPar7">
            &GVP2;
            <DEG type="ParKUmsNew2" name="ParKUmsNew"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIKANS</value>
            <value path="SegHead.version">7</value>
        </SEGdef>

        <SEGdef id="KUmsZeit4"> <!-- 2.01 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTO" name="KTV"/>
            <DE name="curr" type="Cur" minnum="0"/>
            <DE name="startdate" type="Date" minnum="0"/>
            <DE name="enddate" type="Date" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKKAZ</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="KUmsZeitRes4">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="booked" type="Bin" maxsize="0"/>
            <DE name="notbooked" type="Bin" maxsize="0" minnum="0"/>
            
            <value path="SegHead.code">HIKAZ</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="KUmsZeitPar4">
            &GVP;
            <DEG type="ParKUmsZeit1" name="ParKUmsZeit"/>
            
            <value path="SegHead.code">HIKAZS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>

        <SEGdef id="KUmsZeit5"> <!-- 2.2 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV2" name="KTV"/>
            <DE name="allaccounts" type="JN"/>
            <DE name="startdate" type="Date" minnum="0"/>
            <DE name="enddate" type="Date" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKKAZ</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="KUmsZeitRes5">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="booked" type="Bin" maxsize="0"/>
            <DE name="notbooked" type="Bin" maxsize="0" minnum="0"/>
            
            <value path="SegHead.code">HIKAZ</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="KUmsZeitPar5">
            &GVP;
            <DEG type="ParKUmsZeit2" name="ParKUmsZeit"/>
            
            <value path="SegHead.code">HIKAZS</value>
            <value path="SegHead.version">5</value>
        </SEGdef>

        <SEGdef id="KUmsZeit6"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="KTV"/>
            <DE name="allaccounts" type="JN"/>
            <DE name="startdate" type="Date" minnum="0"/>
            <DE name="enddate" type="Date" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKKAZ</value>
            <value path="SegHead.version">6</value>
        </SEGdef>
        <SEGdef id="KUmsZeitRes6">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="booked" type="Bin" maxsize="0"/>
            <DE name="notbooked" type="Bin" maxsize="0" minnum="0"/>
            
            <value path="SegHead.code">HIKAZ</value>
            <value path="SegHead.version">6</value>
        </SEGdef>
        <SEGdef id="KUmsZeitPar6">
            &GVP2;
            <DEG type="ParKUmsZeit2" name="ParKUmsZeit"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIKAZS</value>
            <value path="SegHead.version">6</value>
        </SEGdef>
        
        <SEGdef id="KUmsZeit7"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="KTV"/>
            <DE name="allaccounts" type="JN"/>
            <DE name="startdate" type="Date" minnum="0"/>
            <DE name="enddate" type="Date" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKKAZ</value>
            <value path="SegHead.version">7</value>
        </SEGdef>
        <SEGdef id="KUmsZeitRes7">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="booked" type="Bin" maxsize="0"/>
            <DE name="notbooked" type="Bin" maxsize="0" minnum="0"/>
            
            <value path="SegHead.code">HIKAZ</value>
            <value path="SegHead.version">7</value>
        </SEGdef>
        <SEGdef id="KUmsZeitPar7">
            &GVP2;
            <DEG type="ParKUmsZeit2" name="ParKUmsZeit"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIKAZS</value>
            <value path="SegHead.version">7</value>
        </SEGdef>


        <SEGdef id="KUmsZeitCamt1">
            <DEG name="SegHead" type="SegHeadUser"/>
            <DEG name="KTV" type="KTVInt" />
            <DEG name="formats" type="CamtFormats" />
            <DE name="allaccounts" type="JN"/>
            <DE name="startdate" type="Date" minnum="0"/>
            <DE name="enddate" type="Date" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKCAZ</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="KUmsZeitCamtRes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KTVInt" name="KTV"/>
            <DE name="format" type="AN" maxsize="256" />
            <DEG name="booked" type="CamtBooked" />
            <DE name="notbooked" type="Bin" maxsize="0" minnum="0"/>
            
            <value path="SegHead.code">HICAZ</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="KUmsZeitCamtPar1">
            &GVP2;
            <DEG type="ParKUmsZeitCamt" name="ParKUmsZeitCamt"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HICAZS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>

        
        <SEGdef id="Last2"> <!-- 2.01 -->
            &SingleInlandUser1;
            
            <value path="SegHead.code">HKLAS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="LastPar2">
            &GVP;
            <DEG type="ParLast"/>
            
            <value path="SegHead.code">HILASS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>

        <SEGdef id="Last3"> <!-- 2.1 -->
            &SingleInlandUser2;
            
            <value path="SegHead.code">HKLAS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="LastPar3">
            &GVP;
            <DEG type="ParLast"/>
            
            <value path="SegHead.code">HILASS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>

        <SEGdef id="Last4"> <!-- 2.2 -->
            &SingleInlandUser3;
            
            <value path="SegHead.code">HKLAS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="LastPar4">
            &GVP;
            <DEG type="ParLast"/>
            
            <value path="SegHead.code">HILASS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>

        <SEGdef id="Last5"> <!-- 3.0 -->
            &SingleInlandUser4;
            
            <value path="SegHead.code">HKLAS</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="LastPar5">
            &GVP2;
            <DEG type="ParLast"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HILASS</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        
        <SEGdef id="LastObjection1"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="My"/>
            <DEG type="Timestamp"/>
            <DEG type="BTG"/>
            <DEG type="KTV3" name="Other"/>
            <DE name="name" type="AN" maxsize="27"/>
            <DE name="name2" type="AN" maxsize="27" minnum="0"/>
            <DE name="primanota" type="AN" maxsize="10" minnum="0"/>
            
            <value path="SegHead.code">HKLSW</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="LastObjectionPar1">
            &GVP2;
            <DEG type="ParLastObjection"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HILSWS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="LastObjection2"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="My"/>
            <DEG type="Timestamp"/>
            <DEG type="BTG"/>
            <DEG type="KTV3" name="Other"/>
            <DE name="name" type="AN" maxsize="27"/>
            <DE name="name2" type="AN" maxsize="27" minnum="0"/>
            <DE name="primanota" type="AN" maxsize="10" minnum="0"/>
            <DEG type="usage3" name="usage" minnum="0"/>
            <DE name="orderid" type="AN" maxsize="90" minnum="0"/>
            
            <value path="SegHead.code">HKLSW</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="LastObjectionPar2">
            &GVP2;
            <DEG type="ParLastObjection"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HILSWS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="OrderHistory1"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="My"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKAUE</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="OrderHistoryRes1">
            &SingleInlandInst4;
            
            <value path="SegHead.code">HIAUE</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="OrderHistoryPar1">
            &GVP2;
            <DEG type="ParOrderHistory"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIAUES</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="PinTanPar1">
            &GVP;
            <DEG type="ParPinTan"/>
            
            <value path="SegHead.code">DIPINS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>

        <SEGdef id="PinTanPar2">
            &GVP2;
            <DEG type="ParPinTan2" name="ParPinTan"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIPINS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>

      	<SEGdef id="Receipt1" needsRequestTag="1">
      	    <DEG type="SegHeadUser" name="SegHead" />
      	    <DE name="receipt" type="Bin" maxsize="0" minnum="0" />
      	    
      	    <value path="SegHead.code">HKQTG</value>
      	    <value path="SegHead.version">1</value>
      	</SEGdef>
        <SEGdef id="ReceiptPar1">
            &GVP2;
            &SecClassValids;
            <value path="SegHead.code">HIQTGS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>

        <SEGdef id="Saldo3"> <!-- 2.01 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTO" name="KTV"/>
            <DE name="allaccounts" type="JN"/>
            <DE name="curr" type="Cur" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKSAL</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="SaldoRes3"> 
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KTO" name="KTV"/>
            <DE name="kontobez" type="AN" maxsize="30"/>
            <DE name="curr" type="Cur"/>
            <DEG type="Saldo" name="booked"/>
            <DEG type="Saldo" name="pending" minnum="0"/>
            <DEG type="BTG" name="kredit" minnum="0"/>
            <DEG type="BTG" name="available" minnum="0"/>
            <DEG type="BTG" name="used" minnum="0"/>
            
            <value path="SegHead.code">HISAL</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="SaldoPar3">
            &GVP;
            
            <value path="SegHead.code">HISALS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="Saldo4"> <!-- 2.1 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTO" name="KTV"/>
            <DE name="allaccounts" type="JN"/>
            <DE name="curr" type="Cur" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKSAL</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="SaldoRes4"> 
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KTO" name="KTV"/>
            <DE name="kontobez" type="AN" maxsize="30"/>
            <DE name="curr" type="Cur"/>
            <DEG type="Saldo" name="booked"/>
            <DEG type="Saldo" name="pending" minnum="0"/>
            <DEG type="BTG" name="kredit" minnum="0"/>
            <DEG type="BTG" name="available" minnum="0"/>
            <DEG type="BTG" name="used" minnum="0"/>
            <DE name="Timestamp.date" type="Date" minnum="0"/>
            <DE name="Timestamp.time" type="Time" minnum="0"/>
            
            <value path="SegHead.code">HISAL</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="SaldoPar4">
            &GVP;
            
            <value path="SegHead.code">HISALS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        
        <SEGdef id="Saldo5"> <!-- 2.2 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV2" name="KTV"/>
            <DE name="allaccounts" type="JN"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKSAL</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="SaldoRes5"> 
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KTV2" name="KTV"/>
            <DE name="kontobez" type="AN" maxsize="30"/>
            <DE name="curr" type="Cur"/>
            <DEG type="Saldo" name="booked"/>
            <DEG type="Saldo" name="pending" minnum="0"/>
            <DEG type="BTG" name="kredit" minnum="0"/>
            <DEG type="BTG" name="available" minnum="0"/>
            <DEG type="BTG" name="used" minnum="0"/>
            <DE name="Timestamp.date" type="Date" minnum="0"/>
            <DE name="Timestamp.time" type="Time" minnum="0"/>
            <DE name="duedate" type="Date" minnum="0"/>
            
            <value path="SegHead.code">HISAL</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="SaldoPar5">
            &GVP;
            
            <value path="SegHead.code">HISALS</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        
        <SEGdef id="Saldo6"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="KTV"/>
            <DE name="allaccounts" type="JN"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKSAL</value>
            <value path="SegHead.version">6</value>
        </SEGdef>
        <SEGdef id="SaldoRes6"> 
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KTV3" name="KTV"/>
            <DE name="kontobez" type="AN" maxsize="30"/>
            <DE name="curr" type="Cur"/>
            <DEG type="Saldo2" name="booked"/>
            <DEG type="Saldo2" name="pending" minnum="0"/>
            <DEG type="BTG" name="kredit" minnum="0"/>
            <DEG type="BTG" name="available" minnum="0"/>
            <DEG type="BTG" name="used" minnum="0"/>
            <DEG type="BTG" name="overdrive" minnum="0"/>
            <DEG type="Timestamp" minnum="0"/>
            <DE name="duedate" type="Date" minnum="0"/>
            
            <value path="SegHead.code">HISAL</value>
            <value path="SegHead.version">6</value>
        </SEGdef>
        <SEGdef id="SaldoPar6">
            &GVP2;
            
            &SecClassValids;
            
            <value path="SegHead.code">HISALS</value>
            <value path="SegHead.version">6</value>
        </SEGdef>

        <SEGdef id="Saldo7"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="KTV"/>
            <DE name="allaccounts" type="JN"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKSAL</value>
            <value path="SegHead.version">7</value>
        </SEGdef>
        <SEGdef id="SaldoRes7">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KTVInt" name="KTV"/>
            <DE name="kontobez" type="AN" maxsize="30"/>
            <DE name="curr" type="Cur"/>
            <DEG type="Saldo2" name="booked"/>
            <DEG type="Saldo2" name="pending" minnum="0"/>
            <DEG type="BTG" name="kredit" minnum="0"/>
            <DEG type="BTG" name="available" minnum="0"/>
            <DEG type="BTG" name="used" minnum="0"/>
            <DEG type="BTG" name="overdrive" minnum="0"/>
            <DEG type="Timestamp" minnum="0"/>
            <DE name="duedate" type="Date" minnum="0"/>
            
            <value path="SegHead.code">HISAL</value>
            <value path="SegHead.version">7</value>
        </SEGdef>
        <SEGdef id="SaldoPar7">
            &GVP2;
            
            &SecClassValids;
            
            <value path="SegHead.code">HISALS</value>
            <value path="SegHead.version">7</value>
        </SEGdef>

        <SEGdef id="SammelLast3"> <!-- 2.01 -->
            &SammelUser1;

            <value path="SegHead.code">HKSLA</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="SammelLastPar3">
            &GVP;
            <DEG type="ParSammelLast"/>
            
            <value path="SegHead.code">HISLAS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="SammelLast4"> <!-- 2.1 -->
            &SammelUser1;

            <value path="SegHead.code">HKSLA</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="SammelLastPar4">
            &GVP;
            <DEG type="ParSammelLast"/>
            
            <value path="SegHead.code">HISLAS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        
        <SEGdef id="SammelLast5"> <!-- 2.2 -->
            &SammelUser2;

            <value path="SegHead.code">HKSLA</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="SammelLastPar5">
            &GVP;
            <DEG type="ParSammelLast"/>
            
            <value path="SegHead.code">HISLAS</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        
        <SEGdef id="SammelLast6"> <!-- 3.0 -->
            &SammelUser3;

            <value path="SegHead.code">HKSLA</value>
            <value path="SegHead.version">6</value>
        </SEGdef>
        <SEGdef id="SammelLastPar6">
            &GVP2;
            <DEG type="ParSammelLast"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HISLAS</value>
            <value path="SegHead.version">6</value>
        </SEGdef>
        
        <SEGdef id="SammelUeb3"> <!-- 2.01 -->
            &SammelUser1;
            
            <value path="SegHead.code">HKSUB</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="SammelUebPar3">
            &GVP;
            <DEG type="ParSammelUeb"/>
            
            <value path="SegHead.code">HISUBS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="SammelUeb4"> <!-- 2.1 -->
            &SammelUser1;
            
            <value path="SegHead.code">HKSUB</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="SammelUebPar4">
            &GVP;
            <DEG type="ParSammelUeb"/>
            
            <value path="SegHead.code">HISUBS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        
        <SEGdef id="SammelUeb5"> <!-- 2.2 -->
            &SammelUser2;
            
            <value path="SegHead.code">HKSUB</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="SammelUebPar5">
            &GVP;
            <DEG type="ParSammelUeb"/>
            
            <value path="SegHead.code">HISUBS</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        
        <SEGdef id="SammelUeb6"> <!-- 3.0 -->
            &SammelUser3;
            
            <value path="SegHead.code">HKSUB</value>
            <value path="SegHead.version">6</value>
        </SEGdef>
        <SEGdef id="SammelUebPar6">
            &GVP2;
            <DEG type="ParSammelUeb"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HISUBS</value>
            <value path="SegHead.version">6</value>
        </SEGdef>
        
        <SEGdef id="SammelUebEil1"> <!-- 3.0 -->
            &SammelUser3;
            
            <value path="SegHead.code">HKDTE</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="SammelUebEilPar1">
            &GVP2;
            <DEG type="ParSammelUeb"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIDTES</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="SammelUebSEPA1"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead" />
	        <DEG type="KTVInt" name="My" />
	    	<DEG type="BTG" name="Total" minnum="0" />
	    	<DE type="JN" name="singletransfers" minnum="0" />
	    	<DE type="AN" name="sepadescr" maxsize="256" />
	    	<DE type="Bin" name="sepapain" maxsize="0" />
            
            <value path="SegHead.code">HKCCM</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="SammelUebSEPAPar1">
            &GVP2;
            <DEG type="ParSammelUebSEPA"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HICCMS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="TermSammelUebSEPA1">
            <DEG type="SegHeadUser" name="SegHead" />
            <DEG type="KTVInt" name="My" />
            <DEG type="BTG" name="Total" minnum="0" />
            <DE type="JN" name="singletransfers" minnum="0" />
            <DE type="AN" name="sepadescr" maxsize="256" />
            <DE type="Bin" name="sepapain" maxsize="0" />

            <value path="SegHead.code">HKCME</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="TermSammelUebSEPARes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>

            <value path="SegHead.code">HICME</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="TermSammelUebSEPAPar1">
            &GVP2;
            <DEG type="ParTermSammelUebSEPA"/>

            &SecClassValids;

            <value path="SegHead.code">HICMES</value>
            <value path="SegHead.version">1</value>
        </SEGdef>

        <SEGdef id="SammelLastSEPA1"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead" />
	        <DEG type="KTVInt" name="My" />
	    	<DEG type="BTG" name="Total" minnum="0" />
	    	<DE type="JN" name="singletransfers" minnum="0" />
	    	<DE type="AN" name="sepadescr" maxsize="256" />
	    	<DE type="Bin" name="sepapain" maxsize="0" />
            
            <value path="SegHead.code">HKDME</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="SammelLastSEPARes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HIDME</value>
            <value path="SegHead.version">1</value>        
        </SEGdef>
        <SEGdef id="SammelLastSEPAPar1">
            &GVP2;
            <DEG type="ParSammelLastSEPA"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIDMES</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="SammelLastCOR1SEPA1"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead" />
	        <DEG type="KTVInt" name="My" />
	    	<DEG type="BTG" name="Total" minnum="0" />
	    	<DE type="JN" name="singletransfers" minnum="0" />
	    	<DE type="AN" name="sepadescr" maxsize="256" />
	    	<DE type="Bin" name="sepapain" maxsize="0" />
            
            <value path="SegHead.code">HKDMC</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="SammelLastCOR1SEPARes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HIDMC</value>
            <value path="SegHead.version">1</value>        
        </SEGdef>
        <SEGdef id="SammelLastCOR1SEPAPar1">
            &GVP2;
            <DEG type="ParSammelLastCOR1SEPA"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIDMCS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="SammelLastB2BSEPA1"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead" />
	        <DEG type="KTVInt" name="My" />
	    	<DEG type="BTG" name="Total" minnum="0" />
	    	<DE type="JN" name="singletransfers" minnum="0" />
	    	<DE type="AN" name="sepadescr" maxsize="256" />
	    	<DE type="Bin" name="sepapain" maxsize="0" />
            
            <value path="SegHead.code">HKBME</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="SammelLastB2BSEPARes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HIBME</value>
            <value path="SegHead.version">1</value>        
        </SEGdef>
        <SEGdef id="SammelLastB2BSEPAPar1">
            &GVP2;
            <DEG type="ParSammelLastB2BSEPA"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIBMES</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        
        <SEGdef id="SEPAInfo1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="My" minnum="0" maxnum="999"/>
            
            <value path="SegHead.code">HKSPA</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="SEPAInfoRes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KTVZVInt" name="Acc" minnum="0" maxnum="999"/>
            
            <value path="SegHead.code">HISPA</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="SEPAInfoPar1">
            &GVP2;
            <DEG type="ParSEPAInfo"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HISPAS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="Status2" needsRequestTag="1"> <!-- 2.01 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKPRO</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="StatusRes2">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="MsgRef"/>
            <DE name="segref" type="Num" maxsize="3" minnum="0"/>
            <DE name="date" type="Date"/>
            <DE name="time" type="Time"/>
            <DEG type="RetVal"/>
            
            <value path="SegHead.code">HIPRO</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="StatusPar2">
            &GVP;
            
            <value path="SegHead.code">HIPROS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="Status3" needsRequestTag="1"> <!-- 2.1 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="startdate" type="Date" minnum="0"/>
            <DE name="enddate" type="Date" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKPRO</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="StatusRes3">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="MsgRef"/>
            <DE name="segref" type="Num" maxsize="3" minnum="0"/>
            <DE name="date" type="Date"/>
            <DE name="time" type="Time"/>
            <DEG type="RetVal"/>
            
            <value path="SegHead.code">HIPRO</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="StatusPar3">
            &GVP;
            
            <value path="SegHead.code">HIPROS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="Status4" needsRequestTag="1"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="startdate" type="Date" minnum="0"/>
            <DE name="enddate" type="Date" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKPRO</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="StatusRes4">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="MsgRef"/>
            <DE name="segref" type="Num" maxsize="3" minnum="0"/>
            <DE name="date" type="Date"/>
            <DE name="time" type="Time"/>
            <DEG type="RetVal"/>
            
            <value path="SegHead.code">HIPRO</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="StatusPar4">
            &GVP2;
            
            &SecClassValids;
            
            <value path="SegHead.code">HIPROS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        
        <SEGdef id="TAN2Step1" needsRequestTag="1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="process" type="Code" maxsize="1"/>
            <DE name="orderhash" type="Bin" maxsize="256" minnum="0"/>
            <DE name="orderref" type="AN" maxsize="35" minnum="0"/>
            <DE name="listidx" type="AN" maxsize="20" minnum="0"/>
            <DE name="notlasttan" type="JN" minnum="0"/>
            <DE name="info" type="AN" maxsize="99" minnum="0"/>
            
            <valids path="process">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
            
            <value path="SegHead.code">HKTAN</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="TAN2StepRes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="process" type="Code" maxsize="1"/>
            <DE name="orderhash" type="Bin" maxsize="256" minnum="0"/>
            <DE name="orderref" type="AN" maxsize="35" minnum="0"/>
            <DE name="challenge" type="AN" maxsize="256" minnum="0"/>
            <DEG type="ChallengeValidity" minnum="0"/>
            <DE name="listidx" type="AN" maxsize="20" minnum="0"/>
            <DE name="info" type="AN" maxsize="99" minnum="0"/>
            
            <valids path="process">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
            
            <value path="SegHead.code">HITAN</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="TAN2StepPar1">
            &GVP2;
            <DEG type="ParTAN2Step1" name="ParTAN2Step"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HITANS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>

        <SEGdef id="TAN2Step2" needsRequestTag="1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="process" type="Code" maxsize="1"/>
            <DE name="orderhash" type="Bin" maxsize="256" minnum="0"/>
            <DE name="orderref" type="AN" maxsize="35" minnum="0"/>
            <DE name="listidx" type="AN" maxsize="20" minnum="0"/>
            <DE name="notlasttan" type="JN" minnum="0"/>
            <DE name="storno" type="JN" minnum="0"/>
            <DE name="challengeklass" type="Num" maxsize="2" minnum="0"/>
            <DEG name="ChallengeKlassParams" type="ChallengeKlassParams" minnum="0"/>
            
            <valids path="process">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
            
            <value path="SegHead.code">HKTAN</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="TAN2StepRes2">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="process" type="Code" maxsize="1"/>
            <DE name="orderhash" type="Bin" maxsize="256" minnum="0"/>
            <DE name="orderref" type="AN" maxsize="35" minnum="0"/>
            <DE name="challenge" type="AN" maxsize="999" minnum="0"/>
            <DEG type="ChallengeValidity" minnum="0"/>
            <DE name="listidx" type="AN" maxsize="20" minnum="0"/>
            <DE name="ben" type="AN" maxsize="99" minnum="0"/>
            
            <valids path="process">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
            
            <value path="SegHead.code">HITAN</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="TAN2StepPar2">
            &GVP2;
            <DEG type="ParTAN2Step2" name="ParTAN2Step"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HITANS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>

        <SEGdef id="TAN2Step3" needsRequestTag="1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="process" type="Code" maxsize="1"/>
            <DE name="orderhash" type="Bin" maxsize="256" minnum="0"/>
            <DE name="orderref" type="AN" maxsize="35" minnum="0"/>
            <DE name="listidx" type="AN" maxsize="20" minnum="0"/>
            <DE name="notlasttan" type="JN" minnum="0"/>
            <DE name="storno" type="JN" minnum="0"/>
            <DE name="challengeklass" type="Num" maxsize="2" minnum="0"/>
            <DEG name="ChallengeKlassParams" type="ChallengeKlassParams" minnum="0"/>
            <DE name="tanmedia" type="AN" maxsize="32" minnum="0"/>
            
            <valids path="process">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
            
            <value path="SegHead.code">HKTAN</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="TAN2StepRes3">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="process" type="Code" maxsize="1"/>
            <DE name="orderhash" type="Bin" maxsize="256" minnum="0"/>
            <DE name="orderref" type="AN" maxsize="35" minnum="0"/>
            <DE name="challenge" type="AN" maxsize="999" minnum="0"/>
            <DEG type="ChallengeValidity" minnum="0"/>
            <DE name="listidx" type="AN" maxsize="20" minnum="0"/>
            <DE name="ben" type="AN" maxsize="99" minnum="0"/>
            <DE name="tanmedia" type="AN" maxsize="32" minnum="0"/>
            
            <valids path="process">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
            
            <value path="SegHead.code">HITAN</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="TAN2StepPar3">
            &GVP2;
            <DEG type="ParTAN2Step3" name="ParTAN2Step"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HITANS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>

        <SEGdef id="TAN2Step4" needsRequestTag="1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="process" type="Code" maxsize="1"/>
            <DE name="orderhash" type="Bin" maxsize="256" minnum="0"/>
            <DE name="orderref" type="AN" maxsize="35" minnum="0"/>
            <DE name="listidx" type="AN" maxsize="20" minnum="0"/>
            <DE name="notlasttan" type="JN" minnum="0"/>
            <DE name="storno" type="JN" minnum="0"/>
	    <DEG name="SMSAccount" type="KTV3" minnum="0" />
            <DE name="challengeklass" type="Num" maxsize="2" minnum="0"/>
            <DEG name="ChallengeKlassParams" type="ChallengeKlassParams" minnum="0"/>
            <DE name="tanmedia" type="AN" maxsize="32" minnum="0"/>
            
            <valids path="process">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
            
            <value path="SegHead.code">HKTAN</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="TAN2StepRes4">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="process" type="Code" maxsize="1"/>
            <DE name="orderhash" type="Bin" maxsize="256" minnum="0"/>
            <DE name="orderref" type="AN" maxsize="35" minnum="0"/>
            <DE name="challenge" type="AN" maxsize="2048" minnum="0"/>
	    <DE name="challenge_hhd_uc" type="Bin" maxsize="0" minnum="0" />
            <DEG type="ChallengeValidity" minnum="0"/>
            <DE name="listidx" type="AN" maxsize="20" minnum="0"/>
            <DE name="ben" type="AN" maxsize="99" minnum="0"/>
            <DE name="tanmedia" type="AN" maxsize="32" minnum="0"/>
            
            <valids path="process">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
            
            <value path="SegHead.code">HITAN</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="TAN2StepPar4">
            &GVP2;
            <DEG type="ParTAN2Step4" name="ParTAN2Step"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HITANS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>


        <!--  willuhn 2011-05-16 BEGIN HKTAN/HITAN/HITANS Version 5 -->
        <SEGdef id="TAN2Step5" needsRequestTag="1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="process" type="Code" maxsize="1"/>
            <DE name="ordersegcode" type="AN" maxsize="6" minnum="0"/>
            <DEG name="OrderAccount" type="KTVInt" minnum="0" />
            <DE name="orderhash" type="Bin" maxsize="256" minnum="0"/>
            <DE name="orderref" type="AN" maxsize="35" minnum="0"/>
            <DE name="listidx" type="AN" maxsize="20" minnum="0"/>
            <DE name="notlasttan" type="JN" minnum="0"/>
            <DE name="storno" type="JN" minnum="0"/>
            <DEG name="SMSAccount" type="KTV3" minnum="0" />
            <DE name="challengeklass" type="Num" maxsize="2" minnum="0"/>
            <DEG name="ChallengeKlassParams" type="ChallengeKlassParams" minnum="0" />
            <DE name="tanmedia" type="AN" maxsize="32" minnum="0"/>
            
            <valids path="process">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
            
            <value path="SegHead.code">HKTAN</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="TAN2StepRes5">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="process" type="Code" maxsize="1"/>
            <DE name="orderhash" type="Bin" maxsize="256" minnum="0"/>
            <DE name="orderref" type="AN" maxsize="35" minnum="0"/>
            <DE name="challenge" type="AN" maxsize="2048" minnum="0"/>
            <DE name="challenge_hhd_uc" type="Bin" maxsize="0" minnum="0" />
            <DEG type="ChallengeValidity" minnum="0"/>
            <DE name="listidx" type="AN" maxsize="20" minnum="0"/>
            <DE name="ben" type="AN" maxsize="99" minnum="0"/>
            <DE name="tanmedia" type="AN" maxsize="32" minnum="0"/>
            
            <valids path="process">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
            
            <value path="SegHead.code">HITAN</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="TAN2StepPar5">
            &GVP2;
            <DEG type="ParTAN2Step5" name="ParTAN2Step"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HITANS</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <!--  willuhn 2011-05-16 END HKTAN/HITAN/HITANS Version 5 -->


        <!--  BEGIN HKTAN 6 -->
        <SEGdef id="TAN2Step6" needsRequestTag="1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="process" type="Code" maxsize="1"/>
            <DE name="ordersegcode" type="AN" maxsize="6" minnum="0"/>
            <DEG name="OrderAccount" type="KTVInt" minnum="0" />
            <DE name="orderhash" type="Bin" maxsize="256" minnum="0"/>
            <DE name="orderref" type="AN" maxsize="35" minnum="0"/>
            <DE name="notlasttan" type="JN" minnum="0"/>
            <DE name="storno" type="JN" minnum="0"/>
            <DEG name="SMSAccount" type="KTV3" minnum="0" />
            <DE name="challengeklass" type="Num" maxsize="2" minnum="0"/>
            <DEG name="ChallengeKlassParams" type="ChallengeKlassParams" minnum="0" />
            <DE name="tanmedia" type="AN" maxsize="32" minnum="0"/>
            <DEG name="HHDUCAnswer" type="HHDUCAnswer" minnum="0" />
            
            <valids path="process">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
            
            <value path="SegHead.code">HKTAN</value>
            <value path="SegHead.version">6</value>
        </SEGdef>
        <SEGdef id="TAN2StepRes6">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="process" type="Code" maxsize="1"/>
            <DE name="orderhash" type="Bin" maxsize="256" minnum="0"/>
            <DE name="orderref" type="AN" maxsize="35" minnum="0"/>
            <DE name="challenge" type="AN" maxsize="2048" minnum="0"/>
            <DE name="challenge_hhd_uc" type="Bin" maxsize="0" minnum="0" />
            <DEG type="ChallengeValidity" minnum="0"/>
            <DE name="tanmedia" type="AN" maxsize="32" minnum="0"/>
            
            <valids path="process">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
            
            <value path="SegHead.code">HITAN</value>
            <value path="SegHead.version">6</value>
        </SEGdef>
        <SEGdef id="TAN2StepPar6">
            &GVP2;
            <DEG type="ParTAN2Step6" name="ParTAN2Step"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HITANS</value>
            <value path="SegHead.version">6</value>
        </SEGdef>
        <!--  END HKTAN 6 -->


        <!--  BEGIN HKTAN 7 (FinTS3.0 Security v10.07.2020 Kapitel B.5.2) -->
        <SEGdef id="TAN2Step7" needsRequestTag="1"> <!-- S.64 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="process" type="Code" maxsize="1"/>
            <DE name="ordersegcode" type="AN" maxsize="6" minnum="0"/>
            <DEG name="OrderAccount" type="KTVInt" minnum="0" />
            <DE name="orderhash" type="Bin" maxsize="256" minnum="0"/>
            <DE name="orderref" type="AN" maxsize="35" minnum="0"/>
            <DE name="notlasttan" type="JN" minnum="0"/>
            <DE name="storno" type="JN" minnum="0"/>
            <DEG name="SMSAccount" type="KTV3" minnum="0" />
            <DE name="challengeklass" type="Num" maxsize="2" minnum="0"/>
            <DEG name="ChallengeKlassParams" type="ChallengeKlassParams" minnum="0" />
            <DE name="tanmedia" type="AN" maxsize="32" minnum="0"/>
            <DEG name="HHDUCAnswer" type="HHDUCAnswer" minnum="0" />

            <valids path="process">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
                <!-- TAN-Prozess=S kann nur nach dem ersten Schritt auftreten.
                     Er dient im Decoupled-Verfahren der Statusabfrage der vom
                     Kunden zu taetigenden Sicherheitsfreigabe auf einem
                     anderen Geraet mittels HKTAN. (S. 160) -->
                <validvalue>S</validvalue>
            </valids>

            <value path="SegHead.code">HKTAN</value>
            <value path="SegHead.version">7</value>
        </SEGdef>
        <SEGdef id="TAN2StepRes7"> <!-- S. 67 -->
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="process" type="Code" maxsize="1"/>
            <DE name="orderhash" type="Bin" maxsize="256" minnum="0"/>
            <DE name="orderref" type="AN" maxsize="35" minnum="0"/>
            <DE name="challenge" type="AN" maxsize="2048" minnum="0"/>
            <DE name="challenge_hhd_uc" type="Bin" maxsize="0" minnum="0" />
            <DEG type="ChallengeValidity" minnum="0"/>
            <DE name="tanmedia" type="AN" maxsize="32" minnum="0"/>

            <valids path="process">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
                <validvalue>S</validvalue>
            </valids>

            <value path="SegHead.code">HITAN</value>
            <value path="SegHead.version">7</value>
        </SEGdef>
        <SEGdef id="TAN2StepPar7"> <!-- S. 69 -->
            &GVP2;
            <DEG type="ParTAN2Step7" name="ParTAN2Step"/>

            &SecClassValids;

            <value path="SegHead.code">HITANS</value>
            <value path="SegHead.version">7</value>
        </SEGdef>
        <!--  END HKTAN 7 -->


        <!--  macemmi 2012-02-20 BEGIN HKTAB -->
        <!--  Version 1 -->
        <SEGdef id="TANMediaList1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="mediatype" type="Code" maxsize="1"/>
            
            <valids path="mediatype">
                <validvalue>0</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
            </valids>           
            
            <value path="SegHead.code">HKTAB</value>
            <value path="SegHead.version">1</value>
        </SEGdef>

        <SEGdef id="TANMediaListRes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="tanoption" type="Code" maxsize="1"/>
            <DEG type="TANMediaInfo1" name="MediaInfo" minnum="0" maxnum="999"/>
                            
            <valids path="tanoption">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
            <value path="SegHead.code">HITAB</value>
            <value path="SegHead.version">1</value>
        </SEGdef>

        <SEGdef id="TANMediaListPar1">
            &GVP2;
            &SecClassValids;
            
            <value path="SegHead.code">HITABS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
                   
        <!--  Version 2 -->
        <SEGdef id="TANMediaList2">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="mediatype" type="Code" maxsize="1"/>
            
            <valids path="mediatype">
                <validvalue>0</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
            </valids>           
            
            <value path="SegHead.code">HKTAB</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="TANMediaListRes2">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="tanoption" type="Code" maxsize="1"/>
            <DEG type="TANMediaInfo2" name="MediaInfo" minnum="0" maxnum="999"/>
                            
            <valids path="tanoption">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
            <value path="SegHead.code">HITAB</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="TANMediaListPar2">
            &GVP2;
            &SecClassValids;
            
            <value path="SegHead.code">HITABS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <!--  Version 3 -->
        <SEGdef id="TANMediaList3">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="mediatype" type="Code" maxsize="1"/>
            
            <valids path="mediatype">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>           
            
            <value path="SegHead.code">HKTAB</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="TANMediaListRes3">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="tanoption" type="Code" maxsize="1"/>
            <DEG type="TANMediaInfo3" name="MediaInfo" minnum="0" maxnum="999"/>
                            
            <valids path="tanoption">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
            <value path="SegHead.code">HITAB</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="TANMediaListPar3">
            &GVP2;
            &SecClassValids;
            
            <value path="SegHead.code">HITABS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <!--  Version 4 -->
        <SEGdef id="TANMediaList4">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="mediatype" type="Code" maxsize="1"/>
            <DE name="mediacategory" type="Code" maxsize="1"/>
            
            <valids path="mediatype">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>           
            <valids path="mediacategory">
                <validvalue>A</validvalue>
                <validvalue>L</validvalue>
                <validvalue>G</validvalue>
                <validvalue>M</validvalue>
                <validvalue>S</validvalue>
            </valids>           
            
            <value path="SegHead.code">HKTAB</value>
            <value path="SegHead.version">4</value>
        </SEGdef>

        <SEGdef id="TANMediaListRes4">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="tanoption" type="Code" maxsize="1"/>
            <DEG type="TANMediaInfo4" name="MediaInfo" minnum="0" maxnum="999"/>
                            
            <valids path="tanoption">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
            <value path="SegHead.code">HITAB</value>
            <value path="SegHead.version">4</value>
        </SEGdef>

        <SEGdef id="TANMediaListPar4">
            &GVP2;
            &SecClassValids;
            
            <value path="SegHead.code">HITABS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>


        <!--  Version 5 -->
        <SEGdef id="TANMediaList5">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="mediatype" type="Code" maxsize="1"/>
            <DE name="mediacategory" type="Code" maxsize="1"/>
            
            <valids path="mediatype">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>           
            <valids path="mediacategory">
                <validvalue>A</validvalue>
                <validvalue>L</validvalue>
                <validvalue>G</validvalue>
                <validvalue>M</validvalue>
                <validvalue>S</validvalue>
                <validvalue>B</validvalue>
            </valids>           
            
            <value path="SegHead.code">HKTAB</value>
            <value path="SegHead.version">5</value>
        </SEGdef>

        <SEGdef id="TANMediaListRes5">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="tanoption" type="Code" maxsize="1"/>
            <DEG type="TANMediaInfo5" name="MediaInfo" minnum="0" maxnum="999"/>
                            
            <valids path="tanoption">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
            <value path="SegHead.code">HITAB</value>
            <value path="SegHead.version">5</value>
        </SEGdef>

        <SEGdef id="TANMediaListPar5">
            &GVP2;
            &SecClassValids;
            
            <value path="SegHead.code">HITABS</value>
            <value path="SegHead.version">5</value>
        </SEGdef>



        <!--  macemmi 2012-02-20 END HKTAB -->

        <SEGdef id="TANListList1" needsRequestTag="1"> <!-- 2.2 -->
            <DEG type="SegHeadUser" name="SegHead"/>

            <value path="SegHead.code">HKTAZ</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="TANListListRes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="liststatus" type="Code" maxsize="1"/>
            <DE name="listnumber" type="AN" maxsize="20"/>
            <DE name="date" type="Date" minnum="0"/>
            <DE name="noftansperlist" type="Num" maxsize="4" minnum="0"/>
            <DE name="nofusedtansperlist" type="Num" maxsize="4" minnum="0"/>
            <DEG type="TANInfo" minnum="0" maxnum="999"/>

            <valids path="zustand">
                <validvalue>A</validvalue>
                <validvalue>N</validvalue>
                <validvalue>S</validvalue>
                <validvalue>V</validvalue>
            </valids>

            <value path="SegHead.code">HITAZ</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="TANListListPar1">
            &GVP2;
            
            &SecClassValids;

            <value path="SegHead.code">HITAZS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="TermSammelLast3"> <!-- 3.0 -->
            &SammelUser3;
            
            <value path="SegHead.code">HKSLE</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="TermSammelLastRes3">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HISLE</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="TermSammelLastPar3">
            &GVP2;
            <DEG type="ParTermSammelLast"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HISLES</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="TermSammelLastDel3"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99"/>
            <DEG type="KTV3" name="My"/>
            <DE name="senddate" type="Date"/>
            <DE name="execdate" type="Date"/>
            <DE name="ordercount" type="Num" maxsize="5"/>
            <DEG type="BTG" name="sum"/>

            <value path="SegHead.code">HKSLL</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="TermSammelLastDelPar3">
            &GVP2;
            
            &SecClassValids;
            
            <value path="SegHead.code">HISLLS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="TermSammelLastList3">  <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="My"/>
            <DE name="from" type="Date" minnum="0"/>
            <DE name="to" type="Date" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKSLB</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="TermSammelLastListRes3">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99"/>
            <DEG type="KTV3" name="My"/>
            <DE name="senddate" type="Date"/>
            <DE name="execdate" type="Date"/>
            <DE name="ordercount" type="Num" maxsize="5"/>
            <DEG type="BTG" name="sum"/>
            
            <value path="SegHead.code">HISLB</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="TermSammelLastListPar3">
            &GVP;
            <DEG type="ParTermSammelLastList"/>
            
            <value path="SegHead.code">HISLBS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="TermSammelUeb3"> <!-- 3.0 -->
            &SammelUser3;
            
            <value path="SegHead.code">HKTSE</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="TermSammelUebRes3">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HITSE</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="TermSammelUebPar3">
            &GVP2;
            <DEG type="ParTermSammelUeb"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HITSES</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="TermSammelUebDel3"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99"/>
            <DEG type="KTV3" name="My" minnum="0"/>
            <DE name="senddate" type="Date" minnum="0"/>
            <DE name="execdate" type="Date" minnum="0"/>
            <DE name="ordercount" type="Num" maxsize="5" minnum="0"/>
            <DEG type="BTG" name="sum" minnum="0"/>

            <value path="SegHead.code">HKTSL</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="TermSammelUebDelPar3">
            &GVP2;
            
            &SecClassValids;
            
            <value path="SegHead.code">HITSLS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="TermSammelUebList3">  <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="My"/>
            <DE name="from" type="Date" minnum="0"/>
            <DE name="to" type="Date" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKTSB</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="TermSammelUebListRes3">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99"/>
            <DEG type="KTV3" name="My"/>
            <DE name="senddate" type="Date"/>
            <DE name="execdate" type="Date"/>
            <DE name="ordercount" type="Num" maxsize="5"/>
            <DEG type="BTG" name="sum"/>
            
            <value path="SegHead.code">HITSB</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="TermSammelUebListPar3">
            &GVP;
            <DEG type="ParTermSammelUebList"/>
            
            <value path="SegHead.code">HITSBS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="TermUeb2"> <!-- 2.01 -->
            &SingleInlandUser1;
            
            <value path="SegHead.code">HKTUE</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="TermUebRes2" needsRequestTag="1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HITUE</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="TermUebPar2">
            &GVP;
            <DEG type="ParTermUeb"/>
            
            <value path="SegHead.code">HITUES</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="TermUeb3"> <!-- 2.2 -->
            &SingleInlandUser3;
            
            <value path="SegHead.code">HKTUE</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="TermUebRes3" needsRequestTag="1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HITUE</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="TermUebPar3">
            &GVP;
            <DEG type="ParTermUeb"/>
            
            <value path="SegHead.code">HITUES</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="TermUeb4"> <!-- 3.0 -->
            &SingleInlandUser4;
            
            <value path="SegHead.code">HKTUE</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="TermUebRes4" needsRequestTag="1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HITUE</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="TermUebPar4">
            &GVP2;
            <DEG type="ParTermUeb"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HITUES</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        
        <SEGdef id="TermUebDel1"> <!-- 2.01 -->
            &SingleInlandUser1;

            <value path="SegHead.code">HKTUL</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="TermUebDelPar1">
            &GVP;

            <value path="SegHead.code">HITULS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="TermUebDel2"> <!-- 2.2 -->
            &SingleInlandUser3;

            <value path="SegHead.code">HKTUL</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="TermUebDelPar2">
            &GVP;

            <value path="SegHead.code">HITULS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="TermUebDel3"> <!-- 3.0 -->
            &SingleInlandUser4;

            <value path="SegHead.code">HKTUL</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="TermUebDelPar3">
            &GVP2;
            
            &SecClassValids;

            <value path="SegHead.code">HITULS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="TermUebEdit2"> <!-- 2.01 -->
            &SingleInlandUser1;
            
            <value path="SegHead.code">HKTUA</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="TermUebEditRes2">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99"/>
            <DE name="orderidold" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HITUA</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="TermUebEditPar2">
            &GVP;
            <DEG type="ParTermUebEdit"/>
            
            <value path="SegHead.code">HITUAS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="TermUebEdit3"> <!-- 2.2 -->
            &SingleInlandUser3;
            
            <value path="SegHead.code">HKTUA</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="TermUebEditRes3">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99"/>
            <DE name="orderidold" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HITUA</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="TermUebEditPar3">
            &GVP;
            <DEG type="ParTermUebEdit"/>
            
            <value path="SegHead.code">HITUAS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="TermUebEdit4"> <!-- 3.0 -->
            &SingleInlandUser4;
            
            <value path="SegHead.code">HKTUA</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="TermUebEditRes4">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99"/>
            <DE name="orderidold" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HITUA</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="TermUebEditPar4">
            &GVP2;
            <DEG type="ParTermUebEdit"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HITUAS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        
        <SEGdef id="TermUebList1"> <!-- 2.01 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTO" name="KTV"/>
            <DE name="startdate" type="Date" minnum="0"/>
            <DE name="enddate" type="Date" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKTUB</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="TermUebListRes1"> 
            &SingleInlandInst1;
            
            <value path="SegHead.code">HITUB</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="TermUebListPar1"> 
            &GVP;
            <DEG type="ParTermUebList"/>
            
            <value path="SegHead.code">HITUBS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="TermUebList2"> <!-- 2.2 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV2" name="KTV"/>
            <DE name="startdate" type="Date" minnum="0"/>
            <DE name="enddate" type="Date" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKTUB</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="TermUebListRes2"> 
            &SingleInlandInst3;
            
            <value path="SegHead.code">HITUB</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="TermUebListPar2"> 
            &GVP;
            <DEG type="ParTermUebList"/>
            
            <value path="SegHead.code">HITUBS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="TermUebList3"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="KTV"/>
            <DE name="startdate" type="Date" minnum="0"/>
            <DE name="enddate" type="Date" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKTUB</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="TermUebListRes3"> 
            &SingleInlandInst4;
            
            <value path="SegHead.code">HITUB</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="TermUebListPar3"> 
            &GVP2;
            <DEG type="ParTermUebList"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HITUBS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="Ueb2"> <!-- 2.01 -->
            &SingleInlandUser1;

            <value path="SegHead.code">HKUEB</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="UebPar2">
            &GVP;
            <DEG type="ParUeb"/>

            <value path="SegHead.code">HIUEBS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="Ueb3"> <!-- 2.1 -->
            &SingleInlandUser2;

            <value path="SegHead.code">HKUEB</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="UebPar3">
            &GVP;
            <DEG type="ParUeb"/>

            <value path="SegHead.code">HIUEBS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="Ueb4"> <!-- 2.2 -->
            &SingleInlandUser3;

            <value path="SegHead.code">HKUEB</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="UebPar4">
            &GVP;
            <DEG type="ParUeb"/>

            <value path="SegHead.code">HIUEBS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        
        <SEGdef id="Ueb5"> <!-- 3.0 -->
            &SingleInlandUser4;

            <value path="SegHead.code">HKUEB</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="UebPar5">
            &GVP2;
            <DEG type="ParUeb"/>

            &SecClassValids;

            <value path="SegHead.code">HIUEBS</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        
        <SEGdef id="UebEil1"> <!-- 3-0 -->
            &SingleInlandUser4;
            
            <value path="SegHead.code">HKEIL</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="UebEilPar1">
            &GVP2;
            <DEG type="ParUeb"/>

            &SecClassValids;

            <value path="SegHead.code">HIEILS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>

        <SEGdef id="UebForeign1"> <!-- 2.2 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV2" name="My"/>
            <DE name="myname" type="AN" maxsize="140"/>
            <DEG type="KTV2" name="Other" minnum="0"/>
            <DE name="otheriban" type="AN" maxsize="34" minnum="0"/>
            <DE name="otherkiname" type="AN" maxsize="140"/>
            <DE name="othername" type="AN" maxsize="140"/>
            <DEG type="BTG"/>
            <DE name="kostentraeger" type="Num" maxsize="1"/>
            <DE name="usage" type="AN" maxsize="140" minnum="0"/>

            <valids path="kostentraeger">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
            </valids>

            <value path="SegHead.code">HKAOM</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="UebForeignPar1">
            &GVP;
            <DEG type="ParUebForeign"/>

            <value path="SegHead.code">HIAOMS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="UebForeign2"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="My"/>
            <DE name="myname" type="AN" maxsize="140"/>
            <DEG type="KTV3" name="Other" minnum="0"/>
            <DE name="otheriban" type="AN" maxsize="34" minnum="0"/>
            <DE name="otherkiname" type="AN" maxsize="140"/>
            <DE name="othername" type="AN" maxsize="140"/>
            <DEG type="BTG"/>
            <DE name="kostentraeger" type="Num" maxsize="1"/>
            <DE name="usage" type="AN" maxsize="140" minnum="0"/>

            <valids path="kostentraeger">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
            </valids>

            <value path="SegHead.code">HKAOM</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="UebForeignPar2">
            &GVP2;
            <DEG type="ParUebForeign"/>

            &SecClassValids;

            <value path="SegHead.code">HIAOMS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="UebGar1"> <!-- 3-0 -->
            &SingleInlandUser4;
            
            <value path="SegHead.code">HKGUB</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="UebGarRes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KTV3" name="My"/>
            <DE name="myname" type="AN" maxsize="27" minnum="0"/>
            <DE name="myname2" type="AN" maxsize="27" minnum="0"/>
            <DEG type="KTV3" name="Other"/>
            <DE name="name" type="AN" maxsize="27"/>
            <DE name="name2" type="AN" maxsize="27" minnum="0"/>
            <DEG type="BTG"/>
            <DE name="key" type="Dig" minsize="2" maxsize="2"/>
            <DE name="addkey" type="Dig" minsize="3" maxsize="3" minnum="0"/>
            <DEG type="usage3" name="usage" minnum="0"/>
            <DEG type="Timestamp" minnum="0"/>
            
            <value path="SegHead.code">HIGUB</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="UebGarPar1">
            &GVP2;
            <DEG type="ParUeb"/>

            &SecClassValids;

            <value path="SegHead.code">HIGUBS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>

        <SEGdef id="UebSEPA1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="sepadescr" type="AN" maxsize="256"/>
            <DE name="sepapain" type="Bin" maxsize="0"/>
            
            <value path="SegHead.code">HKCCS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="UebSEPAPar1">
            &GVP2;
            
            &SecClassValids;
            
            <value path="SegHead.code">HICCSS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>

        <!-- BEGIN SEPA-Instant aka 'SEPA-Instant Payment Zahlung' -->
        <!-- Request -->
        <SEGdef id="InstUebSEPA1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="sepadescr" type="AN" maxsize="256"/>
            <DE name="sepapain" type="Bin" maxsize="0"/>

            <value path="SegHead.code">HKIPZ</value>
            <value path="SegHead.version">1</value>
        </SEGdef>

        <!-- Response -->
        <SEGdef id="InstUebSEPARes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            <DE name="ccode" type="Code" maxsize="1" minnum="0"/>
            <DE name="orderstatus" type="Code" maxsize="1" minnum="0"/>

            <valids path="ccode">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
            <valids path="orderstatus">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
                <validvalue>5</validvalue>
                <validvalue>6</validvalue>
                <validvalue>7</validvalue>
                <validvalue>8</validvalue>
                <validvalue>9</validvalue>
            </valids>

            <value path="SegHead.code">HIIPZ</value>
            <value path="SegHead.version">1</value>
        </SEGdef>

        <!-- BPD -->
        <SEGdef id="InstUebSEPAPar1">
            &GVP2;
            <DEG type="ParUmbSepa" name="ParUmbSepa"/>
            &SecClassValids;

            <value path="SegHead.code">HIIPZS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <!-- END SEPA-Instant aka 'SEPA-Instant Payment Zahlung' -->

        <!-- BEGIN SEPA-Umbuchung aka 'SEPA-Überweisung auf ein Empfängerkonto' -->
        <!-- Request -->
        <SEGdef id="UmbSEPA1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="sepadescr" type="AN" maxsize="256"/>
            <DE name="sepapain" type="Bin" maxsize="0"/>
            
            <value path="SegHead.code">HKCUM</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <!-- BPD -->
        <SEGdef id="UmbSEPAPar1">
            &GVP2;
            <DEG type="ParUmbSepa" name="ParUmbSepa"/>
            &SecClassValids;
            <value path="SegHead.code">HICUMS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <!-- END SEPA-Umbuchung aka 'SEPA-Überweisung auf ein Empfängerkonto' -->

        <!-- BEGIN SEPA-Lastschrift CORE -->
        <!-- Request -->
        <SEGdef id="LastSEPA1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="sepadescr" type="AN" maxsize="256"/>
            <DE name="sepapain" type="Bin" maxsize="0"/>
            
            <value path="SegHead.code">HKDSE</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <!-- Response -->
        <SEGdef id="LastSEPARes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HIDSE</value>
            <value path="SegHead.version">1</value>                
        </SEGdef>
        
        <!-- BPD -->
        <SEGdef id="LastSEPAPar1">
            &GVP2;
            <DEG type="ParTermSepaEinzelLast" name="ParTermSepaEinzelLast"/>
            &SecClassValids;
            <value path="SegHead.code">HIDSES</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <!-- END SEPA-Lastschrift CORE -->
        
        <!-- BEGIN SEPA-Lastschrift COR1 -->
        <!-- Request -->
        <SEGdef id="LastCOR1SEPA1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="sepadescr" type="AN" maxsize="256"/>
            <DE name="sepapain" type="Bin" maxsize="0"/>
            
            <value path="SegHead.code">HKDSC</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <!-- Response -->
        <SEGdef id="LastCOR1SEPARes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HIDSC</value>
            <value path="SegHead.version">1</value>                
        </SEGdef>
        
        <!-- BPD -->
        <SEGdef id="LastCOR1SEPAPar1">
            &GVP2;
      			<DEG type="ParTermSepaCOR1" name="ParTermSepaCOR1"/>
            &SecClassValids;
            <value path="SegHead.code">HIDSCS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <!-- END SEPA-Lastschrift COR1 -->
        
        <!-- BEGIN SEPA-Lastschrift B2B -->
        <!-- Request -->
        <SEGdef id="LastB2BSEPA1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="sepadescr" type="AN" maxsize="256"/>
            <DE name="sepapain" type="Bin" maxsize="0"/>
            
            <value path="SegHead.code">HKBSE</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <!-- Response -->
        <SEGdef id="LastB2BSEPARes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HIBSE</value>
            <value path="SegHead.version">1</value>                
        </SEGdef>
        
        <!-- BPD -->
        <SEGdef id="LastB2BSEPAPar1">
            &GVP2;
            <DEG type="ParTermSepaB2B" name="ParTermSepaB2B"/>
            &SecClassValids;
            <value path="SegHead.code">HIBSES</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <!-- END SEPA-Lastschrift B2B -->

        
        <!-- ================================== SEPA Dated Transfers ========================= -->
        <SEGdef id="TermUebSEPA1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="sepadescr" type="AN" maxsize="256"/>
            <DE name="sepapain" type="Bin" maxsize="0"/>
            
            <value path="SegHead.code">HKCSE</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="TermUebSEPARes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HICSE</value>
            <value path="SegHead.version">1</value>        
        </SEGdef>
        <SEGdef id="TermUebSEPAPar1">
            &GVP2;
            <DEG type="ParTermUebSEPA"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HICSES</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="TermUebSEPAList1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="sepadescr" type="AN" maxsize="256" minnum="1" maxnum="99"/>
            
            <DE name="startdate" type="Date" minnum="0"/>
            <DE name="enddate" type="Date" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKCSB</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="TermUebSEPAListRes1"> 
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="sepadescr" type="AN" maxsize="256" minnum="0"/>
            <DE name="sepapain" type="Bin" maxsize="0"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            <DE name="candel" type="JN" minnum="0"/>
            <DE name="canchange" type="JN" minnum="0"/>
            
            <value path="SegHead.code">HICSB</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="TermUebSEPAListPar1"> 
            &GVP2;
            <DEG type="ParTermUebSEPAList"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HICSBS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>

        <!-- Terminueberweisung loeschen -->
        <!-- Request -->
        <SEGdef id="TermUebSEPADel1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="sepadescr" type="AN" maxsize="256"/>
            <DE name="sepapain" type="Bin" maxsize="0"/>
            <DE name="orderid" type="AN" maxsize="99"/>
            
            <value path="SegHead.code">HKCSL</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <!-- BPD -->
        <SEGdef id="TermUebSEPADelPar1">
            &GVP2;
            <DEG type="ParTermUebSEPADel"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HICSLS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <!-- Terminueberweisung aendern -->
        <SEGdef id="TermUebSEPAEdit1">
        	<DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="sepadescr" type="AN" maxsize="256"/>
            <DE name="sepapain" type="Bin" maxsize="0"/>
            <DE name="orderid" type="AN" maxsize="99"/>
            
            <value path="SegHead.code">HKCSA</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="TermUebSEPAEditRes1"> 
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            <DE name="orderidold" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HICSA</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="TermUebSEPAEditPar1">
            &GVP2;
            <DEG type="ParTermUebSEPAEdit"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HICSAS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <!-- ================================== SEPA Standing Orders ========================= -->
        <SEGdef id="DauerSEPANew1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="sepadescr" type="AN" maxsize="256"/>
            <DE name="sepapain" type="Bin" maxsize="0"/>
            <DEG type="DauerDetails"/>
            
            <value path="SegHead.code">HKCDE</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="DauerSEPANewRes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HICDE</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="DauerSEPANewPar1">
            &GVP2;
            <DEG type="ParDauerSEPANew"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HICDES</value>
            <value path="SegHead.version">1</value>
        </SEGdef>

        <SEGdef id="DauerSEPAEdit1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="sepadescr" type="AN" maxsize="256"/>
            <DE name="sepapain" type="Bin" maxsize="0"/>
            <DE name="date" type="Date" minnum="0"/>
	    	<DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            <DEG type="DauerDetails"/>
            
            <value path="SegHead.code">HKCDN</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="DauerSEPAEditRes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99"/>
            <DE name="orderidold" type="AN" maxsize="99" minnum="0"/>
            
            <value path="SegHead.code">HICDN</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="DauerSEPAEditPar1">
            &GVP2;
            <DEG type="ParDauerSEPAEdit"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HICDNS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="DauerSEPADel1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="sepadescr" type="AN" maxsize="256"/>
            <DE name="sepapain" type="Bin" maxsize="0"/>
            <DE name="date" type="Date" minnum="0"/>
	    	<DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            <DEG type="DauerDetails"/>
            
            <value path="SegHead.code">HKCDL</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="DauerSEPADelPar1">
            &GVP2;
            <DEG type="ParDauerSEPADel"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HICDLS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        
        <SEGdef id="DauerSEPAList1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="sepadescr" type="AN" maxsize="256" minnum="1" maxnum="99"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKCDB</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="DauerSEPAListRes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="sepadescr" type="AN" maxsize="256" minnum="0"/>
            <DE name="sepapain" type="Bin" maxsize="0"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            <DEG type="DauerDetails"/>
            <DEG type="Aussetzung3" name="Aussetzung" minnum="0"/>
            <DE name="canchange" type="JN" minnum="0"/>
            <DE name="canskip" type="JN" minnum="0"/>
            <DE name="candel" type="JN" minnum="0"/>
            
            <value path="SegHead.code">HICDB</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="DauerSEPAListPar1">
            &GVP2;
            <DE name="maxentries_allowed" type="JN"/>

            &SecClassValids;
            
            <value path="SegHead.code">HICDBS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>

        <SEGdef id="DauerLastSEPAList1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="sepadescr" type="AN" maxsize="256" minnum="1" maxnum="99"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>

            <value path="SegHead.code">HKDDB</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="DauerLastSEPAListRes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="sepadescr" type="AN" maxsize="256" minnum="0"/>
            <DE name="sepapain" type="Bin" maxsize="0"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>
            <DEG type="DauerDetails"/>
            <DEG type="Aussetzung3" name="Aussetzung" minnum="0"/>
            <DE name="canchange" type="JN" minnum="0"/>
            <DE name="canskip" type="JN" minnum="0"/>
            <DE name="candel" type="JN" minnum="0"/>

            <value path="SegHead.code">HIDDB</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="DauerLastSEPAListPar1">
            &GVP2;
            <DEG type="ParDauerLastSEPAList" />

            &SecClassValids;

            <value path="SegHead.code">HIDDBS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>

        <SEGdef id="DauerLastSEPANew1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTVInt" name="My"/>
            <DE name="sepadescr" type="AN" maxsize="256"/>
            <DE name="sepapain" type="Bin" maxsize="0"/>
            <DEG type="DauerDetails"/>

            <value path="SegHead.code">HKDDE</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="DauerLastSEPANewRes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="orderid" type="AN" maxsize="99" minnum="0"/>

            <value path="SegHead.code">HIDDE</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="DauerLastSEPANewPar1">
            &GVP2;
            <DEG type="ParDauerLastSEPANew" />

            &SecClassValids;

            <value path="SegHead.code">HIDDES</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="Umb1"> <!-- 2.2 -->
            &SingleInlandUser3;

            <value path="SegHead.code">HKUMB</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="UmbPar1">
            &GVP;
            <DEG type="ParUmb"/>

            <value path="SegHead.code">HIUMBS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="Umb2"> <!-- 3.0 -->
            &SingleInlandUser4;

            <value path="SegHead.code">HKUMB</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="UmbPar2">
            &GVP2;
            <DEG type="ParUmb"/>

            &SecClassValids;

            <value path="SegHead.code">HIUMBS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="Vormerkposten1">
            <DEG type="SegHeadUser" name="SegHead" />
            <DEG type="KTV3" name="My" />
            <DE name="allaccounts" type="JN" />
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
          
            <value path="SegHead.code">HKVMK</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="VormerkpostenRes1">
            <DEG type="SegHeadInst" name="SegHead" />
            <DE name="mt942" type="Bin" maxsize="0" />
          
            <value path="SegHead.code">HIVMK</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="VormerkpostenPar1">
            &GVP2;
            <DEG type="ParVormerkposten"/>
          
            &SecClassValids;
          
            <value path="SegHead.code">HIVMKS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="TemplatePar">
            &GVP;
        </SEGdef>

        <SEGdef id="Template2Par">
            &GVP;
            <DE name="secclassdummy" type="AN" maxsize="999"/>
        </SEGdef>

        <SEGdef id="TemplateDPar">
            &GVP;
            <DEG type="ParTemplateD"/>
        </SEGdef>

        <SEGdef id="Template2DPar">
            &GVP2;
            <DEG type="ParTemplate2D"/>
        </SEGdef>

        <SEGdef id="WPDepotList2"> <!-- 2.1 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTO" name="Depot"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKWPD</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="WPDepotListRes2"> 
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="data571" type="Bin" maxsize="0"/>
            
            <value path="SegHead.code">HIWPD</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="WPDepotListPar2"> 
            &GVP;
            <DEG type="ParWPDepotList1" name="ParWPDepotList"/>
            
            <value path="SegHead.code">HIWPDS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="WPDepotList3">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTO" name="Depot"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKWPD</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="WPDepotListRes3"> 
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="data535" type="Bin" maxsize="0"/>
            
            <value path="SegHead.code">HIWPD</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="WPDepotListPar3"> 
            &GVP;
            <DEG type="ParWPDepotList1" name="ParWPDepotList"/>
            
            <value path="SegHead.code">HIWPDS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="WPDepotList4"> <!-- 2.2 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV2" name="Depot"/>
            <DE name="curr" type="Cur" minnum="0"/>
            <DE name="quality" type="Num" maxsize="1" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKWPD</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="WPDepotListRes4"> 
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="data571" type="Bin" maxsize="0"/>
            
            <value path="SegHead.code">HIWPD</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="WPDepotListPar4"> 
            &GVP;
            <DEG type="ParWPDepotList2" name="ParWPDepotList"/>
            
            <value path="SegHead.code">HIWPDS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        
        <SEGdef id="WPDepotList5">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV2" name="Depot"/>
            <DE name="curr" type="Cur" minnum="0"/>
            <DE name="quality" type="Num" maxsize="1" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKWPD</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="WPDepotListRes5"> 
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="data535" type="Bin" maxsize="0"/>
            
            <value path="SegHead.code">HIWPD</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="WPDepotListPar5"> 
            &GVP;
            <DEG type="ParWPDepotList2" name="ParWPDepotList"/>
            
            <value path="SegHead.code">HIWPDS</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        
        <SEGdef id="WPDepotList6"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="Depot"/>
            <DE name="curr" type="Cur" minnum="0"/>
            <DE name="quality" type="Num" maxsize="1" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <value path="SegHead.code">HKWPD</value>
            <value path="SegHead.version">6</value>
        </SEGdef>
        <SEGdef id="WPDepotListRes6"> 
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="data535" type="Bin" maxsize="0"/>
            
            <value path="SegHead.code">HIWPD</value>
            <value path="SegHead.version">6</value>
        </SEGdef>
        <SEGdef id="WPDepotListPar6"> 
            &GVP2;
            <DEG type="ParWPDepotList2" name="ParWPDepotList"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIWPDS</value>
            <value path="SegHead.version">6</value>
        </SEGdef>
        
        <SEGdef id="WPDepotUms1" needsRequestTag="1"> <!-- 2.1 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTO" name="Depot" minnum="0"/>
            <DEG type="WPRef" minnum="0"/>
            <DE name="startdate" type="Date" minnum="0"/>
            <DE name="enddate" type="Date" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>

            <value path="SegHead.code">HKWDU</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="WPDepotUmsRes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="data572" type="Bin" maxsize="0"/>

            <value path="SegHead.code">HIWDU</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="WPDepotUmsPar1">
            &GVP;
            <DEG type="ParWPDepotUms"/>

            <value path="SegHead.code">HIWDUS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="WPDepotUms2" needsRequestTag="1">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTO" name="Depot" minnum="0"/>
            <DEG type="WPRef" minnum="0"/>
            <DE name="startdate" type="Date" minnum="0"/>
            <DE name="enddate" type="Date" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>

            <value path="SegHead.code">HKWDU</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="WPDepotUmsRes2">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="data536" type="Bin" maxsize="0"/>

            <value path="SegHead.code">HIWDU</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="WPDepotUmsPar2">
            &GVP;
            <DEG type="ParWPDepotUms"/>

            <value path="SegHead.code">HIWDUS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="WPDepotUms3"> <!-- 2.2 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV2" name="Depot"/>
            <DE name="alldepots" type="JN"/>
            <DEG type="WPRef" minnum="0"/>
            <DE name="startdate" type="Date" minnum="0"/>
            <DE name="enddate" type="Date" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>

            <value path="SegHead.code">HKWDU</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="WPDepotUmsRes3">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="data572" type="Bin" maxsize="0"/>

            <value path="SegHead.code">HIWDU</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="WPDepotUmsPar3">
            &GVP;
            <DEG type="ParWPDepotUms"/>

            <value path="SegHead.code">HIWDUS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="WPDepotUms4">
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV2" name="Depot"/>
            <DE name="alldepots" type="JN"/>
            <DEG type="WPRef" minnum="0"/>
            <DE name="startdate" type="Date" minnum="0"/>
            <DE name="enddate" type="Date" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>

            <value path="SegHead.code">HKWDU</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="WPDepotUmsRes4">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="data536" type="Bin" maxsize="0"/>

            <value path="SegHead.code">HIWDU</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        <SEGdef id="WPDepotUmsPar4">
            &GVP;
            <DEG type="ParWPDepotUms"/>

            <value path="SegHead.code">HIWDUS</value>
            <value path="SegHead.version">4</value>
        </SEGdef>
        
        <SEGdef id="WPDepotUms5"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="Depot"/>
            <DE name="alldepots" type="JN"/>
            <DEG type="WPRef" minnum="0"/>
            <DE name="startdate" type="Date" minnum="0"/>
            <DE name="enddate" type="Date" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>

            <value path="SegHead.code">HKWDU</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="WPDepotUmsRes5">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="data536" type="Bin" maxsize="0"/>

            <value path="SegHead.code">HIWDU</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        <SEGdef id="WPDepotUmsPar5">
            &GVP2;
            <DEG type="ParWPDepotUms"/>
            
            &SecClassValids;

            <value path="SegHead.code">HIWDUS</value>
            <value path="SegHead.version">5</value>
        </SEGdef>
        
        <SEGdef id="WPInfoList1"> <!-- 2.1 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="WPRef"/>

            <value path="SegHead.code">HKWPI</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="WPInfoListRes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="WPRef"/>
            <DE name="name" type="AN" maxsize="34" minnum="0"/>
            <DE name="info" type="AN" maxsize="2048" minnum="0"/>
            <DE name="grformat" type="AN" maxsize="15" minnum="0"/>
            <DE name="grafik" type="Bin" maxsize="0" minnum="0"/>
            <DE name="weblink" type="AN" maxsize="256" minnum="0"/>

            <value path="SegHead.code">HIWPI</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="WPInfoListPar1">
            &GVP;

            <value path="SegHead.code">HIWPIS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="WPInfoList2"> <!-- 2.2 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV2" name="Depot" minnum="0"/>
            <DEG type="WPRef"/>

            <value path="SegHead.code">HKWPI</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="WPInfoListRes2">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="WPRef"/>
            <DE name="name" type="AN" maxsize="99" minnum="0"/>
            <DE name="info" type="AN" maxsize="2048" minnum="0"/>
            <DE name="grformat" type="AN" maxsize="15" minnum="0"/>
            <DE name="grafik" type="Bin" maxsize="0" minnum="0"/>
            <DE name="weblink" type="AN" maxsize="256" minnum="0"/>

            <value path="SegHead.code">HIWPI</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="WPInfoListPar2">
            &GVP;
            <DEG type="ParWPInfoList"/>

            <value path="SegHead.code">HIWPIS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="WPInfoList3"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="Depot" minnum="0"/>
            <DEG type="WPRef"/>

            <value path="SegHead.code">HKWPI</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="WPInfoListRes3">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="WPRef"/>
            <DE name="name" type="AN" maxsize="99" minnum="0"/>
            <DE name="info" type="AN" maxsize="2048" minnum="0"/>
            <DE name="grformat" type="AN" maxsize="15" minnum="0"/>
            <DE name="grafik" type="Bin" maxsize="0" minnum="0"/>
            <DE name="weblink" type="AN" maxsize="256" minnum="0"/>

            <value path="SegHead.code">HIWPI</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="WPInfoListPar3">
            &GVP2;
            <DEG type="ParWPInfoList"/>
            
            &SecClassValids;

            <value path="SegHead.code">HIWPIS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="WPKursList1" needsRequestTag="1"> <!-- 2.1 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="WPRef" minnum="0"/>
            <DE name="boerse" type="AN" minsize="4" maxsize="4" minnum="0"/>
            <DE name="kurspaket" type="AN" maxsize="30" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>

            <value path="SegHead.code">HKWPK</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="WPKursListRes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="WPRef"/>
            <DEG type="WPKursData" maxnum="99"/>

            <value path="SegHead.code">HIWPK</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="WPKursListPar1">
            &GVP;
            <DEG type="ParWPKursList1" name="ParWPKursList"/>

            <value path="SegHead.code">HIWPKS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="WPKursList2" needsRequestTag="1"> <!-- 2.2 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV2" name="Depot" minnum="0"/>
            <DEG type="WPRef" minnum="0"/>
            <DE name="boerse" type="AN" minsize="4" maxsize="4" minnum="0"/>
            <DE name="kurspaket" type="AN" maxsize="30" minnum="0"/>
            <DE name="kursquality" type="Num" maxsize="1" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <valids path="kursquality">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>

            <value path="SegHead.code">HKWPK</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="WPKursListRes2">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="WPRef"/>
            <DE name="name" type="AN" maxsize="99"/>
            <DE name="boerse" type="AN" minsize="4" maxsize="4"/>
            <DE name="WPKursData.notizeinheit" type="Num" maxsize="1"/>
            <DE name="WPKursData.zeitbezug" type="AN" maxsize="1" minnum="0"/>
            <DE name="umsatz" type="Wrt" minnum="0"/>
            <DEG type="WPBKurs" name="WPKursData.Kassakurs" minnum="0"/>
            <DEG type="WPBKurs" name="WPKursData.Vorboerse" minnum="0"/>
            <DEG type="WPBKurs" name="WPKursData.Openkurs" minnum="0"/>
            <DEG type="WPBKurs" name="WPKursData.Lastkurs" minnum="0"/>
            <DEG type="WPBKurs" name="WPKursData.Nachboerse" minnum="0"/>
            <DEG type="WPBKurs" name="WPKursData.Prevdaykurs" minnum="0"/>
            <DEG type="WPBKurs" name="WPKursData.Annmax" minnum="0"/>
            <DEG type="WPBKurs" name="WPKursData.Annmin" minnum="0"/>
            <DEG type="WPBKurs" name="WPKursData.Outputprice" minnum="0"/>
            <DEG type="WPBKurs" name="WPKursData.Retprice" minnum="0"/>

            <valids path="WPKursData.notizeinheit">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
                <validvalue>9</validvalue>
            </valids>
            <valids path="WPKursData.zeitbezug">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>

            <value path="SegHead.code">HIWPK</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="WPKursListPar2">
            &GVP;
            <DEG type="ParWPKursList2" name="ParWPKursList"/>

            <value path="SegHead.code">HIWPKS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="WPKursList3" needsRequestTag="1"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="Depot" minnum="0"/>
            <DEG type="WPRef" minnum="0"/>
            <DE name="boerse" type="AN" minsize="4" maxsize="4" minnum="0"/>
            <DE name="kurspaket" type="AN" maxsize="30" minnum="0"/>
            <DE name="kursquality" type="Num" maxsize="1" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <valids path="kursquality">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>

            <value path="SegHead.code">HKWPK</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="WPKursListRes3">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="WPRef"/>
            <DE name="name" type="AN" maxsize="99"/>
            <DE name="boerse" type="AN" minsize="4" maxsize="4"/>
            <DE name="WPKursData.notizeinheit" type="Num" maxsize="1"/>
            <DE name="WPKursData.zeitbezug" type="AN" maxsize="1" minnum="0"/>
            <DE name="umsatz" type="Wrt" minnum="0"/>
            <DEG type="WPBKurs" name="WPKursData.Kassakurs" minnum="0"/>
            <DEG type="WPBKurs" name="WPKursData.Vorboerse" minnum="0"/>
            <DEG type="WPBKurs" name="WPKursData.Openkurs" minnum="0"/>
            <DEG type="WPBKurs" name="WPKursData.Lastkurs" minnum="0"/>
            <DEG type="WPBKurs" name="WPKursData.Nachboerse" minnum="0"/>
            <DEG type="WPBKurs" name="WPKursData.Prevdaykurs" minnum="0"/>
            <DEG type="WPBKurs" name="WPKursData.Annmax" minnum="0"/>
            <DEG type="WPBKurs" name="WPKursData.Annmin" minnum="0"/>
            <DEG type="WPBKurs" name="WPKursData.Outputprice" minnum="0"/>
            <DEG type="WPBKurs" name="WPKursData.Retprice" minnum="0"/>

            <valids path="WPKursData.notizeinheit">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
                <validvalue>9</validvalue>
            </valids>
            <valids path="WPKursData.zeitbezug">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>

            <value path="SegHead.code">HIWPK</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="WPKursListPar3">
            &GVP2;
            <DEG type="ParWPKursList2" name="ParWPKursList"/>
            
            &SecClassValids;

            <value path="SegHead.code">HIWPKS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="WPRefList1"> <!-- 2.1 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="search" type="AN" maxsize="34" minnum="0"/>
            <DE name="region" type="Num" maxsize="1"/>
            <DEG type="WPTypes" minnum="0"/>
            <DE name="onlystandard" type="JN"/>
            <DE name="onlynew" type="JN"/>
            <DE name="boerse" type="AN" minsize="4" maxsize="4" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <valids path="region">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
            
            <value path="SegHead.code">HKWPR</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="WPRefListRes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="name" type="AN" maxsize="34"/>
            <DE name="stammavail" type="JN"/>
            <DE name="kursavail" type="JN"/>
            <DE name="infoavail" type="JN"/>
            <DEG type="WPRef" maxnum="9"/>

            <value path="SegHead.code">HIWPR</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="WPRefListPar1">
            &GVP;
            <DEG type="ParWPRefList"/>
            
            <value path="SegHead.code">HIWPRS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="WPRefList2"> <!-- 2.2 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="search" type="AN" maxsize="99" minnum="0"/>
            <DE name="region" type="Num" maxsize="1"/>
            <DEG type="WPTypes" minnum="0"/>
            <DE name="onlystandard" type="JN"/>
            <DE name="onlynew" type="JN"/>
            <DE name="boerse" type="AN" minsize="4" maxsize="4" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <valids path="region">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
            
            <value path="SegHead.code">HKWPR</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="WPRefListRes2">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="name" type="AN" maxsize="99"/>
            <DE name="stammavail" type="JN"/>
            <DE name="kursavail" type="JN"/>
            <DE name="infoavail" type="JN"/>
            <DEG type="WPRef" maxnum="9"/>

            <value path="SegHead.code">HIWPR</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="WPRefListPar2">
            &GVP;
            <DEG type="ParWPRefList"/>
            
            <value path="SegHead.code">HIWPRS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="WPRefList3"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DE name="search" type="AN" maxsize="99" minnum="0"/>
            <DE name="region" type="Num" maxsize="1"/>
            <DEG type="WPTypes" minnum="0"/>
            <DE name="onlystandard" type="JN"/>
            <DE name="onlynew" type="JN"/>
            <DE name="boerse" type="AN" minsize="4" maxsize="4" minnum="0"/>
            <DE name="maxentries" type="Num" maxsize="4" minnum="0"/>
            <DE name="offset" type="AN" maxsize="35" minnum="0"/>
            
            <valids path="region">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
            
            <value path="SegHead.code">HKWPR</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="WPRefListRes3">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DE name="name" type="AN" maxsize="99"/>
            <DE name="stammavail" type="JN"/>
            <DE name="kursavail" type="JN"/>
            <DE name="infoavail" type="JN"/>
            <DEG type="WPRef" maxnum="9"/>

            <value path="SegHead.code">HIWPR</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="WPRefListPar3">
            &GVP2;
            <DEG type="ParWPRefList"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIWPRS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        
        <SEGdef id="WPStammList1"> <!-- 2.1 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="WPRef"/>
            
            <value path="SegHead.code">HKWSD</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="WPStammListRes1">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="WPRef"/>
            <DE name="name" type="AN" maxsize="34" minnum="0"/>
            <DE name="longname" type="AN" maxsize="99" minnum="0"/>
            <DE name="type" type="AN" maxsize="35" minnum="0"/>
            <DE name="region" type="Num" maxsize="1" minnum="0"/>
            <DE name="boerse" type="AN" minsize="4" maxsize="4" minnum="0"/>
            <DE name="depotcurr" type="Cur" minnum="0"/>
            <DE name="WPStammRenten.zinssatz" type="Wrt" minnum="0"/>
            <DE name="notizeinheit" type="Num" maxsize="1" minnum="0"/>
            <DE name="canorder" type="Num" maxsize="1" minnum="0"/>
            <DEG type="BTG" name="WPStammAktien.nennwert" minnum="0"/>
            <DE name="WPStammRenten.emissdate" type="Date" minnum="0"/>
            <DEG type="WPZinsTermine" minnum="0"/>
            <DE name="WPStammAktien.kapitalchange" type="Num" maxsize="1" minnum="0"/>
            <DEG type="BTG" name="WPStammAktien.kapitalchangevalue" minnum="0"/>
            <DEG type="BTG" name="WPStammAktieb.dividende" minnum="0"/>
            <DE name="faelligkeit" type="Date" minnum="0"/>
            <DE name="WPStammAktien.hvtermin" type="Date" minnum="0"/>
            <DEG type="BTG" name="retprice" minnum="0"/>
            <DE name="verlosung" type="Date" minnum="0"/>
            <DE name="lossize" type="Num" maxsize="15" minnum="0"/>
            <DE name="emittent" type="Num" maxsize="6" minnum="0"/>
            <DE name="type" type="Num" maxsize="3" minnum="0"/>
            <DE name="group" type="Num" maxsize="3" minnum="0"/>
            <DE name="info" type="AN" maxsize="2048" minnum="0"/>
            <DEG type="WPBInfo1" name="WPBInfo" minnum="0" maxnum="99"/>
            
            <valids path="region">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
            <valids path="notizeinheit">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
                <validvalue>9</validvalue>
            </valids>
            <valids path="canorder">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
            <valids path="WPStammAktien.kapitalchange">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
            </valids>
            
            <value path="SegHead.code">HIWSD</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        <SEGdef id="WPStammListPar1">
            &GVP;
            
            <value path="SegHead.code">HIWSDS</value>
            <value path="SegHead.version">1</value>
        </SEGdef>
        
        <SEGdef id="WPStammList2"> <!-- 2.2 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV2" name="Depot" minnum="0"/>
            <DEG type="WPRef"/>
            
            <value path="SegHead.code">HKWSD</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="WPStammListRes2">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="WPRef"/>
            <DE name="name" type="AN" maxsize="99"/>
            <DE name="notizeinheit" type="Num" maxsize="1"/>
            <DE name="kategorie" type="Num" maxsize="1"/>
            <DE name="type" type="Num" maxsize="3" minnum="0"/>
            <DE name="group" type="AN" maxsize="2" minnum="0"/>
            <DE name="typedescr" type="AN" maxsize="99" minnum="0"/>
            <DE name="depotcurr" type="Cur" minnum="0"/>
            <DE name="endcurr" type="Cur" minnum="0"/>
            <DE name="canorder" type="Num" maxsize="1" minnum="0"/>
            <DE name="risiko" type="AN" maxsize="2" minnum="0"/>
            <DE name="emittent" type="Num" maxsize="6" minnum="0"/>
            <DE name="info" type="AN" maxsize="2048" minnum="0"/>
            <DEG type="WPStammAktien" minnum="0"/>
            <DEG type="WPStammRenten" minnum="0"/>
            <DEG type="WPStammFonds" minnum="0"/>
            <DEG type="WPStammOptions" minnum="0"/>
            <DEG type="WPBInfo2" name="WPBInfo" minnum="0" maxnum="99"/>
            
            <valids path="notizeinheit">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
                <validvalue>9</validvalue>
            </valids>
            <valids path="kategorie">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
            <valids path="canorder">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
            
            <value path="SegHead.code">HIWSD</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        <SEGdef id="WPStammListPar2">
            &GVP;
            <DEG type="ParWPStammList"/>
            
            <value path="SegHead.code">HIWSDS</value>
            <value path="SegHead.version">2</value>
        </SEGdef>
        
        <SEGdef id="WPStammList3"> <!-- 3.0 -->
            <DEG type="SegHeadUser" name="SegHead"/>
            <DEG type="KTV3" name="Depot" minnum="0"/>
            <DEG type="WPRef"/>
            
            <value path="SegHead.code">HKWSD</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="WPStammListRes3">
            <DEG type="SegHeadInst" name="SegHead"/>
            <DEG type="WPRef"/>
            <DE name="name" type="AN" maxsize="99"/>
            <DE name="notizeinheit" type="Num" maxsize="1"/>
            <DE name="kategorie" type="Num" maxsize="1"/>
            <DE name="type" type="Num" maxsize="3" minnum="0"/>
            <DE name="group" type="AN" maxsize="2" minnum="0"/>
            <DE name="typedescr" type="AN" maxsize="99" minnum="0"/>
            <DE name="depotcurr" type="Cur" minnum="0"/>
            <DE name="endcurr" type="Cur" minnum="0"/>
            <DE name="canorder" type="Num" maxsize="1" minnum="0"/>
            <DE name="risiko" type="AN" maxsize="2" minnum="0"/>
            <DE name="emittent" type="Num" maxsize="6" minnum="0"/>
            <DE name="info" type="AN" maxsize="2048" minnum="0"/>
            <DEG type="WPStammAktien" minnum="0"/>
            <DEG type="WPStammRenten" minnum="0"/>
            <DEG type="WPStammFonds" minnum="0"/>
            <DEG type="WPStammOptions" minnum="0"/>
            <DEG type="WPBInfo2" name="WPBInfo" minnum="0" maxnum="99"/>
            
            <valids path="notizeinheit">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
                <validvalue>9</validvalue>
            </valids>
            <valids path="kategorie">
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
            <valids path="canorder">
                <validvalue>0</validvalue>
                <validvalue>1</validvalue>
                <validvalue>2</validvalue>
                <validvalue>3</validvalue>
                <validvalue>4</validvalue>
            </valids>
            
            <value path="SegHead.code">HIWSD</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
        <SEGdef id="WPStammListPar3">
            &GVP2;
            <DEG type="ParWPStammList"/>
            
            &SecClassValids;
            
            <value path="SegHead.code">HIWSDS</value>
            <value path="SegHead.version">3</value>
        </SEGdef>
    </SEGs>

    <SFs>
        <SFdef id="BPD">
            <SEG type="BPA3" name="BPA"/>
            <SEG type="CommListRes2" name="CommListRes" minnum="0"/>
            <SEG type="CommListRes3" name="CommListRes" minnum="0"/>
            <SEG type="CommListRes4" name="CommListRes" minnum="0"/>
            <SEG type="SecMethod3" name="SecMethod" minnum="0"/>
            <SEG type="CompMethod1" name="CompMethod" minnum="0"/>
            <SF type="Params" minnum="0" maxnum="0"/>
        </SFdef>

        <SFdef id="UPD">
            <SEG type="UPA2" name="UPA" minnum="0"/>
            <SEG type="UPA3" name="UPA" minnum="0"/>
            <SEG type="UPA4" name="UPA" minnum="0"/>
            <SEG type="KInfo5" name="KInfo" minnum="0" maxnum="0"/>
            <SEG type="KInfo6" name="KInfo" minnum="0" maxnum="0"/>
        </SFdef>

        <!-- end of administrative sfs -->
        
        <SFdef id="GV">
            <SEG type="AccInfo1" minnum="0"/>
            <SEG type="AccInfo2" minnum="0"/>
            <SEG type="CardList1" minnum="0"/>
            <SEG type="CardList2" minnum="0"/>
            <SEG type="ChangePIN1" minnum="0"/>
            <SEG type="ChangePINOld1" minnum="0"/>
            <SEG type="CommList2" minnum="0"/>
            <SEG type="CommList3" minnum="0"/>
            <SEG type="CommList4" minnum="0"/>
            <SEG type="CustomMsg2" minnum="0"/>
            <SEG type="CustomMsg3" minnum="0"/>
            <SEG type="CustomMsg4" minnum="0"/>
            <SEG type="CustomMsg5" minnum="0"/>
            <SEG type="DauerDel1" minnum="0"/>
            <SEG type="DauerDel2" minnum="0"/>
            <SEG type="DauerDel3" minnum="0"/>
            <SEG type="DauerDel4" minnum="0"/>
            <SEG type="DauerSEPADel1" minnum="0"/>            
            <SEG type="DauerEdit2" minnum="0"/>
            <SEG type="DauerEdit3" minnum="0"/>
            <SEG type="DauerEdit4" minnum="0"/>
            <SEG type="DauerEdit5" minnum="0"/>
            <SEG type="DauerSEPAEdit1" minnum="0"/>
            <SEG type="DauerList1" minnum="0"/>
            <SEG type="DauerList2" minnum="0"/>
            <SEG type="DauerList3" minnum="0"/>
            <SEG type="DauerList4" minnum="0"/>
            <SEG type="DauerList5" minnum="0"/>
            <SEG type="DauerSEPAList1" minnum="0"/>
            <SEG type="DauerLastSEPAList1" minnum="0"/>
            <SEG type="DauerLastSEPANew1" minnum="0"/>
            <SEG type="DauerNew2" minnum="0"/>
            <SEG type="DauerNew3" minnum="0"/>
            <SEG type="DauerNew4" minnum="0"/>
            <SEG type="DauerNew5" minnum="0"/>
            <SEG type="DauerSEPANew1" minnum="0"/>
            <SEG type="FestCondList1" minnum="0"/>
            <SEG type="FestCondList2" minnum="0"/>
            <SEG type="FestCondList3" minnum="0"/>
            <SEG type="FestList2" minnum="0"/>
            <SEG type="FestList3" minnum="0"/>
            <SEG type="FestList4" minnum="0"/>
            <SEG type="FestNew2" minnum="0"/>
            <SEG type="FestNew3" minnum="0"/>
            <SEG type="FestNew4" minnum="0"/>
            <SEG type="InfoDetails1" minnum="0"/>
            <SEG type="InfoDetails2" minnum="0"/>
            <SEG type="InfoDetails3" minnum="0"/>
            <SEG type="InfoDetails4" minnum="0"/>
            <SEG type="InfoList1" minnum="0"/>
            <SEG type="InfoList2" minnum="0"/>
            <SEG type="InfoList3" minnum="0"/>
            <SEG type="InfoList4" minnum="0"/>
            <SEG type="InstUebSEPA1" minnum="0"/>
            <SEG type="Kontoauszug1" minnum="0"/>
            <SEG type="Kontoauszug2" minnum="0"/>
            <SEG type="Kontoauszug3" minnum="0"/>
            <SEG type="Kontoauszug4" minnum="0"/>
            <SEG type="Kontoauszug5" minnum="0"/>
            <SEG type="KontoauszugPdf1" minnum="0"/>
            <SEG type="KontoauszugPdf2" minnum="0"/>
            <SEG type="KUmsNew4" minnum="0"/>
            <SEG type="KUmsNew5" minnum="0"/>
            <SEG type="KUmsNew6" minnum="0"/>
            <SEG type="KUmsNew7" minnum="0"/>
            <SEG type="KUmsZeit4" minnum="0"/>
            <SEG type="KUmsZeit5" minnum="0"/>
            <SEG type="KUmsZeit6" minnum="0"/>
            <SEG type="KUmsZeit7" minnum="0"/>
            <SEG type="KUmsZeitCamt1" minnum="0"/>
            <SEG type="Last2" minnum="0"/>
            <SEG type="Last3" minnum="0"/>
            <SEG type="Last4" minnum="0"/>
            <SEG type="Last5" minnum="0"/>
            <SEG type="LastSEPA1" minnum="0"/>
            <SEG type="LastCOR1SEPA1" minnum="0"/>
            <SEG type="LastB2BSEPA1" minnum="0"/>
            <SEG type="LastObjection1" minnum="0"/>
            <SEG type="LastObjection2" minnum="0"/>
            <SEG type="OrderHistory1" minnum="0"/>
            <SEG type="Receipt1" minnum="0"/>
            <SEG type="Saldo3" minnum="0"/>
            <SEG type="Saldo4" minnum="0"/>
            <SEG type="Saldo5" minnum="0"/>
            <SEG type="Saldo6" minnum="0"/>
            <SEG type="Saldo7" minnum="0"/>
            <SEG type="SammelLast3" minnum="0"/>
            <SEG type="SammelLast4" minnum="0"/>
            <SEG type="SammelLast5" minnum="0"/>
            <SEG type="SammelLast6" minnum="0"/>
            <SEG type="SammelUeb3" minnum="0"/>
            <SEG type="SammelUeb4" minnum="0"/>
            <SEG type="SammelUeb5" minnum="0"/>
            <SEG type="SammelUeb6" minnum="0"/>
            <SEG type="SammelUebEil1" minnum="0"/>
            <SEG type="SammelUebSEPA1" minnum="0"/>
            <SEG type="TermSammelUebSEPA1" minnum="0"/>
            <SEG type="SammelLastSEPA1" minnum="0"/>
            <SEG type="SammelLastCOR1SEPA1" minnum="0"/>
            <SEG type="SammelLastB2BSEPA1" minnum="0"/>
            <SEG type="SEPAInfo1" minnum="0"/>
            <SEG type="Status2" minnum="0"/>
            <SEG type="Status3" minnum="0"/>
            <SEG type="Status4" minnum="0"/>
            <SEG type="TAN2Step1" minnum="0"/>
            <SEG type="TAN2Step2" minnum="0"/>
            <SEG type="TAN2Step3" minnum="0"/>
            <SEG type="TAN2Step4" minnum="0"/>
            <SEG type="TAN2Step5" minnum="0"/>
            <SEG type="TAN2Step6" minnum="0"/>
            <SEG type="TAN2Step7" minnum="0"/>
            <SEG type="TANListList1" minnum="0"/>
            <SEG type="TANMediaList1" minnum="0"/>
            <SEG type="TANMediaList2" minnum="0"/>
            <SEG type="TANMediaList3" minnum="0"/>
            <SEG type="TANMediaList4" minnum="0"/>
            <SEG type="TANMediaList5" minnum="0"/>
            <SEG type="TermSammelLast3" minnum="0"/>
            <SEG type="TermSammelLastDel3" minnum="0"/>
            <SEG type="TermSammelLastList3" minnum="0"/>
            <SEG type="TermSammelUeb3" minnum="0"/>
            <SEG type="TermSammelUebDel3" minnum="0"/>
            <SEG type="TermSammelUebList3" minnum="0"/>
            <SEG type="TermUeb2" minnum="0"/>
            <SEG type="TermUeb3" minnum="0"/>
            <SEG type="TermUeb4" minnum="0"/>
            <SEG type="TermUebSEPA1" minnum="0"/>
            <SEG type="TermUebDel1" minnum="0"/>
            <SEG type="TermUebDel2" minnum="0"/>
            <SEG type="TermUebDel3" minnum="0"/>
            <SEG type="TermUebEdit2" minnum="0"/>
            <SEG type="TermUebEdit3" minnum="0"/>
            <SEG type="TermUebEdit4" minnum="0"/>
            <SEG type="TermUebList1" minnum="0"/>
            <SEG type="TermUebList2" minnum="0"/>
            <SEG type="TermUebList3" minnum="0"/>
            <SEG type="TermUebSEPAList1" minnum="0"/>
            <SEG type="TermUebSEPADel1" minnum="0"/>
            <SEG type="TermUebSEPAEdit1" minnum="0"/>
            <SEG type="Ueb2" minnum="0"/>
            <SEG type="Ueb3" minnum="0"/>
            <SEG type="Ueb4" minnum="0"/>
            <SEG type="Ueb5" minnum="0"/>
            <SEG type="UebEil1" minnum="0"/>
            <SEG type="UebForeign1" minnum="0"/>
            <SEG type="UebForeign2" minnum="0"/>
            <SEG type="UebGar1" minnum="0"/>
            <SEG type="UebSEPA1" minnum="0"/>
            <SEG type="UmbSEPA1" minnum="0"/>
            <SEG type="Umb1" minnum="0"/>
            <SEG type="Umb2" minnum="0"/>
            <SEG type="Vormerkposten1" minnum="0"/>
            <SEG type="WPDepotList2" minnum="0"/>
            <SEG type="WPDepotList3" minnum="0"/>
            <SEG type="WPDepotList4" minnum="0"/>
            <SEG type="WPDepotList5" minnum="0"/>
            <SEG type="WPDepotList6" minnum="0"/>
            <SEG type="WPDepotUms1" minnum="0"/>
            <SEG type="WPDepotUms2" minnum="0"/>
            <SEG type="WPDepotUms3" minnum="0"/>
            <SEG type="WPDepotUms4" minnum="0"/>
            <SEG type="WPDepotUms5" minnum="0"/>
            <SEG type="WPInfoList1" minnum="0"/>
            <SEG type="WPInfoList2" minnum="0"/>
            <SEG type="WPInfoList3" minnum="0"/>
            <SEG type="WPKursList1" minnum="0"/>
            <SEG type="WPKursList2" minnum="0"/>
            <SEG type="WPKursList3" minnum="0"/>
            <SEG type="WPRefList1" minnum="0"/>
            <SEG type="WPRefList2" minnum="0"/>
            <SEG type="WPRefList3" minnum="0"/>
            <SEG type="WPStammList1" minnum="0"/>
            <SEG type="WPStammList2" minnum="0"/>
            <SEG type="WPStammList3" minnum="0"/>
        </SFdef>
        
        <SFdef id="GVRes">
            <SEG type="AccInfoRes1" minnum="0"/>
            <SEG type="AccInfoRes2" minnum="0"/>
            <SEG type="CardListRes1" minnum="0"/>
            <SEG type="CardListRes2" minnum="0"/>
            <SEG type="CommListRes2" minnum="0"/>
            <SEG type="CommListRes3" minnum="0"/>
            <SEG type="CommListRes4" minnum="0"/>
            <SEG type="DauerEditRes2" minnum="0"/>
            <SEG type="DauerEditRes3" minnum="0"/>
            <SEG type="DauerEditRes4" minnum="0"/>
            <SEG type="DauerEditRes5" minnum="0"/>
            <SEG type="DauerSEPAEditRes1" minnum="0"/>
            <SEG type="DauerListRes1" minnum="0"/>
            <SEG type="DauerListRes2" minnum="0"/>
            <SEG type="DauerListRes3" minnum="0"/>
            <SEG type="DauerListRes4" minnum="0"/>
            <SEG type="DauerListRes5" minnum="0"/>
            <SEG type="DauerSEPAListRes1" minnum="0"/>
            <SEG type="DauerLastSEPAListRes1" minnum="0"/>
            <SEG type="DauerLastSEPANewRes1" minnum="0"/>
            <SEG type="DauerNewRes2" minnum="0"/>
            <SEG type="DauerNewRes3" minnum="0"/>
            <SEG type="DauerNewRes4" minnum="0"/>
            <SEG type="DauerNewRes5" minnum="0"/>
            <SEG type="DauerSEPANewRes1" minnum="0"/>
            <SEG type="FestCondListRes1" minnum="0"/>
            <SEG type="FestCondListRes2" minnum="0"/>
            <SEG type="FestCondListRes3" minnum="0"/>
            <SEG type="FestListRes2" minnum="0"/>
            <SEG type="FestListRes3" minnum="0"/>
            <SEG type="FestListRes4" minnum="0"/>
            <SEG type="FestNewRes2" minnum="0"/>
            <SEG type="FestNewRes3" minnum="0"/>
            <SEG type="FestNewRes4" minnum="0"/>
            <SEG type="InfoDetailsRes2" minnum="0"/>
            <SEG type="InfoDetailsRes3" minnum="0"/>
            <SEG type="InfoDetailsRes4" minnum="0"/>
            <SEG type="InfoListRes1" minnum="0"/>
            <SEG type="InfoListRes2" minnum="0"/>
            <SEG type="InfoListRes3" minnum="0"/>
            <SEG type="InfoListRes4" minnum="0"/>
            <SEG type="InstUebSEPARes1" minnum="0"/>
            <SEG type="KontoauszugRes1" minnum="0"/>
            <SEG type="KontoauszugRes2" minnum="0"/>
            <SEG type="KontoauszugRes3" minnum="0"/>
            <SEG type="KontoauszugRes4" minnum="0"/>
            <SEG type="KontoauszugRes5" minnum="0"/>
            <SEG type="KontoauszugPdfRes1" minnum="0"/>
            <SEG type="KontoauszugPdfRes2" minnum="0"/>
            <SEG type="KUmsNewRes4" minnum="0"/>
            <SEG type="KUmsNewRes5" minnum="0"/>
            <SEG type="KUmsNewRes6" minnum="0"/>
            <SEG type="KUmsNewRes7" minnum="0"/>
            <SEG type="KUmsZeitRes4" minnum="0"/>
            <SEG type="KUmsZeitRes5" minnum="0"/>
            <SEG type="KUmsZeitRes6" minnum="0"/>
            <SEG type="KUmsZeitRes7" minnum="0"/>
            <SEG type="KUmsZeitCamtRes1" minnum="0"/>
            <SEG type="LastSEPARes1" minnum="0"/>
            <SEG type="LastCOR1SEPARes1" minnum="0"/>
            <SEG type="LastB2BSEPARes1" minnum="0"/>
            <SEG type="SammelLastSEPARes1" minnum="0"/>
            <SEG type="SammelLastCOR1SEPARes1" minnum="0"/>
            <SEG type="SammelLastB2BSEPARes1" minnum="0"/>
            <SEG type="OrderHistoryRes1" minnum="0"/>
            <SEG type="SaldoRes3" minnum="0"/>
            <SEG type="SaldoRes4" minnum="0"/>
            <SEG type="SaldoRes5" minnum="0"/>
            <SEG type="SaldoRes6" minnum="0"/>
            <SEG type="SaldoRes7" minnum="0"/>
            <SEG type="SEPAInfoRes1" minnum="0"/>
            <SEG type="StatusRes2" minnum="0"/>
            <SEG type="StatusRes3" minnum="0"/>
            <SEG type="StatusRes4" minnum="0"/>
            <SEG type="TANListListRes1" minnum="0"/>
            <SEG type="TANMediaListRes1" minnum="0"/>
            <SEG type="TANMediaListRes2" minnum="0"/>
            <SEG type="TANMediaListRes3" minnum="0"/>
            <SEG type="TANMediaListRes4" minnum="0"/>
            <SEG type="TANMediaListRes5" minnum="0"/>
            <SEG type="TermSammelLastRes3" minnum="0"/>
            <SEG type="TermSammelLastListRes3" minnum="0"/>
            <SEG type="TermSammelUebRes3" minnum="0"/>
            <SEG type="TermSammelUebListRes3" minnum="0"/>
            <SEG type="TermSammelUebSEPARes1" minnum="0"/>
            <SEG type="TermUebRes2" minnum="0"/>
            <SEG type="TermUebRes3" minnum="0"/>
            <SEG type="TermUebRes4" minnum="0"/>
            <SEG type="TermUebSEPARes1" minnum="0"/>
            <SEG type="TermUebEditRes2" minnum="0"/>
            <SEG type="TermUebEditRes3" minnum="0"/>
            <SEG type="TermUebEditRes4" minnum="0"/>
            <SEG type="TermUebListRes1" minnum="0"/>
            <SEG type="TermUebListRes2" minnum="0"/>
            <SEG type="TermUebListRes3" minnum="0"/>
            <SEG type="TermUebSEPAListRes1" minnum="0"/>
            <SEG type="TermUebSEPAEditRes1" minnum="0"/>
            <SEG type="UebGarRes1" minnum="0"/>
            <SEG type="VormerkpostenRes1" minnum="0"/>
            <SEG type="WPDepotListRes2" minnum="0"/>
            <SEG type="WPDepotListRes3" minnum="0"/>
            <SEG type="WPDepotListRes4" minnum="0"/>
            <SEG type="WPDepotListRes5" minnum="0"/>
            <SEG type="WPDepotListRes6" minnum="0"/>
            <SEG type="WPDepotUmsRes1" minnum="0"/>
            <SEG type="WPDepotUmsRes2" minnum="0"/>
            <SEG type="WPDepotUmsRes3" minnum="0"/>
            <SEG type="WPDepotUmsRes4" minnum="0"/>
            <SEG type="WPDepotUmsRes5" minnum="0"/>
            <SEG type="WPInfoListRes1" minnum="0"/>
            <SEG type="WPInfoListRes2" minnum="0"/>
            <SEG type="WPInfoListRes3" minnum="0"/>
            <SEG type="WPKursListRes1" minnum="0"/>
            <SEG type="WPKursListRes2" minnum="0"/>
            <SEG type="WPKursListRes3" minnum="0"/>
            <SEG type="WPRefListRes1" minnum="0"/>
            <SEG type="WPRefListRes2" minnum="0"/>
            <SEG type="WPRefListRes3" minnum="0"/>
            <SEG type="WPStammListRes1" minnum="0"/>
            <SEG type="WPStammListRes2" minnum="0"/>
            <SEG type="WPStammListRes3" minnum="0"/>
            <SEG type="TAN2StepRes1" minnum="0"/>
            <SEG type="TAN2StepRes2" minnum="0"/>
            <SEG type="TAN2StepRes3" minnum="0"/>
            <SEG type="TAN2StepRes4" minnum="0"/>
            <SEG type="TAN2StepRes5" minnum="0"/>
            <SEG type="TAN2StepRes6" minnum="0"/>
            <SEG type="TAN2StepRes7" minnum="0"/>
        </SFdef>
        
        <SFdef id="Params">
            <SEG type="AccInfoPar1" minnum="0"/>
            <SEG type="AccInfoPar2" minnum="0"/>
            <SEG type="CardListPar1" minnum="0"/>
            <SEG type="CardListPar2" minnum="0"/>
            <SEG type="ChangePINPar1" minnum="0" />
            <SEG type="ChangePINOldPar1" minnum="0" />
            <SEG type="CommListPar2" minnum="0"/>
            <SEG type="CommListPar3" minnum="0"/>
            <SEG type="CommListPar4" minnum="0"/>
            <SEG type="CustomMsgPar2" minnum="0"/>
            <SEG type="CustomMsgPar3" minnum="0"/>
            <SEG type="CustomMsgPar4" minnum="0"/>
            <SEG type="CustomMsgPar5" minnum="0"/>
            <SEG type="DauerDelPar1" minnum="0"/>
            <SEG type="DauerDelPar2" minnum="0"/>
            <SEG type="DauerDelPar3" minnum="0"/>
            <SEG type="DauerDelPar4" minnum="0"/>
            <SEG type="DauerSEPADelPar1" minnum="0"/>
            <SEG type="DauerEditPar2" minnum="0"/>
            <SEG type="DauerEditPar3" minnum="0"/>
            <SEG type="DauerEditPar4" minnum="0"/>
            <SEG type="DauerEditPar5" minnum="0"/>
            <SEG type="DauerSEPAEditPar1" minnum="0"/>
            <SEG type="DauerListPar1" minnum="0"/>
            <SEG type="DauerListPar2" minnum="0"/>
            <SEG type="DauerListPar3" minnum="0"/>
            <SEG type="DauerListPar4" minnum="0"/>
            <SEG type="DauerListPar5" minnum="0"/>
            <SEG type="DauerSEPAListPar1" minnum="0"/>
            <SEG type="DauerLastSEPAListPar1" minnum="0"/>
            <SEG type="DauerLastSEPANewPar1" minnum="0"/>
            <SEG type="DauerNewPar2" minnum="0"/>
            <SEG type="DauerNewPar3" minnum="0"/>
            <SEG type="DauerNewPar4" minnum="0"/>
            <SEG type="DauerNewPar5" minnum="0"/>
            <SEG type="DauerSEPANewPar1" minnum="0"/>
            <SEG type="FestCondListPar1" minnum="0"/>
            <SEG type="FestCondListPar2" minnum="0"/>
            <SEG type="FestCondListPar3" minnum="0"/>
            <SEG type="FestListPar2" minnum="0"/>
            <SEG type="FestListPar3" minnum="0"/>
            <SEG type="FestListPar4" minnum="0"/>
            <SEG type="FestNewPar2" minnum="0"/>
            <SEG type="FestNewPar3" minnum="0"/>
            <SEG type="FestNewPar4" minnum="0"/>
            <SEG type="InfoDetailsPar1" minnum="0"/>
            <SEG type="InfoDetailsPar2" minnum="0"/>
            <SEG type="InfoDetailsPar3" minnum="0"/>
            <SEG type="InfoDetailsPar4" minnum="0"/>
            <SEG type="InfoListPar1" minnum="0"/>
            <SEG type="InfoListPar2" minnum="0"/>
            <SEG type="InfoListPar3" minnum="0"/>
            <SEG type="InfoListPar4" minnum="0"/>
            <SEG type="InstUebSEPAPar1" minnum="0"/>
            <SEG type="KontoauszugPar1" minnum="0"/>
            <SEG type="KontoauszugPar2" minnum="0"/>
            <SEG type="KontoauszugPar3" minnum="0"/>
            <SEG type="KontoauszugPar4" minnum="0"/>
            <SEG type="KontoauszugPar5" minnum="0"/>
            <SEG type="KontoauszugPdfPar1" minnum="0"/>
            <SEG type="KontoauszugPdfPar2" minnum="0"/>
            <SEG type="KUmsNewPar4" minnum="0"/>
            <SEG type="KUmsNewPar5" minnum="0"/>
            <SEG type="KUmsNewPar6" minnum="0"/>
            <SEG type="KUmsNewPar7" minnum="0"/>
            <SEG type="KUmsZeitPar4" minnum="0"/>
            <SEG type="KUmsZeitPar5" minnum="0"/>
            <SEG type="KUmsZeitPar6" minnum="0"/>
            <SEG type="KUmsZeitPar7" minnum="0"/>
            <SEG type="KUmsZeitCamtPar1" minnum="0"/>
            <SEG type="LastPar2" minnum="0"/>
            <SEG type="LastPar3" minnum="0"/>
            <SEG type="LastPar4" minnum="0"/>
            <SEG type="LastPar5" minnum="0"/>
            <SEG type="LastSEPAPar1" minnum="0"/>
            <SEG type="LastCOR1SEPAPar1" minnum="0"/>
            <SEG type="LastB2BSEPAPar1" minnum="0"/>
            <SEG type="LastObjectionPar1" minnum="0"/>
            <SEG type="LastObjectionPar2" minnum="0"/>
            <SEG type="OrderHistoryPar1" minnum="0"/>
            <SEG type="PinTanPar1" minnum="0"/>
            <SEG type="PinTanPar2" minnum="0"/>
            <SEG type="ReceiptPar1" minnum="0"/>
            <SEG type="SaldoPar3" minnum="0"/>
            <SEG type="SaldoPar4" minnum="0"/>
            <SEG type="SaldoPar5" minnum="0"/>
            <SEG type="SaldoPar6" minnum="0"/>
            <SEG type="SaldoPar7" minnum="0"/>
            <SEG type="SammelLastPar3" minnum="0"/>
            <SEG type="SammelLastPar4" minnum="0"/>
            <SEG type="SammelLastPar5" minnum="0"/>
            <SEG type="SammelLastPar6" minnum="0"/>
            <SEG type="SammelUebPar3" minnum="0"/>
            <SEG type="SammelUebPar4" minnum="0"/>
            <SEG type="SammelUebPar5" minnum="0"/>
            <SEG type="SammelUebPar6" minnum="0"/>
            <SEG type="SammelUebEilPar1" minnum="0"/>
            <SEG type="SammelUebSEPAPar1" minnum="0"/>
            <SEG type="SammelLastSEPAPar1" minnum="0"/>
            <SEG type="SammelLastCOR1SEPAPar1" minnum="0"/>
            <SEG type="SammelLastB2BSEPAPar1" minnum="0"/>
            <SEG type="SEPAInfoPar1" minnum="0"/>
            <SEG type="StatusPar2" minnum="0"/>
            <SEG type="StatusPar3" minnum="0"/>
            <SEG type="StatusPar4" minnum="0"/>
            <SEG type="TAN2StepPar1" minnum="0"/>
            <SEG type="TAN2StepPar2" minnum="0"/>
            <SEG type="TAN2StepPar3" minnum="0"/>
            <SEG type="TAN2StepPar4" minnum="0"/>
            <SEG type="TAN2StepPar5" minnum="0"/>
            <SEG type="TAN2StepPar6" minnum="0"/>
            <SEG type="TAN2StepPar7" minnum="0"/>
            <SEG type="TANListListPar1" minnum="0"/>
            <SEG type="TANMediaListPar1" minnum="0"/>
            <SEG type="TANMediaListPar2" minnum="0"/>
            <SEG type="TANMediaListPar3" minnum="0"/>
            <SEG type="TANMediaListPar4" minnum="0"/>
            <SEG type="TANMediaListPar5" minnum="0"/>
            <SEG type="TermSammelLastPar3" minnum="0"/>
            <SEG type="TermSammelLastDelPar3" minnum="0"/>
            <SEG type="TermSammelLastListPar3" minnum="0"/>
            <SEG type="TermSammelUebPar3" minnum="0"/>
            <SEG type="TermSammelUebDelPar3" minnum="0"/>
            <SEG type="TermSammelUebListPar3" minnum="0"/>
            <SEG type="TermSammelUebSEPAPar1" minnum="0"/>
            <SEG type="TermUebPar2" minnum="0"/>
            <SEG type="TermUebPar3" minnum="0"/>
            <SEG type="TermUebPar4" minnum="0"/>
            <SEG type="TermUebSEPAPar1" minnum="0"/>
            <SEG type="TermUebDelPar1" minnum="0"/>
            <SEG type="TermUebDelPar2" minnum="0"/>
            <SEG type="TermUebDelPar3" minnum="0"/>
            <SEG type="TermUebEditPar2" minnum="0"/>
            <SEG type="TermUebEditPar3" minnum="0"/>
            <SEG type="TermUebEditPar4" minnum="0"/>
            <SEG type="TermUebListPar1" minnum="0"/>
            <SEG type="TermUebListPar2" minnum="0"/>
            <SEG type="TermUebListPar3" minnum="0"/>
            <SEG type="TermUebSEPAListPar1" minnum="0"/>
            <SEG type="TermUebSEPADelPar1" minnum="0"/>
            <SEG type="TermUebSEPAEditPar1" minnum="0"/>
            <SEG type="UebPar2" minnum="0"/>
            <SEG type="UebPar3" minnum="0"/>
            <SEG type="UebPar4" minnum="0"/>
            <SEG type="UebPar5" minnum="0"/>
            <SEG type="UebEilPar1" minnum="0"/>
            <SEG type="UebForeignPar1" minnum="0"/>
            <SEG type="UebForeignPar2" minnum="0"/>
            <SEG type="UebGarPar1" minnum="0"/>
            <SEG type="UebSEPAPar1" minnum="0"/>
            <SEG type="UmbSEPAPar1" minnum="0"/>
            <SEG type="UmbPar1" minnum="0"/>
            <SEG type="UmbPar2" minnum="0"/>
            <SEG type="VormerkpostenPar1" minnum="0"/>
            <SEG type="WPDepotListPar2" minnum="0"/>
            <SEG type="WPDepotListPar3" minnum="0"/>
            <SEG type="WPDepotListPar4" minnum="0"/>
            <SEG type="WPDepotListPar5" minnum="0"/>
            <SEG type="WPDepotListPar6" minnum="0"/>
            <SEG type="WPDepotUmsPar1" minnum="0"/>
            <SEG type="WPDepotUmsPar2" minnum="0"/>
            <SEG type="WPDepotUmsPar3" minnum="0"/>
            <SEG type="WPDepotUmsPar4" minnum="0"/>
            <SEG type="WPDepotUmsPar5" minnum="0"/>
            <SEG type="WPInfoListPar1" minnum="0"/>
            <SEG type="WPInfoListPar2" minnum="0"/>
            <SEG type="WPInfoListPar3" minnum="0"/>
            <SEG type="WPKursListPar1" minnum="0"/>
            <SEG type="WPKursListPar2" minnum="0"/>
            <SEG type="WPKursListPar3" minnum="0"/>
            <SEG type="WPRefListPar1" minnum="0"/>
            <SEG type="WPRefListPar2" minnum="0"/>
            <SEG type="WPRefListPar3" minnum="0"/>
            <SEG type="WPStammListPar1" minnum="0"/>
            <SEG type="WPStammListPar2" minnum="0"/>
            <SEG type="WPStammListPar3" minnum="0"/>
            <SEG type="Template2DPar" minnum="0"/> 
            <SEG type="TemplateDPar" minnum="0"/> 
            <SEG type="Template2Par" minnum="0"/> 
            <SEG type="TemplatePar" minnum="0"/> 
        </SFdef>
    </SFs>

    <MSGs>
        <MSGdef id="CustomMsg">
            &MsgSigHeadUser;
            <SF type="GV" maxnum="0"/>
            &MsgSigTailUser;
        </MSGdef>
        <MSGdef id="CustomMsgRes">
            &MsgSigHeadInst;
            <SEG type="RetGlob"/>
            <SEG type="RetSeg" minnum="0" maxnum="0"/>
            <SF type="GVRes" minnum="0" maxnum="0"/>
            &MsgSigTailInst;
        </MSGdef>

        <!-- Das ist zwar auch eine Dialog-Initialisierung. Da es die aber nur bei Schluesseldateien
             und nicht bei PIN/TAN gibt, wuerde ein HKTAN hier gar keinen Sinn machen -->
        <MSGdef id="FirstKeyReq" dontsign="1" dontcrypt="1">
            <SEG type="MsgHeadUser" name="MsgHead"/>
            <SEG type="Idn"/>
            <SEG type="ProcPrep"/>
            <SEG type="KeyReq" minnum="2" maxnum="3"/>
            <SEG type="MsgTailUser" name="MsgTail"/>

            <value path="Idn.customerid">9999999999</value>
            <value path="Idn.sysid">0</value>
            <value path="Idn.sysStatus">0</value>
            <value path="KeyReq.KeyName.userid">999</value>
            <value path="KeyReq.KeyName.keynum">999</value>
            <value path="KeyReq.KeyName.keyversion">999</value>
            <value path="KeyReq_2.KeyName.userid">999</value>
            <value path="KeyReq_2.KeyName.keynum">999</value>
            <value path="KeyReq_2.KeyName.keyversion">999</value>
        </MSGdef>
        <MSGdef id="FirstKeyReqRes" dontcrypt="1">
            &MsgSigHeadInst;
            <SEG type="RetGlob"/>
            <SEG type="RetSeg" minnum="0" maxnum="0"/>
            <SF type="BPD" minnum="0"/>
            <SF type="UPD" minnum="0"/>
            <SEG type="SendPubKey" minnum="1" maxnum="3"/>
            <SEG type="KIMsg" minnum="0" maxnum="0"/>
            &MsgSigTailInst;
        </MSGdef>

        <MSGdef id="DialogInitAnon" dontsign="1" dontcrypt="1">
            <!-- HNHBK --> <SEG type="MsgHeadUser" name="MsgHead"/>
            <!-- HKIDN --> <SEG type="Idn"/>
            <!-- HKVVB --> <SEG type="ProcPrep"/>
            
            <!-- Ja, auch bei der anonymen Initialisierung darf HKTAN gesendet werden -->
            <!-- HKTAN --> <SEG type="TAN2Step6" minnum="0" maxnum="1"/>
            <!-- HKTAN --> <SEG type="TAN2Step7" minnum="0" maxnum="1"/>
            <!-- HNHBS --> <SEG type="MsgTailUser" name="MsgTail"/>
        </MSGdef>
        
        <MSGdef id="DialogInitAnonRes" dontsign="1" dontcrypt="1">
            &MsgSigHeadInst;
            
            <!-- Das TAN2StepRes steht hier mehrfach, weil die Banken das nicht einheitlich an der selben Stelle senden -->
            <SEG type="RetGlob"/>
            <SEG type="RetSeg" minnum="0" maxnum="0"/>
            <SEG type="TAN2StepRes6" minnum="0" maxnum="1"/>
            <SEG type="TAN2StepRes7" minnum="0" maxnum="1"/>
            <SF type="BPD" minnum="0"/>
            <SF type="UPD" minnum="0"/>
            <SEG type="TAN2StepRes6" minnum="0" maxnum="1"/>
            <SEG type="TAN2StepRes7" minnum="0" maxnum="1"/>
            <SEG type="KIMsg" minnum="0" maxnum="0"/>
            <SEG type="TAN2StepRes6" minnum="0" maxnum="1"/>
            <SEG type="TAN2StepRes7" minnum="0" maxnum="1"/>
            &MsgSigTailInst;
        </MSGdef>

        <MSGdef id="DialogInit">
            <!-- HNHBK+HNSHK --> &MsgSigHeadUser;
            <!-- HKIDN --> <SEG type="Idn"/>
            <!-- HKVVB --> <SEG type="ProcPrep"/>
            <!-- HKTAN --> <SEG type="TAN2Step6" minnum="0" maxnum="1"/>
            <!-- HKTAN --> <SEG type="TAN2Step7" minnum="0" maxnum="1"/>
            <!-- HKISA --> <SEG type="KeyReq" minnum="0" maxnum="3"/>
            <!-- HNSHA+HNHBS --> &MsgSigTailUser;
        </MSGdef>
        <MSGdef id="DialogInitRes">
            &MsgSigHeadInst;
            
            <!-- Das TAN2StepRes6 steht hier mehrfach, weil die Banken das nicht einheitlich an der selben Stelle senden -->
            <SEG type="RetGlob"/>
            <SEG type="RetSeg" minnum="0" maxnum="0"/>
            
            <!-- Degussa sendet unaufgefordert HITAB, obwohl wir gar kein HKTAB gesendet haben -->
            <SEG type="TANMediaListRes1" minnum="0" maxnum="1"/>
            <SEG type="TANMediaListRes2" minnum="0" maxnum="1"/>
            <SEG type="TANMediaListRes3" minnum="0" maxnum="1"/>
            <SEG type="TANMediaListRes4" minnum="0" maxnum="1"/>
            <SEG type="TANMediaListRes5" minnum="0" maxnum="1"/>
            
            <SEG type="TAN2StepRes6" minnum="0" maxnum="1"/>
            <SEG type="TAN2StepRes7" minnum="0" maxnum="1"/>
            <SF type="BPD" minnum="0"/>
            <SF type="UPD" minnum="0"/>
            <SEG type="TAN2StepRes6" minnum="0" maxnum="1"/>
            <SEG type="TAN2StepRes7" minnum="0" maxnum="1"/>
            <SEG type="SendPubKey" minnum="0" maxnum="3"/>
            <SEG type="TAN2StepRes6" minnum="0" maxnum="1"/>
            <SEG type="TAN2StepRes7" minnum="0" maxnum="1"/>
            <SEG type="KIMsg" minnum="0" maxnum="0"/>
            <SEG type="TAN2StepRes6" minnum="0" maxnum="1"/>
            <SEG type="TAN2StepRes7" minnum="0" maxnum="1"/>
            <SEG type="SEPAInfoRes1" minnum="0" maxnum="1"/>
            &MsgSigTailInst;
        </MSGdef>

        <MSGdef id="TanMedia">
            &MsgSigHeadUser;
            <SEG type="TANMediaList2" minnum="0"/>
            <SEG type="TANMediaList3" minnum="0"/>
            <SEG type="TANMediaList4" minnum="0"/>
            <SEG type="TANMediaList5" minnum="0"/>
            <SEG type="TAN2Step6" minnum="0" maxnum="1"/>
            <SEG type="TAN2Step7" minnum="0" maxnum="1"/>
            &MsgSigTailUser;
        </MSGdef>
        <MSGdef id="TanMediaRes">
            &MsgSigHeadInst;
            <SEG type="RetGlob"/>
            <SEG type="RetSeg" minnum="0" maxnum="0"/>
            <SEG type="TAN2StepRes6" minnum="0" maxnum="1"/>
            <SEG type="TAN2StepRes7" minnum="0" maxnum="1"/>
            <SEG type="TANMediaListRes2" minnum="0"/>
            <SEG type="TANMediaListRes3" minnum="0"/>
            <SEG type="TANMediaListRes4" minnum="0"/>
            <SEG type="TANMediaListRes5" minnum="0"/>
            <SEG type="TAN2StepRes6" minnum="0" maxnum="1"/>
            <SEG type="TAN2StepRes7" minnum="0" maxnum="1"/>
            <SEG type="KIMsg" minnum="0" maxnum="0"/>
            <SEG type="TAN2StepRes6" minnum="0" maxnum="1"/>
            <SEG type="TAN2StepRes7" minnum="0" maxnum="1"/>
            &MsgSigTailInst;
        </MSGdef>

        <MSGdef id="SepaInfo">
            &MsgSigHeadUser;
            <SEG type="SEPAInfo1" minnum="0"/>
            <SEG type="TAN2Step6" minnum="0" maxnum="1"/>
            <SEG type="TAN2Step7" minnum="0" maxnum="1"/>
            &MsgSigTailUser;
        </MSGdef>
        <MSGdef id="SepaInfoRes">
            &MsgSigHeadInst;
            <SEG type="RetGlob"/>
            <SEG type="RetSeg" minnum="0" maxnum="0"/>
            <SEG type="SEPAInfoRes1" minnum="0" maxnum="1"/>
            <SEG type="TAN2StepRes6" minnum="0" maxnum="1"/>
            <SEG type="TAN2StepRes7" minnum="0" maxnum="1"/>
            <SEG type="KIMsg" minnum="0" maxnum="0"/>
            <SEG type="TAN2StepRes6" minnum="0" maxnum="1"/>
            <SEG type="TAN2StepRes7" minnum="0" maxnum="1"/>
            &MsgSigTailInst;
        </MSGdef>

        <MSGdef id="Synch">
            <!-- HNHBK+HNSHK --> &MsgSigHeadUser;
            <!-- HKIDN --> <SEG type="Idn"/>
            <!-- HKVVB --> <SEG type="ProcPrep"/>
            <!-- HKTAN --> <SEG type="TAN2Step6" minnum="0" maxnum="1"/>
            <!-- HKTAN --> <SEG type="TAN2Step7" minnum="0" maxnum="1"/>
            <!-- HKISA --> <SEG type="KeyReq" minnum="0" maxnum="3"/>
            <!-- HKSYN --> <SEG type="Sync"/>
            <!-- HNSHA+HNHBS --> &MsgSigTailUser;
        </MSGdef>
        <MSGdef id="SynchRes">
            &MsgSigHeadInst;
            
            <!-- Das TAN2StepRes steht hier mehrfach, weil die Banken das nicht einheitlich an der selben Stelle senden -->
            <SEG type="RetGlob"/>
            <SEG type="RetSeg" minnum="0" maxnum="0"/>
            <SEG type="TAN2StepRes6" minnum="0" maxnum="1"/>
            <SEG type="TAN2StepRes7" minnum="0" maxnum="1"/>
            <SF type="BPD" minnum="0"/>
            <SF type="UPD" minnum="0"/>
            <SEG type="TAN2StepRes6" minnum="0" maxnum="1"/>
            <SEG type="TAN2StepRes7" minnum="0" maxnum="1"/>
            <SEG type="SendPubKey" minnum="0" maxnum="3"/>
            <SEG type="SyncRes3" name="SyncRes" minnum="0"/>
            <SEG type="SyncRes4" name="SyncRes" minnum="0"/>
            <SEG type="TAN2StepRes6" minnum="0" maxnum="1"/>
            <SEG type="TAN2StepRes7" minnum="0" maxnum="1"/>
            <SEG type="KIMsg" minnum="0" maxnum="0"/>
            <SEG type="TAN2StepRes6" minnum="0" maxnum="1"/>
            <SEG type="TAN2StepRes7" minnum="0" maxnum="1"/>
            &MsgSigTailInst;
        </MSGdef>

        <MSGdef id="DialogInitSCA">
            &MsgSigHeadUser;
            <SEG type="TAN2Step6"/>
            &MsgSigTailUser;
        </MSGdef>
        <MSGdef id="DialogInitSCARes">
            &MsgSigHeadInst;

            <!-- Das TAN2StepRes6 steht hier mehrfach, weil die Banken das nicht einheitlich an der selben Stelle senden -->
            <SEG type="RetGlob"/>
            <SEG type="RetSeg" minnum="0" maxnum="0"/>
            
            <!-- Degussa sendet unaufgefordert HITAB, obwohl wir gar kein HKTAB gesendet haben -->
            <SEG type="TANMediaListRes1" minnum="0" maxnum="1"/>
            <SEG type="TANMediaListRes2" minnum="0" maxnum="1"/>
            <SEG type="TANMediaListRes3" minnum="0" maxnum="1"/>
            <SEG type="TANMediaListRes4" minnum="0" maxnum="1"/>
            <SEG type="TANMediaListRes5" minnum="0" maxnum="1"/>
            
            <SEG type="TAN2StepRes6" minnum="0" maxnum="1"/>
            <SEG type="TAN2StepRes7" minnum="0" maxnum="1"/>
            <SF type="BPD" minnum="0"/>
            <SF type="UPD" minnum="0"/>
            <SEG type="TAN2StepRes6" minnum="0" maxnum="1"/>
            <SEG type="TAN2StepRes7" minnum="0" maxnum="1"/>
            <SEG type="SendPubKey" minnum="0" maxnum="3"/>
            <SEG type="SyncRes3" name="SyncRes" minnum="0"/>
            <SEG type="SyncRes4" name="SyncRes" minnum="0"/>
            <SEG type="TAN2StepRes6" minnum="0" maxnum="1"/>
            <SEG type="TAN2StepRes7" minnum="0" maxnum="1"/>
            <SEG type="KIMsg" minnum="0" maxnum="0"/>
            <SEG type="TAN2StepRes6" minnum="0" maxnum="1"/>
            <SEG type="TAN2StepRes7" minnum="0" maxnum="1"/>
            &MsgSigTailInst;
        </MSGdef>

        <MSGdef id="DialogEnd">
            &MsgSigHeadUser;
            <SEG type="DialogEndS"/>
            &MsgSigTailUser;
        </MSGdef>
        <MSGdef id="DialogEndRes">
            &MsgSigHeadInst;
            <SEG type="RetGlob"/>
            <SEG type="RetSeg" minnum="0" maxnum="0"/>
            &MsgSigTailInst;
        </MSGdef>

        <MSGdef id="DialogEndAnon" dontsign="1" dontcrypt="1">
            <SEG type="MsgHeadUser" name="MsgHead"/>
            <SEG type="DialogEndS"/>
            <SEG type="MsgTailUser" name="MsgTail"/>
        </MSGdef>
        <MSGdef id="DialogEndAnonRes" dontsign="1" dontcrypt="1">
            &MsgSigHeadInst;
            <SEG type="RetGlob"/>
            <SEG type="RetSeg" minnum="0" maxnum="0"/>
            &MsgSigTailInst;
        </MSGdef>
        
        <MSGdef id="ChangeKeys">
            &MsgSigHeadUser;
            <SEG type="KeyChange" minnum="1" maxnum="3"/>
            &MsgSigTailUser;
        </MSGdef>
        <MSGdef id="ChangeKeysRes">
            &MsgSigHeadInst;
            <SEG type="RetGlob"/>
            <SEG type="RetSeg" minnum="0" maxnum="0"/>
            &MsgSigTailInst;
        </MSGdef>

        <MSGdef id="LockKeys">
            &MsgSigHeadUser;
            <SEG type="KeyLock"/>
            &MsgSigTailUser;
        </MSGdef>
        <MSGdef id="LockKeysRes">
            &MsgSigHeadInst;
            <SEG type="RetGlob"/>
            <SEG type="RetSeg" minnum="0" maxnum="0"/>
            <SEG type="KeyLockAck"/>
            &MsgSigTailInst;
        </MSGdef>

        <MSGdef id="SendKeys">
            &MsgSigHeadUser;
            <SEG type="Idn"/>
            <SEG type="KeyChange" minnum="2" maxnum="3"/>
            &MsgSigTailUser;

            <value path="MsgHead.dialogid">0</value>
            <value path="MsgHead.msgnum">1</value>
            <value path="Idn.sysStatus">1</value>
            <value path="MsgTail.msgnum">1</value>
        </MSGdef>
        <MSGdef id="SendKeysRes" dontcrypt="1">
            &MsgSigHeadInst;
            <SEG type="RetGlob"/>
            <SEG type="RetSeg" minnum="0" maxnum="0"/>
            &MsgSigTailInst;
        </MSGdef>

        <MSGdef id="Crypted" dontsign="1" dontcrypt="1">
            <SEG type="MsgHeadUser" name="MsgHead"/>
            <SEG type="CryptHeadUser" name="CryptHead"/>
            <SEG type="CryptDataUser" name="CryptData"/>
            <SEG type="MsgTailUser" name="MsgTail"/>
        </MSGdef>
        <MSGdef id="CryptedRes" dontsign="1" dontcrypt="1">
            <SEG type="MsgHeadInst" name="MsgHead"/>
            <SEG type="CryptHeadInst" name="CryptHead"/>
            <SEG type="CryptDataInst" name="CryptData"/>
            <SEG type="MsgTailInst" name="MsgTail"/>
        </MSGdef>

    </MSGs>
</hbci>
