<?xml version="1.0" encoding="utf-8" ?>
<Root Encode="big5" Extension="txt">
  <Rule Id="Detail" MinLength="10" MaxLength="61">
    <Column Id="GiroNo"  Length="8" Index="0" Desc="學校撥款劃撥帳號" IsRequired="true" />
    <Column Id="PayDay" DataType="Date" Length="7" Index="8" Desc="實扣(繳)日期" IsRequired="true" Format="ChineseDateOfDateTime" />
    <Column Id="TranAcnt"  Length="6" Index="15" Desc="交易局號" IsRequired="true"  />
    <Column Id="TranType"  Length="4" Index="21" Desc="交易代號" IsRequired="true"  />
    <Column Id="TranSeqNo"  Length="11" Index="21" Desc="交易序號" IsRequired="true"  />
    <Column Id="Deposit" Length="1" Index="32" Desc="存款別" LimitData="+,-" IsRequired="true"  />
    <Column Id="PayAmt" DataType="Decimal" Length="11" Index="33" Desc="實扣繳金額" IsRequired="true" />
    <Column Id="StdID" Length="5" Index="49" Desc="學生識別碼" IsRequired="true"  />
    <Column Id="TranYOfD" DataType="Int" Length="3" Index="54" Desc="收款日期" IsRequired="true"/>
    <Column Id="GrpID" DataType="Int" Length="2" Index="57" Desc="繳款群組代號" IsRequired="true"/>
    <Column Id="ByPOST" Length="1" Default="1" />
  </Rule>
  <Rule Id="DetailWithDealDeadline" MinLength="10" MaxLength="69">
    <Column Id="GiroNo"  Length="8" Index="0" Desc="學校撥款劃撥帳號" IsRequired="true" />
    <Column Id="PayDay" DataType="Date" Length="7" Index="8" Desc="實扣(繳)日期" IsRequired="true" Format="ChineseDateOfDateTime" />
    <Column Id="TranAcnt"  Length="6" Index="15" Desc="交易局號" IsRequired="true" />
    <Column Id="TranType"  Length="4" Index="21" Desc="交易代號" IsRequired="true" />
    <Column Id="TranSeqNo"  Length="11" Index="21" Desc="交易序號" IsRequired="true" />
    <Column Id="Deposit" Length="1" Index="32" Desc="存款別" LimitData="+,-" IsRequired="true"  />
    <Column Id="PayAmt" DataType="Decimal" Length="11" Index="33" Desc="實扣繳金額" IsRequired="true"   />
    <Column Id="StdID" Length="5" Index="56" Desc="學生識別碼" IsRequired="true"  />
    <Column Id="TranYOfD" DataType="Int" Length="3" Index="61" Desc="收款日期" IsRequired="true"/>
    <Column Id="GrpID" DataType="Int" Length="2" Index="64" Desc="繳款群組代號" IsRequired="true" />
    <Column Id="ByPOST" Length="1" Default="1" />
  </Rule>
  <Rule Id="DetailWithAtm" MinLength="10" MaxLength="55">   
    <Column Id="GiroNo"  Length="8" Index="0" Desc="學校撥款劃撥帳號" IsRequired="true" />
    <Column Id="PayDay" DataType="Date" Length="7" Index="8" Desc="實扣(繳)日期" IsRequired="true" Format="ChineseDateOfDateTime" />
    <Column Id="TranAcnt"  Length="6" Index="15" Desc="交易局號" IsRequired="true"  />    
    <Column Id="TranType"  Length="4" Index="21" Desc="交易代號" IsRequired="true"  />
    <Column Id="TranSeqNo"  Length="11" Index="21" Desc="交易序號" IsRequired="true"  />
    <Column Id="Deposit" Length="1" Index="32" Desc="存款別" LimitData="+,-" IsRequired="true"  />
    <Column Id="PayAmt" DataType="Decimal" Length="11" Index="33" Desc="實扣繳金額" IsRequired="true"   />   
    <Column Id="StdID" Length="5" Index="44" Desc="學生識別碼" IsRequired="true"  />
    <Column Id="TranYOfD" DataType="Int" Length="3" Index="49" Desc="收款日期" IsRequired="true"/>
    <Column Id="GrpID" DataType="Int" Length="2" Index="52" Desc="繳款群組代號" IsRequired="true" />
    <Column Id="ByPOST" Length="1" Default="0"  />
  </Rule>
  
</Root>
