<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" 
              PageHeight="29.7cm" PageWidth="21cm" ColumnWidth="15cm" PagePadding="0.00cm">
    <xrd:ReportProperties>
        <xrd:ReportProperties.ReportName>SimpleReport</xrd:ReportProperties.ReportName>
        <xrd:ReportProperties.ReportTitle>Simple Report</xrd:ReportProperties.ReportTitle>
    </xrd:ReportProperties>
     <Section Padding="15,15,0,0" FontSize="12" Margin="0">
        <xrd:SectionDataGroup DataGroupName="ItemList">
              <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="Draft 10cpi">
                          <xrd:InlineDocumentValue PropertyName="FirmName" />
                      </Paragraph>
                  </TableCell>
               </TableRow>
              <TableRow>
                  <TableCell>
                      <Paragraph TextAlignment="Center" FontSize="12" FontFamily="Draft 10cpi">
                          <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="Draft 10cpi">Ph:
                          <xrd:InlineDocumentValue PropertyName="Phone1" />
                          <xrd:InlineDocumentValue PropertyName="Phone2" />
                          <xrd:InlineDocumentValue PropertyName="Phone3" />                       
                      </Paragraph>
                  </TableCell>
              </TableRow>
              <TableRow>
                  <TableCell>
                      <Paragraph TextAlignment="Center" FontSize="12" FontFamily="Draft 10cpi">GSTIN :
                         <xrd:InlineDocumentValue PropertyName="GSTIN" />, FLic:
                          <xrd:InlineDocumentValue PropertyName="FoodLic" />
                      </Paragraph>
                  </TableCell>
              </TableRow>
              <TableRow>
                  <TableCell>
                      <Paragraph TextAlignment="Center" FontSize="12" FontFamily="Draft 10cpi"> GOODS AND SERVICES TAX INVOICE RULES- FORM GST INV-1  
                      </Paragraph>
                  </TableCell>
              </TableRow>             
          </TableRowGroup>
       </Table>
           <Table Name="BillCustomerDet" Margin="0" CellSpacing="0" BorderBrush="Black" BorderThickness="0,1,0,1">
          <Table.Columns>
              <TableColumn Width="350" />
              <TableColumn Width="250" />
              <TableColumn Width="150" />  
          </Table.Columns>
          <TableRowGroup>
              <TableRow>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi"> 
                      <TextBlock TextTrimming="CharacterEllipsis">CUSTOMER :
                            <xrd:InlineDocumentValue PropertyName="DelLedgerName" />
                          </TextBlock>
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi">GSTIN :
                          <xrd:InlineDocumentValue PropertyName="MGSTIN" />  
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi" Padding="0,0,0,0">BILL TYPE:
                          <xrd:InlineDocumentValue PropertyName="MBillType" />                            
                      </Paragraph>
                  </TableCell>                    
              </TableRow>
          </TableRowGroup>
          <TableRowGroup>
              <TableRow>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi">
                       <TextBlock TextTrimming="CharacterEllipsis"
                      TextAlignment="Left">ADDRESS :
                     
                          <xrd:InlineDocumentValue PropertyName="DelAdd1" />,
                          <xrd:InlineDocumentValue PropertyName="DelAdd2" />,
                          <xrd:InlineDocumentValue PropertyName="DelAdd3" />  
                          </TextBlock>
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi" Padding="0,0,0,0">STATE :
                          <xrd:InlineDocumentValue PropertyName="MStateName" />  
                      </Paragraph>
                  </TableCell>
                
                  <TableCell BorderThickness="0,0,0,1">
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi" 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="Draft 10cpi">PH :
                           <xrd:InlineDocumentValue PropertyName="MMobile" />  
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi" Padding="0,0,0,0">PO Number:
                      <xrd:InlineDocumentValue PropertyName="MPurchaseOrderNumber" />
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi">INV DATE :
                          <xrd:InlineDocumentValue PropertyName="MBillDate" />
                      </Paragraph>
                  </TableCell>
                   </TableRow>
          </TableRowGroup>
      </Table>
            <Table Name="ItemHeaders" CellSpacing="0" Margin="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="11"/>
                        <Setter Property="FontFamily" Value="Draft 10cpi"/>
                        <!--<Setter Property="Background" Value="LightGray" FontFamily="Arial"/>-->
                    </Style>
                    <!-- Style for data rows. -->
                    <Style x:Key="dataRowStyle" TargetType="{x:Type TableRowGroup}">
                        <Setter Property="FontWeight" Value="DemiBold"/>
                        <Setter Property="FontFamily" Value="Draft 10cpi"/>
                        <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="28.0" />
                <TableColumn Width="200.0" />
                <TableColumn Width="37.0" />
                <TableColumn Width="45.0" />
                <TableColumn Width="65.0" />
                <TableColumn Width="90.0" />
                <TableColumn Width="70.0" />
                <TableColumn Width="50.0" />
                 <TableColumn Width="50.0" />
                <TableColumn Width="50.0" />
                <TableColumn Width="65.0" />
                </Table.Columns>
                <TableRowGroup Style="{StaticResource headerFooterRowStyle}">
                    <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">Description Of Goods
                      </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">FREE
                      </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">Description
                      </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="Center">
                          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" FontWeight="bold">
                      <Paragraph TextAlignment="Center">
                         SGST (Rate)
                      </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">Net Rate
                      </Paragraph>
                  </TableCell>-->
                  <TableCell BorderBrush="Black" BorderThickness="0,0,0,1">
                      <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>
                  <xrd:InlineTableCellValue PropertyName="ItemName" />
                    
            </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" />
                        </TextBlock>
                       </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Right">
                            <xrd:InlineTableCellValue PropertyName="Qty" AggregateGroup="Qty"/>
                        </Paragraph>
                    </TableCell>
                    
                    
                    <!--<TableCell>
                        <Paragraph TextAlignment="Right">
                            <xrd:InlineTableCellValue PropertyName="FreeQty" AggregateGroup="FreeQty"/>
                        </Paragraph>
                    </TableCell> -->
                    <TableCell>
                        <Paragraph TextAlignment="Right">
                            <xrd:InlineTableCellValue PropertyName="InputRate" />
                        </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Left">
                            <xrd:InlineTableCellValue PropertyName="AddlDiscription" AggregateGroup="AddlDiscription" />  
                        </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="MNetTotal" AggregateGroup="MItemNetAmount"/>
                        </Paragraph>
                    </TableCell>-->
                    <TableCell>
                        <Paragraph TextAlignment="Right">
                         <xrd:InlineTableCellValue PropertyName="LineTotal" AggregateGroup="LineTotal"/>
                            
                        </Paragraph>
                    </TableCell>
                </xrd:TableRowForDataTable>
         </TableRowGroup>
              </Table>     
              
             <Table Name="ItemTotals" Margin="0,0,20,0" CellSpacing="0" BorderBrush="Black" BorderThickness="0,1,0,1">
            <Table.Columns>
            <TableColumn Width="306" />
            <TableColumn Width="145" />
            <TableColumn Width="84" />
            <TableColumn Width="100" />
		        <TableColumn Width="50" />
		        <TableColumn Width="65" />
            </Table.Columns>
            <TableRowGroup>
                <TableRow>
                 
                    <TableCell>
                            <Paragraph TextAlignment="Right" FontSize="13" FontFamily="Draft 10cpi">
                                <xrd:InlineAggregateValue AggregateGroup="Qty" AggregateValueType="Sum" EmptyValue="0"  />
                            </Paragraph>
                    </TableCell>
                  <TableCell>
                            <Paragraph TextAlignment="Right" FontSize="13" FontFamily="Draft 10cpi">
                              <!-- <xrd:InlineAggregateValue AggregateGroup="LineDiscountAmountTot" AggregateValueType="Sum" EmptyValue="0" />-->
                            </Paragraph>
                    </TableCell>
                    <TableCell>
                            <Paragraph TextAlignment="Right" FontSize="13" FontFamily="Draft 10cpi">
                            <xrd:InlineDocumentValue PropertyName="MTaxableAmt"/>
                            </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Right" FontSize="13" FontFamily="Draft 10cpi"> 
                           <xrd:InlineAggregateValue AggregateGroup="CGST-ComputedAmt" AggregateValueType="Sum" EmptyValue="0"  />

                        </Paragraph>
                    </TableCell>
                  <TableCell>
                        <Paragraph TextAlignment="Right" FontSize="13" FontFamily="Draft 10cpi"> 
                           <xrd:InlineAggregateValue AggregateGroup="SGST-ComputedAmt" AggregateValueType="Sum" EmptyValue="0"  />

                        </Paragraph>
                    </TableCell>
		                <TableCell>
                        <Paragraph TextAlignment="Right" FontSize="13" FontFamily="Draft 10cpi"> 
                           <xrd:InlineAggregateValue AggregateGroup="LineTotal" AggregateValueType="Sum" EmptyValue="0"  />

                        </Paragraph>
                    </TableCell>
                    
		                
                </TableRow>
            </TableRowGroup>
        </Table>
        
         <Table Name="CGSTsplitup"  Margin="0,0,0,0" Padding="0,0,0,0" CellSpacing="0" BorderBrush="Black" BorderThickness="0,0,0,0">
            <Table.Columns>
                <TableColumn Width="150" />
                <TableColumn Width="150" />
                <TableColumn Width="150" />
                <TableColumn Width="150" />
                <TableColumn Width="150" />
            </Table.Columns>
            <TableRowGroup>
                
               <TableRow>
                    <TableCell FontWeight="bold">
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi">CGST 2.5% :     
                        <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST5" />
                        </Paragraph>
                    </TableCell>
                    <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi">CGST 6%:
                            <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST12" />                   
                        </Paragraph>
                     </TableCell>
                     <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi">CGST 9%:
                            <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST18" />                   
                        </Paragraph>
                     </TableCell>
                    <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Draft 10cpi">CGST 14%:
                            <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST28" /> 
                        </Paragraph>
                    </TableCell>
                    <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Draft 10cpi">GST 0%:
                            <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST0" /> 
                        </Paragraph>
                    </TableCell>
                  
               </TableRow>
                </TableRowGroup>
                </Table>
                <Table Name="SGSTsplitup"  Margin="0,0,0,0" Padding="0,0,0,0" CellSpacing="0" BorderBrush="Black" BorderThickness="0,0,0,0">
            <Table.Columns>
                <TableColumn Width="150" />
                <TableColumn Width="150" />
                <TableColumn Width="150" />
                <TableColumn Width="150" />
                <TableColumn Width="150" />
                
            </Table.Columns>
            <TableRowGroup>
                
               <TableRow>
                   <TableCell FontWeight="bold">
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi">SGST 2.5% :     
                        <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST5" />
                        </Paragraph>
                    </TableCell>
                    <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi">SGST 6%:
                            <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST12" />                   
                        </Paragraph>
                     </TableCell>
                     <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi">SGST 9%:
                            <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST18" />                   
                        </Paragraph>
                     </TableCell>
                    <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Draft 10cpi">SGST 14%:
                            <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST28" /> 
                        </Paragraph>
                    </TableCell>
                    <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Draft 10cpi">
                        </Paragraph>
                    </TableCell>
               </TableRow>
                </TableRowGroup>
                </Table>
                
                
                 <Table Name="LedgerTotals"  Margin="0,0,0,0" Padding="0,0,0,0" CellSpacing="0" BorderBrush="Black" BorderThickness="0,1,0,0">
            <Table.Columns>
                <TableColumn Width="240" />
                <TableColumn Width="167" />
                <TableColumn Width="143" />
                <TableColumn Width="200" />
            </Table.Columns>
            <TableRowGroup>
                
               <TableRow>
                    <TableCell FontWeight="bold">
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi">  
                       <!-- <xrd:InlineDocumentValue PropertyName="OUTPUTCESSONSALESCESS12" />-->
                        </Paragraph>
                    </TableCell>
                    <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi">   
                            <!--<xrd:InlineDocumentValue PropertyName="MSchemeTotal" />   -->                
                        </Paragraph>
                     </TableCell>
                     <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi">
                            <!--<xrd:InlineDocumentValue PropertyName="MOtherDiscounts" />      -->             
                        </Paragraph>
                     </TableCell>
                    <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Draft 10cpi">ROUND OFF :
                            <xrd:InlineDocumentValue PropertyName="MRoundOFF" /> 
                        </Paragraph>
                    </TableCell>
               </TableRow>
                </TableRowGroup>
                </Table>
                
                <Table Name="LedgerGrandTotals"  Margin="0,0,0,0" Padding="0,0,0,0" CellSpacing="0" BorderBrush="Black" BorderThickness="0,0,0,0">
            <Table.Columns>
                <TableColumn Width="420" />
                <TableColumn Width="330" />
            </Table.Columns>
            <TableRowGroup>
               <TableRow>
                    <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi">TOTAL:
                            <xrd:InlineDocumentValue PropertyName="AmountInWords" />
                        </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Right" FontSize="16" FontFamily="Draft 10cpi" FontWeight="Bold"> GRAND TOTAL :
                            <xrd:InlineDocumentValue PropertyName="MGrandTotal" />
                        </Paragraph>
                    </TableCell> 			                   
                </TableRow>
            </TableRowGroup>
        </Table>
        
        
        <Table Name="BillDeclaration" Margin="0" Padding="0,0,0,0" CellSpacing="0">
            <Table.Columns>
                <TableColumn Width="700" />
                <TableColumn Width="*" />
                 <TableColumn Width="*" />
            </Table.Columns>
            <TableRowGroup>
                <TableRow>
                    <TableCell BorderThickness="0,1,0,0">
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi"><Bold>On</Bold>
                           <xrd:InlineDocumentValue PropertyName="PrintDate" Format="HH:mm:ss"/>
                        </Paragraph>
                    </TableCell>
                </TableRow>
                <TableRow>
                    <TableCell>
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi">
                        </Paragraph>
                    </TableCell>
                </TableRow>
                <TableRow>
                    <TableCell>
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi">Vechicle No:
                        <xrd:InlineDocumentValue PropertyName="MVehicleNumber" />
                        </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="Draft 10cpi">
                        </Paragraph>
                    </TableCell>
                </TableRow>                
                <TableRow>
                    <TableCell>
                        <Paragraph TextAlignment="Left" FontSize="14" FontFamily="Draft 10cpi">Received in good condition
                        </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Left" FontSize="14" FontFamily="Draft 10cpi">Party Signature
                        </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Left" FontSize="14" FontFamily="Draft 10cpi">For :
                            <xrd:InlineDocumentValue PropertyName="FirmName" />
                        </Paragraph>
                    </TableCell>                    
                </TableRow>
            </TableRowGroup>
        </Table>
                
                
                
                 
           <!--<Table Name="LedgerTotals"  Margin="0,0,0,0" Padding="0,0,0,0" CellSpacing="0" BorderBrush="Black" BorderThickness="0,1,0,0">
         <Table.Columns>
                <TableColumn Width="430" />
                <TableColumn Width="750" />
            </Table.Columns>
            <TableRowGroup>
               <TableRow>                            
                  <TableCell>
                        <Paragraph FontWeight="BOLD" TextAlignment="Left" FontSize="13" FontFamily="Draft 10cpi"> CGST : 
                           <xrd:InlineAggregateValue AggregateGroup="CGST-ComputedAmt" AggregateValueType="Sum" EmptyValue="0"  />
                        </Paragraph>
                    </TableCell> 
                    </TableRow>
                    <TableRow>                   
                    <TableCell>
                        <Paragraph FontWeight="BOLD" TextAlignment="Left" FontSize="13" FontFamily="Draft 10cpi"> SGST : 
                           <xrd:InlineAggregateValue AggregateGroup="SGST-ComputedAmt" AggregateValueType="Sum" EmptyValue="0"  />
                        </Paragraph> 
                    </TableCell>
                   <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Right" FontSize="12" FontFamily="Draft 10cpi">ROUND OFF :
                            <xrd:InlineDocumentValue PropertyName="MRoundOFF" /> 
                        </Paragraph>
                    </TableCell>
               </TableRow>
            </TableRowGroup>  
        </Table>
        <Table Name="LedgerGrandTotals"  Margin="0,0,0,0" Padding="0,0,0,0" CellSpacing="0" BorderBrush="Black" BorderThickness="0,0,0,1">
            <Table.Columns>
                <TableColumn Width="420" />
                <TableColumn Width="330" />                
            </Table.Columns>
            <TableRowGroup>
               <TableRow>
                    <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Draft 10cpi">TOTAL:
                            <xrd:InlineDocumentValue PropertyName="AmountInWords" />
                        </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Right" FontSize="16" FontFamily="Draft 10cpi" FontWeight="Bold"> GRAND TOTAL :
                            <xrd:InlineDocumentValue PropertyName="MGrandTotal" />
                        </Paragraph>
                    </TableCell> 			                   
                </TableRow>
            </TableRowGroup>
        </Table>
            <Table Name="BillDeclaration" Margin="0" Padding="0,0,0,0" CellSpacing="0">
                <Table.Columns>
                    <TableColumn Width="260" />
                    <TableColumn Width="*" />
                </Table.Columns>
                <TableRowGroup>
                    <TableRow>
                        <TableCell>
                            <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Arial" FontWeight="SemiBold">Tax Codes
                            </Paragraph>
                        </TableCell>
                    </TableRow>
                    </TableRowGroup>
                    </Table>
            <Table Name="BillDeclaration" Margin="0" Padding="0,0,0,0" CellSpacing="0">
                <Table.Columns>
                    <TableColumn Width="260" />
                    <TableColumn Width="*" />
                </Table.Columns>
                <TableRowGroup>
                    <TableRow>
                        <TableCell>
                            <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Arial" FontWeight="SemiBold">Return of Sold Goods after 15 days shall not acceptable 
                            </Paragraph>
                        </TableCell>
                    </TableRow>
                   <TableRow>
                        <TableCell>
                            <Paragraph TextAlignment="Left" FontSize="10" FontWeight="Bold" FontFamily="Arial">! - 0% ,@ - 12% ,# - 5% ,$ - 18% ,% - 28%
                            </Paragraph>
                        </TableCell>
                    </TableRow>
                    <TableRow>
                        <TableCell>
                            <Paragraph TextAlignment="Left" FontSize="10" FontWeight="Bold" FontFamily="Arial" FontStyle="Italic">Tax Amount Included
                            </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="Draft 10cpi">
                        </Paragraph>
                    </TableCell>
                </TableRow>                
                <TableRow>
                    <TableCell>
                        <Paragraph TextAlignment="Left" FontSize="14" FontFamily="Draft 10cpi">Received in good condition
                        </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Left" FontSize="14" FontFamily="Draft 10cpi">Party Signature
                        </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Left" FontSize="14" FontFamily="Draft 10cpi">For :
                            <xrd:InlineDocumentValue PropertyName="FirmName" />
                        </Paragraph>
                    </TableCell>                    
                </TableRow>
            </TableRowGroup>
        </Table>-->
        </xrd:SectionDataGroup>
    </Section>
</FlowDocument>
