<FlowDocument xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:xrd="clr-namespace:CodeReason.Reports.Document;assembly=CodeReason.Reports"
      xmlns:xrbc="clr-namespace:CodeReason.Reports.Document.Barcode;assembly=CodeReason.Reports"
      PageHeight="29.6cm" PageWidth="21cm" ColumnWidth="25cm">
  <xrd:ReportProperties>
  </xrd:ReportProperties>
  <xrd:SectionReportHeader PageHeaderHeight="36.2" Padding="30,30,0,0" FontSize="12">
    <Table Name="BillHeader" Margin="0" CellSpacing="0" Padding="0,0,0,0">
      <Table.Columns>
        <TableColumn Width="700" />
      </Table.Columns>
        <TableRowGroup>
          <TableRow>
            <TableCell Padding="0,10,20,0">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Roman PS">Page
                <xrd:InlineContextValue PropertyName="PageNumber" /> of
                <xrd:InlineContextValue PropertyName="PageCount" />
              </Paragraph>
            </TableCell>
            <TableCell>
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier"> 
              <!--<xrd:InlineDocumentValue PropertyName="ReportTitle"/>-->
              </Paragraph>
            </TableCell>
          </TableRow>
        </TableRowGroup>
    </Table>
    <Table Name="CompanyLogo" Margin="0,0,0,0" CellSpacing="0" Padding="20,0,0,0" BorderBrush="Black" BorderThickness="0.03cm">
      <Table.Columns>
        <TableColumn Width="200" />
        <TableColumn Width="245" />
        <TableColumn Width="260" />
      </Table.Columns>
        <TableRowGroup>
          <TableRow>
            <TableCell>
              <Paragraph>
                <Image Tag="C:\Horizon Print\Logo.jpg"/>
              </Paragraph>
            </TableCell>
            <TableCell>
              <Paragraph TextAlignment="Center" FontSize="12" FontFamily="Courier">
              </Paragraph>
            </TableCell>
            <TableCell>
    <Table Name="CompanyDetails" Margin="0,10,0,0" CellSpacing="0" Padding="0,0,0,0" BorderBrush="Black" BorderThickness="0.00cm">
          <Table.Columns>
            <TableColumn Width="250" />
          </Table.Columns>
        <TableRowGroup>
          <TableRow>
            <TableCell>
              <Paragraph TextAlignment="Left" FontSize="14" FontFamily="Courier" FontWeight="Bold" >
                <xrd:InlineDocumentValue PropertyName="FirmName" />
              </Paragraph>
            </TableCell>
          </TableRow>
          <TableRow>
            <TableCell>
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier">
                <xrd:InlineDocumentValue PropertyName="DoorNo" />
                <xrd:InlineDocumentValue PropertyName="Street" />
              </Paragraph>
            </TableCell>
           </TableRow>
           <TableRow>
            <TableCell>
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier">
                <xrd:InlineDocumentValue PropertyName="District" />-
                <xrd:InlineDocumentValue PropertyName="PinCode" />,
                <xrd:InlineDocumentValue PropertyName="State" />,
                <xrd:InlineDocumentValue PropertyName="Country" />
              </Paragraph>
            </TableCell>
           </TableRow>
           <TableRow>
            <TableCell>
              <Paragraph TextAlignment="Left" FontSize="12" LineHeight="1" FontFamily="Courier">Ph:
                <xrd:InlineDocumentValue PropertyName="Phone1" />
              </Paragraph>
            </TableCell>
           </TableRow>
           <TableRow>
              <TableCell>
                <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier"> E-Mail:
                  <xrd:InlineDocumentValue PropertyName="Email" /> 
                </Paragraph>
              </TableCell>
           </TableRow> 
           <TableRow>
            <TableCell>
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier"> GSTIN :
                <xrd:InlineDocumentValue PropertyName="GSTIN" />
              </Paragraph>
            </TableCell>
           </TableRow>
           
           <TableRow>
            <TableCell>
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier"> State Code :
                <xrd:InlineDocumentValue PropertyName="StateCode" /> 
              </Paragraph>
            </TableCell>
           </TableRow>      		                
        </TableRowGroup>
    </Table>
        </TableCell>
      </TableRow>
      <TableRow>
        <TableCell>
          <Paragraph TextAlignment="Center" FontSize="12" FontFamily="Courier">
          </Paragraph>
        </TableCell>
        <TableCell>
          <Paragraph TextAlignment="Center" FontSize="14" FontFamily="Courier">DELIVERY NOTE
          </Paragraph>
        </TableCell>
      </TableRow>
     </TableRowGroup>
    </Table>
    
    <Table Name="InvoiceDetails" Margin="0,0,0,0" CellSpacing="0" BorderBrush="Black" BorderThickness="1,0,1,1">
     <Table.Columns>
      <TableColumn Width="360" />
      <TableColumn Width="365" />
     </Table.Columns>
      <TableRowGroup>
       <TableRow>
          <TableCell BorderBrush="Black" BorderThickness="0,0,1,0" Padding="2,5,0,0">
            <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier"> Delivery Note No.:
              <xrd:InlineDocumentValue PropertyName="MSeries" />
              <xrd:InlineDocumentValue PropertyName="MVno" />
            </Paragraph>
          </TableCell>
          <TableCell Padding="2,5,0,0">
            <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier">Transportaion Mode :
              <xrd:InlineDocumentValue PropertyName="MDispatchThrough" />
            </Paragraph>
          </TableCell>
       </TableRow>
      </TableRowGroup>
      <TableRowGroup>
       <TableRow>
        <TableCell BorderBrush="Black" BorderThickness="0,0,1,0" Padding="2,0,0,0">
          <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier">Delivery Note Date :
            <xrd:InlineDocumentValue PropertyName="MBillDate" />
          </Paragraph>
        </TableCell>
        <TableCell Padding="2,0,0,0">
          <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier">Veh.No :
            <xrd:InlineDocumentValue PropertyName="MVehicleNumber" />
          </Paragraph>
        </TableCell>
       </TableRow>  
      </TableRowGroup>
      <TableRowGroup>
       <TableRow>
        <TableCell BorderBrush="Black" BorderThickness="0,0,1,0" Padding="2,0,0,0">
          <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier">OrderNo.:
            <xrd:InlineDocumentValue PropertyName="MPurchaseOrderNumber" />
          </Paragraph>
        </TableCell>
        <TableCell Padding="2,0,0,0">
          <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier">Date and Time of Supply :
            <xrd:InlineDocumentValue PropertyName="MBillDate" />
          </Paragraph>
        </TableCell>
       </TableRow>
      </TableRowGroup>
      <TableRowGroup>
        <TableRow>
          <TableCell BorderBrush="Black" BorderThickness="0,0,1,0" Padding="2,3,0,0">
            <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier"> Order Ref :
            <xrd:InlineDocumentValue PropertyName="MDriverName" />
            </Paragraph>
          </TableCell>
          <TableCell Padding="2,3,0,0">
            <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier"> Place of Supply :
              <xrd:InlineDocumentValue PropertyName="State" />
            </Paragraph>
          </TableCell>
        </TableRow> 
      </TableRowGroup>
    </Table>

    <Table Name ="CustomerDetailsHeader" Margin="0" CellSpacing="0" BorderBrush="Black" BorderThickness="1,0,1,0">
      <Table.Columns>
        <TableColumn Width="360" />
        <TableColumn Width="365" />
      </Table.Columns>
        <TableRowGroup>
          <TableRow>
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0" Background="LightGray">
              <Paragraph TextAlignment="Center" FontSize="12" FontFamily="Courier" FontWeight="Bold"> Details of Receiver(Billed to)
              </Paragraph>
            </TableCell>
            <TableCell Background="LightGray">
              <Paragraph TextAlignment="Center" FontSize="12" FontFamily="Courier" FontWeight="Bold"> Details of Consignee(Shipped to)
              </Paragraph>
            </TableCell>
          </TableRow> 
        </TableRowGroup>
    </Table>
    
    <Table Name="CustomerDetails" Margin="0,0,0,0" CellSpacing="0" BorderBrush="Black" BorderThickness="1,1,1,1">
      <Table.Columns>
        <TableColumn Width="360" />
        <TableColumn Width="365" />
      </Table.Columns>
        <TableRowGroup>
          <TableRow>
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0" Padding="2,3,0,0">
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier">
                <TextBlock TextTrimming="CharacterEllipsis" TextAlignment="Left"> Name :
                  <xrd:InlineDocumentValue PropertyName="MCustname" />
                </TextBlock>
              </Paragraph>
            </TableCell>
            <TableCell Padding="2,3,0,0">
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier">
                <TextBlock TextTrimming="CharacterEllipsis" TextAlignment="Left"> Name :
                  <xrd:InlineDocumentValue PropertyName="DelLedgerName" />
                </TextBlock>
              </Paragraph>
            </TableCell>                  
          </TableRow>
        </TableRowGroup>
        <TableRowGroup>
          <TableRow>
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0" Padding="2,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier">Address :
                <xrd:InlineDocumentValue PropertyName="MAdd1" />
              </Paragraph>
            </TableCell>
            <TableCell Padding="2,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier">Address :
                <xrd:InlineDocumentValue PropertyName="DelAdd1" />
              </Paragraph>
            </TableCell>
          </TableRow>
        </TableRowGroup>
        <TableRowGroup>
          <TableRow>
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0" Padding="2,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier"><TabControl/><TabControl/><TabControl/><TabControl/><TabControl/><TabControl/>
              <!--<TextBlock LineHeight="20" TextWrapping="Wrap">-->
                <xrd:InlineDocumentValue PropertyName="MAdd2" />
                <!--</TextBlock>-->
              </Paragraph>
            </TableCell>
            <TableCell Padding="2,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier"><TabControl/><TabControl/><TabControl/><TabControl/><TabControl/><TabControl/>
              <!--<TextBlock LineHeight="10" TextWrapping="Wrap">-->
                <xrd:InlineDocumentValue PropertyName="DelAdd2" />
                 <!--</TextBlock>-->
              </Paragraph>
            </TableCell>
          </TableRow>
        </TableRowGroup>
        <TableRowGroup>
          <TableRow>
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0" Padding="2,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier"><TabControl/><TabControl/><TabControl/><TabControl/><TabControl/><TabControl/>
                <xrd:InlineDocumentValue PropertyName="MAdd3" />,
                <xrd:InlineDocumentValue PropertyName="MPinCode" />
              </Paragraph>
            </TableCell>
            <TableCell Padding="2,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier"><TabControl/><TabControl/><TabControl/><TabControl/><TabControl/><TabControl/>
                <xrd:InlineDocumentValue PropertyName="DelAdd3" />,
                <xrd:InlineDocumentValue PropertyName="DelPinCode" />
              </Paragraph>
            </TableCell>
          </TableRow>
        </TableRowGroup>
        <TableRowGroup>
          <TableRow>
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0" Padding="2,3,0,0">
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier"> Mobile :
                <xrd:InlineDocumentValue PropertyName="MMobile" />
              </Paragraph>
            </TableCell>
            <TableCell Padding="2,3,0,0">
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier">Mobile :
                <xrd:InlineDocumentValue PropertyName="DelPhone" />
              </Paragraph>
            </TableCell>                  
          </TableRow>
        </TableRowGroup>
        <TableRowGroup>
          <TableRow>
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0" Padding="2,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier"> State :
                <xrd:InlineDocumentValue PropertyName="MStateName" />State Code :
                <xrd:InlineDocumentValue PropertyName="MStateCode" />
              </Paragraph>
            </TableCell>
            <TableCell Padding="2,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier">State :
                <xrd:InlineDocumentValue PropertyName="MStateName" />State Code :
                <xrd:InlineDocumentValue PropertyName="MStateCode" />
              </Paragraph>
            </TableCell>
          </TableRow>
        </TableRowGroup>
        <TableRowGroup>
          <TableRow>
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0" Padding="2,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier"> GSTIN :
                <xrd:InlineDocumentValue PropertyName="MGSTIN" />
              </Paragraph>
            </TableCell>
            <TableCell Padding="2,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier">
              </Paragraph>
            </TableCell>
          </TableRow>
        </TableRowGroup>
    </Table>
    
    <Table Name="ItemHeader" Margin="0" Padding="0,0,0,0" CellSpacing="0" BorderBrush="Black" BorderThickness="0.00cm">
      <Table.Resources>
        <Style x:Key="headerFooterRowStyle" TargetType="{x:Type TableRowGroup}">
          <Setter Property="FontWeight" Value="DemiBold"/>          
          <Setter Property="FontSize" Value="11"/>
          <Setter Property="FontFamily" Value="Courier"/>
        </Style>
        <Style x:Key="dataRowStyle" TargetType="{x:Type TableRowGroup}">
          <Setter Property="FontFamily" Value="Courier"/>
          <Setter Property="FontSize" Value="10"/>
        </Style>
        <Style TargetType="{x:Type TableCell}">
          <Setter Property="Padding" Value="0.1cm"/>
          <Setter Property="BorderBrush" Value="Gray"/>
          <Setter Property="BorderThickness" Value="0,0,0,0"/>
        </Style>
      </Table.Resources>
      <Table.Columns>
      <TableColumn Width="30.0" />
      <TableColumn Width="156.0" />
      <TableColumn Width="40.0" />
      <TableColumn Width="40.0" />
      <TableColumn Width="40.0" />
      <TableColumn Width="35.0" />
      <TableColumn Width="50.0" />
      <TableColumn Width="45.0" />
      <TableColumn Width="55.0" />
      <TableColumn Width="40.0" />
      <TableColumn Width="50.0" />
      <TableColumn Width="45.0" />
      <TableColumn Width="45.0" />
      <TableColumn Width="56.0" />
      </Table.Columns>
        <TableRowGroup Style="{StaticResource headerFooterRowStyle}">
          <TableRow Background="LightGray">
            <TableCell BorderThickness="1,1,1,0">
              <Paragraph TextAlignment="Left">
                <Bold>SN</Bold>
              </Paragraph>
            </TableCell>             
            <TableCell BorderThickness="0,1,1,0">
              <Paragraph TextAlignment="Left">
                <Bold>Product Description</Bold>
              </Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,1,1,0">
              <Paragraph TextAlignment="Center">
                <Bold>HSN</Bold>
              </Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,1,1,0">
              <Paragraph TextAlignment="Center">
                <Bold>MRP</Bold>
              </Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,1,1,0">
              <Paragraph TextAlignment="Center">
                <Bold>Qty</Bold>
              </Paragraph>
            </TableCell>
             <TableCell BorderThickness="0,1,1,0">
              <Paragraph TextAlignment="Center">
                <Bold>Unit</Bold>
              </Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,1,1,0">
              <Paragraph TextAlignment="Center">
                <Bold>Selling Rate</Bold>
              </Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,1,1,0">
              <Paragraph TextAlignment="Center">
                <Bold>Disc</Bold>
              </Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,1,1,0">
              <Paragraph TextAlignment="Center">
                <Bold>Taxable Amount</Bold>
              </Paragraph>
            </TableCell>     
            <TableCell BorderThickness="0,1,1,0">
              <Paragraph TextAlignment="Center">
                <Bold>GST%</Bold>
              </Paragraph>
            </TableCell>                
            <TableCell BorderThickness="0,1,1,0">
              <Paragraph TextAlignment="Center">
                <Bold>CGST(Amt)</Bold>
              </Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,1,1,0">
              <Paragraph TextAlignment="Center">
                <Bold>SGST(Amt)</Bold>
              </Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,1,1,0">
              <Paragraph TextAlignment="Center">
                <Bold>IGST(Amt)</Bold>
              </Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,1,1,0">
              <Paragraph TextAlignment="Center">
                <Bold>Total</Bold>
              </Paragraph>
            </TableCell>
          </TableRow>
           <TableRow>
            <TableCell BorderThickness="1,1,1,1">
              <Paragraph TextAlignment="Left" Margin="0,0,0,300"></Paragraph>
            </TableCell>             
            <TableCell BorderThickness="0,1,1,1">
              <Paragraph TextAlignment="Left"></Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,1,1,1">
              <Paragraph TextAlignment="Center"></Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,1,1,1">
              <Paragraph TextAlignment="Center"></Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,1,1,1">
              <Paragraph TextAlignment="Center"></Paragraph>
            </TableCell>
             <TableCell BorderThickness="0,1,1,1">
              <Paragraph TextAlignment="Center"></Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,1,1,1">
              <Paragraph TextAlignment="Center"></Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,1,1,1">
              <Paragraph TextAlignment="Center"></Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,1,1,1">
              <Paragraph TextAlignment="Center"></Paragraph>
            </TableCell>     
            <TableCell BorderThickness="0,1,1,1">
              <Paragraph TextAlignment="Center"></Paragraph>
            </TableCell>                
            <TableCell BorderThickness="0,1,1,1">
              <Paragraph TextAlignment="Center"></Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,1,1,1">
              <Paragraph TextAlignment="Center"></Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,1,1,1">
              <Paragraph TextAlignment="Center"></Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,1,1,1">
              <Paragraph TextAlignment="Center"></Paragraph>
            </TableCell>
          </TableRow>
        </TableRowGroup>
    </Table>
  </xrd:SectionReportHeader>
  <!--<xrd:SectionReportHeader PageFooterHeight="0" Padding="18,0,30,20" FontSize="12" FontFamily="Courier">
    <Table Margin="20,10,20,10" CellSpacing="0" BorderBrush="Black" BorderThickness="1,1,1,1">
    <Table.Columns>
    <TableColumn Width="560" />
    </Table.Columns>
    <TableRowGroup>
    <TableRow>
    <TableCell>
    <Paragraph TextAlignment="Left" FontSize="10" FontWeight="Bold" FontFamily="Roman PS">
    </Paragraph>
    </TableCell> 			                   
    </TableRow>
    </TableRowGroup>
    </Table>
    </xrd:SectionReportHeader>-->
    <xrd:SectionReportFooter PageFooterHeight="35" Padding="30,0,0,20" FontSize="12" FontFamily="Courier">
    <Table Name="ItemTotals" Margin="0" CellSpacing="0" BorderBrush="Black" BorderThickness="0,1,1,0" Background="LightGray">
      <Table.Columns>
       <TableColumn Width="30.0" />
      <TableColumn Width="156.0" />
      <TableColumn Width="40.0" />
      <TableColumn Width="40.0" />
      <TableColumn Width="40.0" />
      <TableColumn Width="35.0" />
      <TableColumn Width="50.0" />
      <TableColumn Width="45.0" />
      <TableColumn Width="55.0" />
      <TableColumn Width="40.0" />
      <TableColumn Width="50.0" />
      <TableColumn Width="45.0" />
      <TableColumn Width="45.0" />
      <TableColumn Width="55.0" />
      </Table.Columns>
        <TableRowGroup>
          <TableRow>
            <TableCell BorderBrush="Black" BorderThickness="1,0,1,0">
              <Paragraph TextAlignment="Right" FontSize="11" FontFamily="Draft 10cpi" Padding="0.05cm">
              </Paragraph>
            </TableCell>    
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0">
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier" Padding="0.05cm">TOTAL
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0">
              <Paragraph TextAlignment="Right" FontSize="11" FontFamily="Courier" Padding="0.05cm">
              </Paragraph>
            </TableCell>		       
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0">
              <Paragraph TextAlignment="Right" FontSize="11" FontFamily="Draft 10cpi" Padding="0.05cm"> 
              </Paragraph>
            </TableCell>
            
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0">
              <Paragraph TextAlignment="Center" FontSize="11" FontFamily="Draft 10cpi" Padding="0.05cm">
                <xrd:InlineAggregateValue AggregateGroup="Qty" AggregateValueType="Sum" EmptyValue="0"  />
              </Paragraph>
            </TableCell>   
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0">
              <Paragraph TextAlignment="Right" FontSize="11" FontFamily="Draft 10cpi" Padding="0.05cm"> 
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0">
              <Paragraph TextAlignment="Right" FontSize="11" FontFamily="Courier" Padding="0.05cm">    
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0">
              <Paragraph TextAlignment="Center" FontSize="11" FontFamily="Courier" Padding="0.05cm">
                <xrd:InlineAggregateValue AggregateGroup="LineDiscountAmountTot" AggregateValueType="Sum" EmptyValue="0"  />
              </Paragraph>
            </TableCell>		       
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0">
              <Paragraph TextAlignment="Center" FontSize="11" FontFamily="Draft 10cpi" Padding="0.05cm"> 
                <xrd:InlineAggregateValue AggregateGroup="Taxable" AggregateValueType="Sum" EmptyValue="0"  />
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0">
              <Paragraph TextAlignment="Right" FontSize="11" FontFamily="Draft 10cpi" Padding="0.05cm">
              </Paragraph>
            </TableCell>    
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0">
              <Paragraph TextAlignment="Center" FontSize="11" FontFamily="Courier" Padding="0.05cm">
                <xrd:InlineAggregateValue AggregateGroup="CGST-ComputedAmt" AggregateValueType="Sum" EmptyValue="0"  />
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0">
              <Paragraph TextAlignment="Center" FontSize="11" FontFamily="Courier" Padding="0.05cm">
                <xrd:InlineAggregateValue AggregateGroup="SGST-ComputedAmt" AggregateValueType="Sum" EmptyValue="0"  />
              </Paragraph>
            </TableCell>	
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0">
              <Paragraph TextAlignment="Center" FontSize="11" FontFamily="Courier" Padding="0.05cm">
                <xrd:InlineAggregateValue AggregateGroup="IGST-ComputedAmt" AggregateValueType="Sum" EmptyValue="0"  />
              </Paragraph>
            </TableCell>	
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Center" FontSize="11" FontFamily="Draft 10cpi" Padding="0.05cm"> 
                <xrd:InlineAggregateValue AggregateGroup="LineTotal" AggregateValueType="Sum" EmptyValue="0"  />
              </Paragraph>
            </TableCell>    
          </TableRow>
        </TableRowGroup>
    </Table>
   <!-- <Table Name="Narration" Margin="0" CellSpacing="0" BorderBrush="Black" BorderThickness="0,1,1,0">
      <Table.Columns>
        <TableColumn Width="730.0" />
        </Table.Columns>
        <TableRowGroup>
        <TableRow>
        <TableCell BorderBrush="Black" BorderThickness="1,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Draft 10cpi">Narration : 
                <xrd:InlineDocumentValue PropertyName="Narration" />
              </Paragraph>
            </TableCell>    
          </TableRow>
        </TableRowGroup>
    </Table>-->
    <Table Name="InvoiceTotal" Margin="0,0,0,0" CellSpacing="0" BorderBrush="Black" BorderThickness="1,1,1,0">
      <Table.Columns>
        <TableColumn Width="60" />
        <TableColumn Width="10" />
        <TableColumn Width="60" />
        <TableColumn Width="70" />
        <TableColumn Width="10" />
        <TableColumn Width="70" />
        <TableColumn Width="70" />
        <TableColumn Width="10" />
        <TableColumn Width="75" />
        <TableColumn Width="195" />
        <TableColumn Width="10" />
        <TableColumn Width="85" />
      </Table.Columns>
        <TableRowGroup>
          <TableRow>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier"  Margin="5,5,0,0"> IGST 5% 
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier" Margin="0,5,0,0"> :
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier" Margin="0,5,0,0">  
                <xrd:InlineDocumentValue PropertyName="OUTPUTIGSTONSALESGST5" />
              </Paragraph>
            </TableCell>       
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier" Margin="0,5,0,0"> CGST 2.5% 
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" >
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier" Margin="0,5,0,0"> :
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" >
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier" Margin="0,5,0,0">  
                <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST5" />
              </Paragraph>
            </TableCell>     
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier" Margin="0,5,0,0"> SGST 2.5% 
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" >
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier" Margin="0,5,0,0"> :
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0" >
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier" Margin="0,5,0,0">  
                <xrd:InlineDocumentValue PropertyName="OUTPUTSGSTONSALESGST5" />
              </Paragraph>
            </TableCell>       
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="Bold">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier" Margin="0,5,0,0"> Taxable Amount
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="Bold">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier" Margin="0,5,0,0"> :
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="Bold">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier" Margin="0,5,5,0">  
                <xrd:InlineDocumentValue PropertyName="MTaxableAmt" />
              </Paragraph>
            </TableCell>     
          </TableRow>
        </TableRowGroup>
        <TableRowGroup>        
          <TableRow>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier"  Margin="5,0,0,0"> IGST 12% 
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" >
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier"> :
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" >
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier">  
                <xrd:InlineDocumentValue PropertyName="OUTPUTIGSTONSALESGST12" />
              </Paragraph>
            </TableCell>       
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier" > CGST 6% 
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" >
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier"> :
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" >
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier">  
                <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST12" />
              </Paragraph>
            </TableCell>     
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier" > SGST 6% 
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" >
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier"> :
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0" >
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier">  
                <xrd:InlineDocumentValue PropertyName="OUTPUTSGSTONSALESGST12" />
              </Paragraph>
            </TableCell>       
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier" FontWeight="Bold" > IGST
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="Bold">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier"> :
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="Bold" >
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier" Margin="0,0,5,0">  
                <xrd:InlineAggregateValue AggregateGroup="IGST-ComputedAmt" AggregateValueType="Sum" EmptyValue="0"  />
              </Paragraph>
            </TableCell>     
          </TableRow>
        </TableRowGroup>
        <TableRowGroup>
          <TableRow>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier" Margin="5,0,0,0"> IGST 18% 
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" >
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier"> :
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" >
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier">  
                <xrd:InlineDocumentValue PropertyName="OUTPUTIGSTONSALESGST18" />
              </Paragraph>
            </TableCell>       
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier" > CGST 9% 
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier"> :
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" >
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier">  
                <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST18" />
              </Paragraph>
            </TableCell>     
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier" > SGST 9% 
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" >
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier"> :
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0" >
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier">  
                <xrd:InlineDocumentValue PropertyName="OUTPUTSGSTONSALESGST18" />
              </Paragraph>
            </TableCell>       
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier" FontWeight="Bold" > CGST
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier"> :
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier" Margin="0,0,5,0">  
                <xrd:InlineAggregateValue AggregateGroup="SGST-ComputedAmt" AggregateValueType="Sum" EmptyValue="0"  />
              </Paragraph>
            </TableCell>     
          </TableRow>
        </TableRowGroup>
        <TableRowGroup>
          <TableRow>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier" FontWeight="Bold" > 
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier"> 
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier">  
              </Paragraph>
            </TableCell>       
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier" FontWeight="Bold" >
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier">
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier">  
              </Paragraph>
            </TableCell>     
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier" FontWeight="Bold" >
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier"> 
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0" FontWeight="bold">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier">  
              </Paragraph>
            </TableCell>       
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier" FontWeight="Bold" > SGST
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier"> :
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier" Margin="0,0,5,0">  
                <xrd:InlineAggregateValue AggregateGroup="SGST-ComputedAmt" AggregateValueType="Sum" EmptyValue="0"  />
              </Paragraph>
            </TableCell>     
          </TableRow>
        </TableRowGroup>
        <TableRowGroup>
          <TableRow>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier" FontWeight="Bold" > 
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier"> 
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier">  
              </Paragraph>
            </TableCell>       
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier" FontWeight="Bold" >
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier">
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier">  
              </Paragraph>
            </TableCell>     
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier" FontWeight="Bold" >
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier"> 
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0" FontWeight="bold">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier">  
              </Paragraph>
            </TableCell>       
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier" FontWeight="Bold" > Shipping Charges
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier"> :
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier" Margin="0,0,5,0">  
                <xrd:InlineDocumentValue PropertyName="SHIPPINGCHARGES" />
              </Paragraph>
            </TableCell>     
          </TableRow>
        </TableRowGroup>
    </Table>
    
    <Table Name="BillTotal" Margin="0" CellSpacing="0" BorderBrush="Black" BorderThickness="1,0,0,1">
      <Table.Columns>
        <TableColumn Width="435" />
        <TableColumn Width="195" />
        <TableColumn Width="10" />
        <TableColumn Width="86" />
      </Table.Columns>
        <TableRowGroup>
          <TableRow>
            <TableCell BorderBrush="Black" BorderThickness="0,1,1,0">
              <Paragraph TextAlignment="Center" FontSize="12" FontFamily="Courier" FontWeight="Bold" > Invoice Value (In Words)
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier"> Discount Total
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier">:
              </Paragraph>
            </TableCell>  
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0" FontWeight="bold">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier" Margin="0,0,5,0">
                <xrd:InlineAggregateValue AggregateGroup="LineDiscountAmountTot" AggregateValueType="Sum" EmptyValue="0"  />
              </Paragraph>
            </TableCell>   
          </TableRow>
        </TableRowGroup>
        <TableRowGroup>
          <TableRow>
            <TableCell  BorderBrush="Black" BorderThickness="0,0,1,0">
              <Paragraph TextAlignment="Center" FontSize="12" FontFamily="Courier"> 
                <xrd:InlineDocumentValue PropertyName="AmountInWords" />
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier">Roundoff    
              </Paragraph>
            </TableCell>                    
            <TableCell  BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier">:    
              </Paragraph>
            </TableCell> 
            <TableCell  BorderBrush="Black" BorderThickness="0,0,1,0" FontWeight="bold">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier" Margin="0,0,5,0">
                <xrd:InlineDocumentValue PropertyName="MRoundOFF" />      
              </Paragraph>
            </TableCell>    
          </TableRow>
        </TableRowGroup>
        <TableRowGroup>
          <TableRow>
            <TableCell  BorderBrush="Black" BorderThickness="0,0,1,0">
              <Paragraph TextAlignment="Center" FontSize="12" FontFamily="Courier" FontWeight="bold">
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Courier">INVOICE TOTAL    
              </Paragraph>
            </TableCell>                    
            <TableCell  BorderBrush="Black" BorderThickness="0,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Right" FontSize="16" FontFamily="Courier">:    
              </Paragraph>
            </TableCell> 
            <TableCell  BorderBrush="Black" BorderThickness="0,0,1,0" FontWeight="bold">
              <Paragraph TextAlignment="Right" FontSize="16" FontFamily="Courier" Margin="0,0,5,0">
                <xrd:InlineDocumentValue PropertyName="MGrandTotal" />     
              </Paragraph>
            </TableCell>    
          </TableRow>
        </TableRowGroup>
    </Table>
    <Table Name="Billsignato" Margin="0" Padding="0,0,0,0" CellSpacing="0" BorderBrush="Black" BorderThickness="1,0,0,0">
      <Table.Columns>
        <TableColumn Width="726" />
       <!-- <TableColumn Width="370" />-->
      </Table.Columns>
        <TableRowGroup>
          <TableRow>
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,1" FontWeight="bold">
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier">REMARKS / PAYMENT TERMS :
                <xrd:InlineDocumentValue PropertyName="Narration" />
              </Paragraph>
            </TableCell>
           <!-- <TableCell BorderBrush="Black" BorderThickness="0,0,1,1" FontWeight="bold">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier">
                <xrd:InlineDocumentValue PropertyName="Narration" />
              </Paragraph>
            </TableCell>-->
          </TableRow>
        </TableRowGroup>
    </Table>
    <Table Name="BankDetails" Margin="0,0,0,0" Padding="0,0,0,0" CellSpacing="0" BorderBrush="Black" BorderThickness="1,0,1,0">
      <Table.Columns>
        <TableColumn Width="139" />
        <TableColumn Width="10" />
        <TableColumn Width="285" />
        <TableColumn Width="291" />
      </Table.Columns>
        <TableRowGroup>
          <TableRow>
            <TableCell>
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier" Margin="5,0,0,0"> <Bold>BANK DETAILS</Bold>
              </Paragraph>
            </TableCell>
            <TableCell>
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier">  
              </Paragraph>
            </TableCell>
            <TableCell>
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier"> 
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="1,0,0,0" Padding="0,0,0,0">
              <Paragraph TextAlignment="Center" FontSize="12" FontFamily="Courier">
              </Paragraph>
            </TableCell>
          </TableRow>
          <TableRow>
            <TableCell>
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier" Margin="5,0,0,0"> BENEFICIARY NAME 
              </Paragraph>
            </TableCell>
            <TableCell>
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier"> : 
              </Paragraph>
            </TableCell>
            <TableCell>
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier">  OCTAVIUS TEA &amp; INDUSTRIES LTD
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="1,0,0,0" Padding="0,0,0,0">
              <Paragraph TextAlignment="Center" FontSize="12" FontFamily="Courier">
              </Paragraph>
            </TableCell>
          </TableRow>
          <TableRow>
            <TableCell>
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier" Margin="5,0,0,0"> BANK NAME 
              </Paragraph>
            </TableCell>
            <TableCell>
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier"> : 
              </Paragraph>
            </TableCell>
            <TableCell>
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier">  ICICI Bank
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="1,0,0,0" Padding="0,0,0,0">
              <Paragraph TextAlignment="Center" FontSize="12" FontFamily="Courier">
              </Paragraph>
            </TableCell>
          </TableRow>
          <TableRow>
            <TableCell>
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier" Margin="5,0,0,0"> A/C NUMBER
              </Paragraph>
            </TableCell>
            <TableCell>
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier"> : 
              </Paragraph>
            </TableCell>
            <TableCell>
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier">  6666666666666
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="1,0,0,0" Padding="0,0,0,0">
              <Paragraph TextAlignment="Center" FontSize="12" FontFamily="Courier">
              </Paragraph>
            </TableCell>
          </TableRow>
          <TableRow>
            <TableCell BorderThickness="0,0,0,1">
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier" Margin="5,0,0,0"> BRANCH and IFSCODE
              </Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,0,0,1">
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier"> : 
              </Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,0,1,1" >
              <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Courier">  Parliament Street, Delhi Branch, ICIC0006637
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="1,0,0,0" FontWeight="bold">
              <Paragraph TextAlignment="Center" FontSize="12" FontFamily="Courier">
                <xrd:InlineDocumentValue PropertyName="FirmName" />
              </Paragraph>
            </TableCell>
          </TableRow>
      </TableRowGroup>          
    </Table>
    <Table Name="TermsandConditions" Margin="0" Padding="0,0,0,0" CellSpacing="0" BorderBrush="Black" BorderThickness="1,0,0,1">
      <Table.Columns>
        <TableColumn Width="435" />
        <TableColumn Width="291" />             
      </Table.Columns>
        <TableRowGroup>
          <TableRow>
            <TableCell BorderBrush="Black" BorderThickness="0,1,1,0">
              <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Courier" Margin="5,0,0,0"><Bold>Terms and Conditions:</Bold> 
              </Paragraph>
              <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Courier" Margin="5,0,0,0">
              * Please pay by draft payable at delhi bank
              </Paragraph>
              <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Courier" Margin="5,0,0,0">
              * 20% will be charged if not paid in terms of order/offer
              </Paragraph>
              <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Courier" Margin="5,0,0,0">
              * All Disputes subject to delhi Jurisdiction only
              </Paragraph>
              <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Courier" Margin="5,0,0,0">
              * Our Responsibility ceases after over to counter
              </Paragraph>
              <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Courier" Margin="5,0,0,0">
              * Goods once sold not to be taken back
              </Paragraph>
              </TableCell>
              <TableCell BorderBrush="Black" BorderThickness="0,0,1,0" FontWeight="bold">
              <Paragraph TextAlignment="Center" FontSize="12" FontFamily="Courier">
              </Paragraph>
            </TableCell>
          </TableRow>
        </TableRowGroup>
        <TableRowGroup>
          <TableRow>
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0">
              <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Courier">
              </Paragraph>
            </TableCell>
            <TableCell BorderBrush="Black" BorderThickness="0,0,1,0">
              <Paragraph TextAlignment="Center" FontSize="12" FontFamily="Courier">Authorised Signatory 
              </Paragraph>
            </TableCell>
          </TableRow>
        </TableRowGroup>
    </Table>
    <Table Name="PageFooter" CellSpacing="0">
      <Table.Columns>
        <TableColumn Width="360" />
        <TableColumn Width="360" />
      </Table.Columns>
        <TableRowGroup>
          <TableRow>
            <TableCell>
              <Paragraph  FontSize="10">Horizon ERP www.horizontechsolutions.co.in
              <!--<Image Tag="dpd.jpg" Height="0.5cm" />-->
              </Paragraph>
            </TableCell>
            <!-- <TableCell>
              <Paragraph TextAlignment="Right">
              Page
                <xrd:InlineContextValue PropertyName="PageNumber" FontWeight="Bold" /> of
                <xrd:InlineContextValue PropertyName="PageCount" FontWeight="Bold" />
              </Paragraph>
            </TableCell>-->
          </TableRow>
        </TableRowGroup>
    </Table>
    </xrd:SectionReportFooter>
  <!--</xrd:DocumentFooter>-->
  <Section Padding="10,0,0,0" FontSize="12" BreakPageBefore="True">     
    <Table Name="ItemDetails" Margin="0" Padding="0,0,0,0" CellSpacing="0" BorderBrush="Black" BorderThickness="0.00cm">
      <Table.Resources>
        <Style x:Key="headerFooterRowStyle" TargetType="{x:Type TableRowGroup}">
          <Setter Property="FontWeight" Value="DemiBold"/>
          <Setter Property="Background" Value="LightGray"/>
          <Setter Property="FontSize" Value="11"/>
          <Setter Property="FontFamily" Value="Courier"/>
        </Style>
        <Style x:Key="dataRowStyle" TargetType="{x:Type TableRowGroup}">
          <Setter Property="FontFamily" Value="Courier"/>
          <Setter Property="FontSize" Value="10"/>
        </Style>
        <Style TargetType="{x:Type TableCell}">
          <Setter Property="Padding" Value="0.1cm"/>
          <Setter Property="BorderBrush" Value="Black"/>
          <Setter Property="BorderThickness" Value="0,0,0,0"/>
        </Style>
      </Table.Resources>
      <Table.Columns>
      <TableColumn Width="30.0" />
      <TableColumn Width="156.0" />
      <TableColumn Width="40.0" />
      <TableColumn Width="40.0" />
      <TableColumn Width="40.0" />
      <TableColumn Width="35.0" />
      <TableColumn Width="50.0" />
      <TableColumn Width="45.0" />
      <TableColumn Width="55.0" />
      <TableColumn Width="40.0" />
      <TableColumn Width="50.0" />
      <TableColumn Width="45.0" />
      <TableColumn Width="45.0" />
      <TableColumn Width="55.0" />
      </Table.Columns>
        <TableRowGroup Style="{StaticResource dataRowStyle}">
          <xrd:TableRowForDataTable TableName="BillItemDet">
            <TableCell BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left">
                <xrd:InlineTableCellValue PropertyName="Slno" />
              </Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left">
                <xrd:InlineTableCellValue PropertyName="ItemName"  />
              </Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left">
                <xrd:InlineTableCellValue PropertyName="HSNCode"/>
              </Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left">
                <xrd:InlineTableCellValue PropertyName="MRP"/>
              </Paragraph>
            </TableCell>
            
            <TableCell BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Center">
                <xrd:InlineTableCellValue PropertyName="Qty"   AggregateGroup="Qty"/>
              </Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left">
                <xrd:InlineTableCellValue PropertyName="Unit"/>
              </Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,0,0,0">
              <Paragraph  TextAlignment="Right">
                <xrd:InlineTableCellValue PropertyName="InputRate" />
              </Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,0,0,0">
              <Paragraph  TextAlignment="Right">
                <xrd:InlineTableCellValue PropertyName="LineDiscountAmountTot" AggregateGroup="LineDiscountAmountTot"/>
              </Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Right">
                <xrd:InlineTableCellValue PropertyName="ItemTotal"   AggregateGroup="Taxable"/>
              </Paragraph>
            </TableCell>  
            <TableCell BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Left">
                <xrd:InlineTableCellValue PropertyName="TaxPer"/>                           
              </Paragraph>                  
            </TableCell>
            <TableCell BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Right" >
               <xrd:InlineTableCellValue PropertyName="CGST-ComputedAmt" AggregateGroup="CGST-ComputedAmt"/>
              </Paragraph>
            </TableCell>    
            <TableCell BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Right" >
               <xrd:InlineTableCellValue PropertyName="SGST-ComputedAmt" AggregateGroup="SGST-ComputedAmt"/>
              </Paragraph>
            </TableCell> 
            <TableCell BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Right" >
               <xrd:InlineTableCellValue PropertyName="IGST-ComputedAmt" AggregateGroup="IGST-ComputedAmt"/>
              </Paragraph>
            </TableCell>
            <TableCell BorderThickness="0,0,0,0">
              <Paragraph TextAlignment="Right">
               <xrd:InlineTableCellValue PropertyName="LineTotal"   AggregateGroup="LineTotal"/>
              </Paragraph>
            </TableCell>
          </xrd:TableRowForDataTable>
        </TableRowGroup>
    </Table>   
  </Section>
</FlowDocument>

