<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="14.8cm" PageWidth="21cm" ColumnWidth="21cm">
    <xrd:ReportProperties>
    </xrd:ReportProperties>
    <xrd:SectionReportHeader PageHeaderHeight="28" Padding="20,20,0,0" FontSize="12">
    <Table Name="BillPageNumber" CellSpacing="0" Margin="0">
          <Table.Columns>
              <TableColumn Width="200" />
              <TableColumn Width="550" />
          </Table.Columns> 
          <TableRowGroup>
              <TableRow>
                  <TableCell Padding="0,0,0,0">
                      <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Roman PS">PAGE
                          <xrd:InlineContextValue PropertyName="PageNumber" /> OF
                          <xrd:InlineContextValue PropertyName="PageCount" />
                      </Paragraph>
                  </TableCell>
                  <TableCell Padding="0,0,0,0">
                      <Paragraph TextAlignment="Right" FontSize="11" FontFamily="Roman PS">
                          <xrd:InlineContextValue PropertyName="Reporttitle" />
                      </Paragraph>
                  </TableCell>
              </TableRow>
          </TableRowGroup>
        </Table>
    <Table Name="BillHeader" CellSpacing="0" Margin="0">
          <Table.Columns>
              <TableColumn Width="*" />
              <TableColumn Width="*" />
          </Table.Columns>
          <TableRowGroup>
               <TableRow>
                  <TableCell FontWeight="bold">
                      <Paragraph TextAlignment="Center" FontSize="18" FontFamily="Times New Roman">
                          <xrd:InlineDocumentValue PropertyName="FirmName" />
                      </Paragraph>
                  </TableCell>
               </TableRow>
              <TableRow>
                  <TableCell>
                      <Paragraph TextAlignment="Center" FontSize="12" FontFamily="Times New Roman">
                          <xrd:InlineDocumentValue PropertyName="DoorNo" />,
                          <xrd:InlineDocumentValue PropertyName="Street" />,
                          <xrd:InlineDocumentValue PropertyName="City" />,
                          <xrd:InlineDocumentValue PropertyName="District" />,
                          <xrd:InlineDocumentValue PropertyName="State" />,
                          <xrd:InlineDocumentValue PropertyName="Country" />,Pin:
                          <xrd:InlineDocumentValue PropertyName="PinCode" /> ,
                      </Paragraph>
                  </TableCell>                   
              </TableRow>
              <TableRow>
                  <TableCell>
                      <Paragraph TextAlignment="Center" FontSize="12" LineHeight="1" FontFamily="Times New Roman">Ph:
                          <xrd:InlineDocumentValue PropertyName="Phone1" />
                          <xrd:InlineDocumentValue PropertyName="Phone2" />
                          <xrd:InlineDocumentValue PropertyName="Phone3" />
                        
                      </Paragraph>
                  </TableCell>
              </TableRow>
              <TableRow>
                  <TableCell>
                      <Paragraph TextAlignment="Center" FontSize="12" FontFamily="Times New Roman">GSTIN :
                         <xrd:InlineDocumentValue PropertyName="GSTIN" />, FLic:
                          <xrd:InlineDocumentValue PropertyName="FoodLic" />
                      </Paragraph>
                  </TableCell>
              </TableRow>
              <TableRow>
                  <TableCell>
                      <Paragraph TextAlignment="Center" FontSize="12" FontFamily="Times New Roman"> GOODS AND SERVICES TAX INVOICE RULES- FORM GST INV-1  
                      </Paragraph>
                  </TableCell>
              </TableRow>
             
          </TableRowGroup>
       </Table>
    <Table Name="BillCustomerDet" Margin="0" CellSpacing="0" Padding="0,10,0,0" BorderBrush="Black" BorderThickness="0,0,0,0">
          <Table.Columns>
              <TableColumn Width="350" />
              <TableColumn Width="250" />
              <TableColumn Width="150" />  
          </Table.Columns>
          <TableRowGroup>
              <TableRow>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman"> 
                      <TextBlock TextTrimming="CharacterEllipsis">CUSTOMER :
                            <xrd:InlineDocumentValue PropertyName="MCustname" />
                          </TextBlock>
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman">GSTIN :
                          <xrd:InlineDocumentValue PropertyName="MGSTIN" />  
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman" Padding="0,0,0,0">BILL TYPE:
                          <xrd:InlineDocumentValue PropertyName="MBillType" />  
                          
                      </Paragraph>
                  </TableCell>                    
              </TableRow>
          </TableRowGroup>
          <TableRowGroup>
              <TableRow>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman">
                       <TextBlock TextTrimming="CharacterEllipsis"
                      TextAlignment="Left">ADDRESS :
                     
                          <xrd:InlineDocumentValue PropertyName="MAdd1" />,
                          <xrd:InlineDocumentValue PropertyName="MAdd2" />,
                          <xrd:InlineDocumentValue PropertyName="MAdd3" />  
                          </TextBlock>
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman" Padding="0,0,0,0">STATE :
                          <xrd:InlineDocumentValue PropertyName="MStateName" />  
                      </Paragraph>
                  </TableCell>
                
                  <TableCell BorderThickness="0,0,0,1">
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman" Padding="0,0,0,0"> INV NO.:
                          <xrd:InlineDocumentValue PropertyName="MSeries" /> 
                          <xrd:InlineDocumentValue PropertyName="MVno" />
                      </Paragraph>
                  </TableCell>
              </TableRow>
          </TableRowGroup>
          <TableRowGroup>
              <TableRow>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman">PH :
                           <xrd:InlineDocumentValue PropertyName="MMobile" />  
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman" Padding="0,0,0,0">PO Number:
                      <xrd:InlineDocumentValue PropertyName="MPurchaseOrderNumber" />
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman">INV DATE :
                          <xrd:InlineDocumentValue PropertyName="MBillDate" />
                      </Paragraph>
                  </TableCell>
                   </TableRow>
          </TableRowGroup>
      </Table>
         <Table Name="ItemHeaders" CellSpacing="0" Margin="0" Padding="0,5,0,0" BorderBrush="Black" BorderThickness="0,0,0,0">
            <Table.Resources>
                <!-- Style for header/footer rows. -->
               <!-- <Style x:Key="headerFooterRowStyle" TargetType="{x:Type TableRowGroup}">
                    <Setter Property="FontWeight" Value="DemiBold"/>
                    <Setter Property="FontSize" Value="12"/>
                    <Setter Property="FontFamily" Value="Draft 10cpi"/>-->
                    <!--<Setter Property="Background" Value="LightGray" FontFamily="Draft 10cpi"/>-->
                <!--</Style>-->

                <!-- Style for data rows. -->
               <Style x:Key="dataRowStyle" TargetType="{x:Type TableRowGroup}">
                  <Setter Property="FontFamily" Value="Times New Roman"/>
                  <Setter Property="FontSize" Value="13"/>  
              </Style>

                <!-- Style for data cells. -->
               <!-- <Style TargetType="{x:Type TableCell}">
                    <Setter Property="Padding" Value="0.1cm"/>
                    <Setter Property="BorderBrush" Value="Black"/>
                    <Setter Property="BorderThickness" Value="0.00cm"/>
                </Style>-->
            </Table.Resources>
         <Table.Columns>
                <TableColumn Width="24.0" />
                <TableColumn Width="50.0" />
                <TableColumn Width="170.0" />
                <TableColumn Width="60.0" />
                <TableColumn Width="35.0" />
                <TableColumn Width="45.0" />
                <TableColumn Width="50.0" />
                <TableColumn Width="55.0" />
                <!--<TableColumn Width="50.0" />-->
                <TableColumn Width="60.0" />
                
                <TableColumn Width="50.0" />
                
                 <TableColumn Width="45.0" />
                <TableColumn Width="50.0" />
                <TableColumn Width="60.0" />
              
            </Table.Columns>
           <TableRowGroup Style="{StaticResource dataRowStyle}">
           <!--<TableRowGroup>-->
                <TableRow>
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1">
                        <Paragraph TextAlignment="Center">SN
                        </Paragraph>
                    </TableCell>
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1">
                        <Paragraph TextAlignment="Center">MRP
                        </Paragraph>
                    </TableCell>                    
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1">
                    
                        <Paragraph TextAlignment="Center">ITEM NAME
                        </Paragraph>
                        
                    </TableCell>
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1">
                        <Paragraph TextAlignment="Center">HSN
                        </Paragraph>
                    </TableCell>
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1">
                        <Paragraph TextAlignment="Center">UOM
                        </Paragraph>
                    </TableCell>
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1">
                        <Paragraph TextAlignment="Center">Qty 
                        </Paragraph>
                   </TableCell>
                    
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1">
                        <Paragraph TextAlignment="Center">RATE
                        </Paragraph>
                    </TableCell>
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1">
                        <Paragraph TextAlignment="Center">DISC.
                        </Paragraph>
                    </TableCell>                    
                    <!--<TableCell BorderBrush="Black" BorderThickness="0,0,0,1">
                        <Paragraph TextAlignment="Center">SCH.
                        </Paragraph>
                    </TableCell>-->
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1">
                        <Paragraph TextAlignment="Center">TAXABLE
                        </Paragraph>
                    </TableCell>
                    
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1">
                        <Paragraph TextAlignment="Right">
                            GST %
                        </Paragraph>
                    </TableCell>
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1">
                        <Paragraph TextAlignment="Center">
                          CGST
                        </Paragraph>
                    </TableCell>
                    
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1">
                        <Paragraph TextAlignment="Center">
                            SGST
                        </Paragraph>
                    </TableCell>  
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1">
                        <Paragraph TextAlignment="Center">TOTAL
                        </Paragraph>
                    </TableCell>
                </TableRow>
            </TableRowGroup>
        </Table>
    </xrd:SectionReportHeader>
    
    <xrd:DocumentFooter DocumentFooterHeight="30" Padding="20,0,0,20" FontSize="12" FontFamily="Times New Roman">
        <Table Name="ItemTotals" Margin="0,0,20,0" CellSpacing="0" BorderBrush="Black" BorderThickness="0,1,0,0">
            <Table.Columns>
            <TableColumn Width="380" />
            <TableColumn Width="90" />
            <!--<TableColumn Width="60" />-->
            <TableColumn Width="80" />
            <TableColumn Width="75" />
		        <TableColumn Width="65" />
		        <TableColumn Width="70" />
            </Table.Columns>
            <TableRowGroup>
                <TableRow>
                 
                    <TableCell>
                            <Paragraph TextAlignment="Right" FontSize="13" FontFamily="Times New Roman">
                                <xrd:InlineAggregateValue AggregateGroup="Qty" AggregateValueType="Sum" EmptyValue="0"  />
                            </Paragraph>
                    </TableCell>
                    <TableCell>
                            <Paragraph TextAlignment="Right" FontSize="13" FontFamily="Times New Roman">
                                <xrd:InlineAggregateValue AggregateGroup="LineDiscountAmountTot" AggregateValueType="Sum" EmptyValue="0" />
                            </Paragraph>
                    </TableCell>
                   <!-- <TableCell>
                            <Paragraph TextAlignment="Right" FontSize="13" FontFamily="Times New Roman">
                                <xrd:InlineAggregateValue AggregateGroup="LineSchemeAmountTot" AggregateValueType="Sum" EmptyValue="0" />
                            </Paragraph>
                    </TableCell>-->
                    <TableCell>
                            <Paragraph TextAlignment="Right" FontSize="13" FontFamily="Times New Roman">
                            <xrd:InlineDocumentValue PropertyName="MTaxableAmt"/>
                            </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Right" FontSize="13" FontFamily="Times New Roman"> 
                           <xrd:InlineAggregateValue AggregateGroup="CGST-ComputedAmt" AggregateValueType="Sum" EmptyValue="0"  />

                        </Paragraph>
                    </TableCell>
                  <TableCell>
                        <Paragraph TextAlignment="Right" FontSize="13" FontFamily="Times New Roman"> 
                           <xrd:InlineAggregateValue AggregateGroup="SGST-ComputedAmt" AggregateValueType="Sum" EmptyValue="0"  />

                        </Paragraph>
                    </TableCell>
		                <TableCell>
                        <Paragraph TextAlignment="Right" FontSize="13" FontFamily="Times New Roman"> 
                           <xrd:InlineAggregateValue AggregateGroup="LineTotal" AggregateValueType="Sum" EmptyValue="0"  />

                        </Paragraph>
                    </TableCell>
                    
		                
                </TableRow>
            </TableRowGroup>
        </Table>
       
        <Table Name="CGSTsplitup1"  Margin="0,0,15,0" Padding="0,0,0,0" CellSpacing="0" BorderBrush="Black" BorderThickness="0,0,0,0">
            <Table.Columns>
                <TableColumn Width="180" />
                <TableColumn Width="100" />
                <TableColumn Width="100"/>
                <TableColumn Width="140" />
                  <TableColumn Width="240" />
                  
              
            </Table.Columns>
            <TableRowGroup>
                
               <TableRow>
               <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                       <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Times New Roman"> BANK  : SOUTH INDIAN BANK             
                        </Paragraph>
                     </TableCell>
                    <TableCell FontWeight="bold">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">SGST 2.5% :     
                        <xrd:InlineDocumentValue PropertyName="OUTPUTSGSTONSALESGST5" />
                        </Paragraph>
                    </TableCell>
                    <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">CGST 2.5%:
                            <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST5" />                   
                        </Paragraph>
                     </TableCell>
                    <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman">   
                                             
                        </Paragraph>
                     </TableCell>
                     <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                        <Paragraph TextAlignment="Right" FontSize="10" FontFamily="Times New Roman">SCHEME TOTAL:
                           <xrd:InlineDocumentValue PropertyName="MSchemeTotal" />   
                        </Paragraph>
                    </TableCell>
                   
                   
                  
               </TableRow>
                </TableRowGroup>
                </Table>
                <Table Name="SGSTsplitup1"  Margin="0,0,0,0" Padding="0,0,0,0" CellSpacing="0" BorderBrush="Black" BorderThickness="0,0,0,0">
            <Table.Columns>
                <TableColumn Width="180" />
                <TableColumn Width="100" />
                 <TableColumn Width="100" />
                 <TableColumn Width="140" />
                <TableColumn Width="240" />
                
                
            </Table.Columns>
            <TableRowGroup>
                
               <TableRow>
                <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                       <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Times New Roman"> BRANCH : PATTIMATTOM                
                        </Paragraph>
                     </TableCell>
                   <TableCell FontWeight="bold">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">SGST 6% :     
                        <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST12" />
                        </Paragraph>
                    </TableCell>
                    <TableCell FontWeight="bold">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">CGST 6% :     
                        <xrd:InlineDocumentValue PropertyName="OUTPUTSGSTONSALESGST12" />
                        </Paragraph>
                    </TableCell>  
                     <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman">
                            
                        </Paragraph>
                    </TableCell>
                     <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                        <Paragraph TextAlignment="Right" FontSize="10" FontFamily="Times New Roman">DISC AFTER TAX :
                           <xrd:InlineDocumentValue PropertyName="MOtherDiscounts" /> 
                        </Paragraph>
                    </TableCell>
                    	 
                     <!--<TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Draft 10cpi">SGST 9%:
                            <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST18" />                   
                        </Paragraph>
                     </TableCell>
                    <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Right" FontSize="10" FontFamily="Draft 10cpi">SGST 14%:
                            <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST28" /> 
                        </Paragraph>
                    </TableCell>
                    <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Right" FontSize="10" FontFamily="Draft 10cpi">
                        </Paragraph>
                    </TableCell>-->
                  </TableRow>
                  </TableRowGroup>
                  </Table>
        <Table Name="CGSTsplitup2"  Margin="0,0,0,0" Padding="0,0,0,0" CellSpacing="0" BorderBrush="Black" BorderThickness="0,0,0,0">
            <Table.Columns>
                <TableColumn Width="180" />
                <TableColumn Width="100" />
                <TableColumn Width="100" />
                  
                <TableColumn Width="380" />
                    
                </Table.Columns>
            <TableRowGroup>
                
               <TableRow>
               <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                       <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Times New Roman">A/C NO : 0636083000000008               
                        </Paragraph>
                     </TableCell>
                    <TableCell FontWeight="bold">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">SGST 9% :     
                        <xrd:InlineDocumentValue PropertyName="OUTPUTSGSTONSALESGST18" />
                        </Paragraph>
                    </TableCell>
                   <TableCell FontWeight="bold">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">CGST 9% :     
                        <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST18" />
                        </Paragraph>
                    </TableCell>
                   
                     <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0" >
                        <Paragraph TextAlignment="Right" FontSize="10" FontFamily="Times New Roman">ROUND OFF :
                            <xrd:InlineDocumentValue PropertyName="MRoundOFF" />  
                        </Paragraph>
                    </TableCell>
                   
                     </TableRow>
                 </TableRowGroup>
                 </Table>
                     <Table Name="SGSTsplitup2"  Margin="0,0,0,0" Padding="0,0,0,0" CellSpacing="0" BorderBrush="Black" BorderThickness="0,0,0,0">
            <Table.Columns>
                <TableColumn Width="180" />
                <TableColumn Width="100" />
                 <TableColumn Width="100" />
              
                  <TableColumn Width="380" />
                
                   </Table.Columns>
                <TableRowGroup>
                <TableRow>
                <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                       <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Times New Roman">IFSC CODE : SIBL0000636              
                        </Paragraph>
                     </TableCell>
                   <TableCell FontWeight="bold">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">SGST 14% :     
                        <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST28" />
                        </Paragraph>
                    </TableCell>
                    <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">CGST 14%:
                            <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST28" />                   
                        </Paragraph>
                     </TableCell>
                    
                      <TableCell  FontWeight="bold" BorderBrush="black" BorderThickness="0,0,0,0">
                        <Paragraph TextAlignment="Right" FontSize="15" FontFamily="Times New Roman" FontWeight="Bold">GRAND TOTAL :
                            <xrd:InlineDocumentValue PropertyName="MGrandTotal" />
                        </Paragraph>
                    </TableCell>	
                  
               </TableRow>
                </TableRowGroup>
                </Table>
                <Table Name="Amountinwords"  Margin="0,0,15,0" Padding="0,0,0,0" CellSpacing="0" BorderBrush="Black" BorderThickness="0,0,0,1">
            <Table.Columns>
                <TableColumn Width="*" />
                <TableColumn Width="*" />
                 <TableColumn Width="*" />
                
                  <TableColumn Width="750" />
                
                   </Table.Columns>
                <TableRowGroup>
                <TableRow>
                <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                       <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">             
                        </Paragraph>
                     </TableCell>
                   <TableCell FontWeight="bold">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">
                        
                        </Paragraph>
                    </TableCell>
                    <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">
                                             
                        </Paragraph>
                     </TableCell>
                    
                      <TableCell  FontWeight="bold" BorderBrush="black" BorderThickness="0,0,0,0">
                        <Paragraph TextAlignment="Right" FontSize="10" FontFamily="Times New Roman" FontWeight="Bold">Amount In Words:
                             <xrd:InlineDocumentValue PropertyName="AmountInWords" />
                        </Paragraph>
                    </TableCell>	
                  
               </TableRow>
                </TableRowGroup>
                </Table>    
             <Table>
             <TableRowGroup>
              <TableRow>
                    <TableCell BorderThickness="0,0,0,0">
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi"><Bold>Terms and Conditions:</Bold>Certified that the particulars given above are true and correct
                        </Paragraph>
                    </TableCell>
                </TableRow>
               
               <!-- <TableRow>
                    <TableCell>
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Draft 10cpi"><Bold>DECLARATION:</Bold> Certified that all particulars shown in the above tax invoice are true and correct in all respect and the amount indicated represents the price actually charged and there is no flow of additional consideration directly or indirectly to the buyer.
                        </Paragraph>
                    </TableCell>
                </TableRow>-->
            </TableRowGroup>
        </Table>
        <Table Name="BillSignatory" Margin="0" Padding="0,0,0,0" CellSpacing="0">
            <Table.Columns>
                <TableColumn Width="250" />
                <TableColumn Width="250" />
                <TableColumn Width="250" />
            </Table.Columns>
            <TableRowGroup>
                <TableRow>
                    <TableCell>
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman">
                        </Paragraph>
                    </TableCell>
                </TableRow>                
                <TableRow>
                    <TableCell>
                        <Paragraph TextAlignment="Left" FontSize="14" FontFamily="Times New Roman">Received in good condition
                        </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Left" FontSize="14" FontFamily="Times New Roman">Party Signature
                        </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Left" FontSize="14" FontFamily="Times New Roman">For :
                            <xrd:InlineDocumentValue PropertyName="FirmName" />
                        </Paragraph>
                    </TableCell>                    
                </TableRow>
            </TableRowGroup>
        </Table>
   </xrd:DocumentFooter>
     <Section Padding="0,10,0,0" FontSize="14" BreakPageBefore="True">
        <Table CellSpacing="0" Margin="0" BorderBrush="Black" Padding="0,0,0,0" BorderThickness="0,0,0,0">
            <Table.Resources>
                <!-- Style for header/footer rows. -->
         
                <Style x:Key="headerFooterRowStyle" TargetType="{x:Type TableRowGroup}">
                    <Setter Property="FontWeight" Value="DemiBold"/>
                    <Setter Property="FontSize" Value="12"/>
                    <Setter Property="FontFamily" Value="Times New Roman"/>
                    <!--<Setter Property="Background" Value="LightGray" FontFamily="Draft 10cpi"/>-->
                </Style>

                <!-- Style for data rows. -->
                <Style x:Key="dataRowStyle" TargetType="{x:Type TableRowGroup}">
                    <Setter Property="FontFamily" Value="Times New Roman"/>
                    <Setter Property="FontSize" Value="12"/>
                </Style>

                <!-- Style for data cells. -->
                <Style TargetType="{x:Type TableCell}">
                    <Setter Property="Padding" Value="0.1cm"/>
                    <Setter Property="BorderBrush" Value="Black"/>
                    <Setter Property="BorderThickness" Value="0.00cm"/>
                </Style>
            </Table.Resources>


           <Table.Columns>
               <TableColumn Width="24.0" />
                <TableColumn Width="50.0" />
                <TableColumn Width="170.0" />
                <TableColumn Width="60.0" />
                <TableColumn Width="35.0" />
                <TableColumn Width="45.0" />
                <TableColumn Width="50.0" />
                <TableColumn Width="55.0" />
                <!--<TableColumn Width="50.0" />-->
                <TableColumn Width="60.0" />
                
                <TableColumn Width="50.0" />
                
                 <TableColumn Width="45.0" />
                <TableColumn Width="50.0" />
                <TableColumn Width="60.0" />
            </Table.Columns>
           <!-- <TableRowGroup Style="{StaticResource dataRowStyle}">
                <TableRow>
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1" FontWeight="bold">
                        <Paragraph TextAlignment="Center">SN
                        </Paragraph>
                    </TableCell>
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1" FontWeight="bold">
                        <Paragraph TextAlignment="Center">MRP
                        </Paragraph>
                    </TableCell>                    
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1" FontWeight="bold">
                    
                        <Paragraph TextAlignment="Center">ITEM NAME
                        </Paragraph>
                        
                    </TableCell>
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1" FontWeight="bold">
                        <Paragraph TextAlignment="Center">HSN CODE
                        </Paragraph>
                    </TableCell>
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1" FontWeight="bold">
                        <Paragraph TextAlignment="Center">UOM
                        </Paragraph>
                    </TableCell>
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1" FontWeight="bold">
                        <Paragraph TextAlignment="Center">QTY
                        </Paragraph>
                   </TableCell>
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1" FontWeight="bold">
                        <Paragraph TextAlignment="Center">RATE
                        </Paragraph>
                    </TableCell>
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1" FontWeight="bold">
                        <Paragraph TextAlignment="Center">DISC.
                        </Paragraph>
                    </TableCell>                    
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1" FontWeight="bold">
                        <Paragraph TextAlignment="Center">SCHEME
                        </Paragraph>
                    </TableCell>
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1" FontWeight="bold">
                        <Paragraph TextAlignment="Center">TAXABLE
                        </Paragraph>
                    </TableCell>
                    
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1" FontWeight="bold">
                        <Paragraph TextAlignment="Center">
                            GST %
                        </Paragraph>
                    </TableCell>
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1" FontWeight="bold">
                        <Paragraph TextAlignment="Center">
                          CGST (Amt)
                        </Paragraph>
                    </TableCell>
                    
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1" FontWeight="bold">
                        <Paragraph TextAlignment="Center">
                            SGST (Amt)
                        </Paragraph>
                    </TableCell>  
                    <TableCell BorderBrush="Black" BorderThickness="0,0,0,1" FontWeight="bold">
                        <Paragraph TextAlignment="Center">TOTAL
                        </Paragraph>
                    </TableCell>
                </TableRow>
            </TableRowGroup>-->
            <TableRowGroup Style="{StaticResource dataRowStyle}"> 
                <xrd:TableRowForDataTable TableName="BillItemDet">
                    <TableCell>
                        <Paragraph TextAlignment="Right">
                            <xrd:InlineTableCellValue PropertyName="Slno" />
                        </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Right">
                            <xrd:InlineTableCellValue PropertyName="MRP" />
                        </Paragraph>
                    </TableCell>
                    <TableCell>
                    <Paragraph>
                        <TextBlock TextTrimming="CharacterEllipsis"
                        TextAlignment="Left">
                            <xrd:InlineTableCellValue PropertyName="ItemName" />
                       
                        </TextBlock>
                   </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Right">
                        <TextBlock TextTrimming="CharacterEllipsis"
                        TextAlignment="Left">
                            <xrd:InlineTableCellValue PropertyName="HSNCode"/>
                             </TextBlock>
                        </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph  TextAlignment="Right">
                        <TextBlock TextTrimming="CharacterEllipsis"
                        TextAlignment="Left">
                            <xrd:InlineTableCellValue PropertyName="Unit" />
                            <!--<xrbc:TableCellBarcodeC128 PropertyName="EAN" Width="2cm" Height="0.5cm" BarcodeSubType="A" ShowText="False" />-->
                        </TextBlock>
                       </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Right">
                            <xrd:InlineTableCellValue PropertyName="Qty" AggregateGroup="Qty"/>
                        </Paragraph>
                    </TableCell>
                                    
                    <TableCell>
                        <Paragraph TextAlignment="Right">
                            <xrd:InlineTableCellValue PropertyName="InputRate" />
                        </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Right">
                            <xrd:InlineTableCellValue PropertyName="LineDiscountAmountTot" AggregateGroup="LineDiscountAmountTot"/>
                        </Paragraph>
                    </TableCell>
                  <!-- <TableCell>
                        <Paragraph TextAlignment="Right">
                            <xrd:InlineTableCellValue PropertyName="LineSchemeAmountTot" AggregateGroup="LineSchemeAmountTot"/>
                        </Paragraph>
                    </TableCell>-->
                    <TableCell>
                        <Paragraph TextAlignment="Right">
                            <xrd:InlineTableCellValue PropertyName="Taxable" />
                        </Paragraph>
                    </TableCell>
                   
                    
                    <TableCell >
                        <Paragraph TextAlignment="Right">
                            <xrd:InlineTableCellValue PropertyName="Taxper"/>
                        </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Right">
                            <xrd:InlineTableCellValue PropertyName="CGST-ComputedAmt" AggregateGroup="CGST-ComputedAmt"/>
                        </Paragraph>
                    </TableCell>
                    <!--<TableCell>
                        <Paragraph TextAlignment="Right">
                            <xrd:InlineTableCellValue PropertyName="SGST-ComputedRate" />
                        </Paragraph>
                    </TableCell>-->
                    <TableCell>
                        <Paragraph TextAlignment="Right">
                            <xrd:InlineTableCellValue PropertyName="SGST-ComputedAmt" AggregateGroup="SGST-ComputedAmt" />
                        </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Right">
                         <xrd:InlineTableCellValue PropertyName="LineTotal" AggregateGroup="LineTotal"/>
                            
                        </Paragraph>
                    </TableCell>
                </xrd:TableRowForDataTable>
            </TableRowGroup>
        </Table>
    </Section>
</FlowDocument>

