<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="21cm">
    <xrd:ReportProperties>
    </xrd:ReportProperties>
    <xrd:SectionReportHeader PageHeaderHeight="17" Padding="20,20,0,0" FontSize="12">
    <Table Name="BillPageNumber" CellSpacing="0" Margin="0">
          <Table.Columns>
              <TableColumn Width="200" />
              <TableColumn Width="530" />
          </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" />,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 Padding="0,5,0,0">
                      <Paragraph TextAlignment="Center" FontSize="12" FontFamily="Times New Roman" FontWeight="BOLD"> DELIVERY NOTE
                      </Paragraph>
                  </TableCell>
              </TableRow>
             
          </TableRowGroup>
       </Table>
    <Table Name="BillCustomerDet" Margin="0" Padding="0,10,0,0" CellSpacing="0" BorderBrush="Black" BorderThickness="0,0,0,0">
          <Table.Columns>
              <TableColumn Width="50" />
               <TableColumn Width="10" />
                <TableColumn Width="350" />
              <TableColumn Width="65" />
               <TableColumn Width="10" />
                <TableColumn Width="135" />
              <TableColumn Width="50" />  
               <TableColumn Width="10" />  
                <TableColumn Width="110" />  
          </Table.Columns>
          <TableRowGroup>
              <TableRow>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman"> 
                      <TextBlock TextTrimming="CharacterEllipsis">Customer
                          </TextBlock>
                      </Paragraph>
                  </TableCell>
                   <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman"> :
                      </Paragraph>
                  </TableCell>
                   <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman"> 
                      <TextBlock TextTrimming="CharacterEllipsis">
                            <xrd:InlineDocumentValue PropertyName="MCustname" />
                          </TextBlock>
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman">GSTIN
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman">:
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman">
                          <xrd:InlineDocumentValue PropertyName="MGSTIN" />  
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman" Padding="0,0,0,0">Bill Type
                      </Paragraph>
                  </TableCell>  
                   <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman" Padding="0,0,0,0">:
                      </Paragraph>
                  </TableCell>           
                   <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman" Padding="0,0,0,0">
                          <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
                          </TextBlock>
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman">:
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman">
                       <TextBlock TextTrimming="CharacterEllipsis"
                      TextAlignment="Left">
                          <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
                      </Paragraph>
                  </TableCell>
                 <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman" Padding="0,0,0,0">:
                      </Paragraph>
                  </TableCell>
                   <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman" Padding="0,0,0,0">
                          <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"> DEL No.
                      </Paragraph>
                  </TableCell>
                   <TableCell BorderThickness="0,0,0,1">
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman" Padding="0,0,0,0"> :
                      </Paragraph>
                  </TableCell>
                   <TableCell BorderThickness="0,0,0,1">
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman" Padding="0,0,0,0">
                          <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 
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman">:
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman">
                           <xrd:InlineDocumentValue PropertyName="MMobile" />  
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman" Padding="0,0,0,0">PO Number
                      </Paragraph>
                  </TableCell>
                   <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman" Padding="0,0,0,0">:
                      </Paragraph>
                  </TableCell>
                   <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman" Padding="0,0,0,0">
                      <xrd:InlineDocumentValue PropertyName="MPurchaseOrderNumber" />
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman">DEL Date
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman">:
                      </Paragraph>
                  </TableCell>
                  <TableCell>
                      <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman">
                          <xrd:InlineDocumentValue PropertyName="MBillDate" />
                      </Paragraph>
                  </TableCell>
                   </TableRow>
          </TableRowGroup>
      </Table>
        <Table Name="Line1"  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="230" />              
            </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">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">------------------------------------------ 
                                             
                        </Paragraph>
                     </TableCell>
                     <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">---------------------------------------------------------------------
                        </Paragraph>
                    </TableCell>                  
               </TableRow>
               </TableRowGroup>
       </Table>
         <Table Name="ItemHeaders" CellSpacing="0" Padding="0,10,0,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="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="12"/>  
                  <Setter Property="FontWeight" Value="DemiBold"/>
              </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="180.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="40.0" />
                
                 <TableColumn Width="45.0" />
                <TableColumn Width="45.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="Left">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">
                        <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="20" 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="400" />
            <TableColumn Width="70" />
            <!--<TableColumn Width="60" />-->
            <TableColumn Width="80" />
            <TableColumn Width="75" />
		        <TableColumn Width="50" />
		        <TableColumn Width="65" />
            </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>
       <Table.Columns>
       <TableColumn Width="700" />
       </Table.Columns>
       <TableRowGroup>
        <TableRow>
                <TableCell>
                <Paragraph>
                </Paragraph>
                </TableCell>
                </TableRow>
       </TableRowGroup>
       </Table>-->
        <Table Name="Line2"  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="225" />              
            </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">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">------------------------------------------ 
                                             
                        </Paragraph>
                     </TableCell>
                     <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">-------------------------------------------------------------------
                        </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="60" />
                <TableColumn Width="10" />
                <TableColumn Width="130" />
                <TableColumn Width="60" />
                 <TableColumn Width="10" />
                <TableColumn Width="90"/>
                <TableColumn Width="70" />
                 <TableColumn Width="10" />
                  <TableColumn Width="80" />
                  <TableColumn Width="110" />     
                   <TableColumn Width="10" />   
                    <TableColumn Width="90" />   
            </Table.Columns>
            <TableRowGroup>
               <TableRow>
               <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                       <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Times New Roman"> BANK
                        </Paragraph>
                     </TableCell>
                     <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                       <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Times New Roman">:        
                        </Paragraph>
                     </TableCell>
                     <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                       <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Times New Roman"> SOUTH INDIAN BANK             
                        </Paragraph>
                     </TableCell>
                    <TableCell FontWeight="bold">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">SGST 2.5%
                        </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">   
                        <xrd:InlineDocumentValue PropertyName="OUTPUTSGSTONSALESGST5" />
                        </Paragraph>
                    </TableCell>
                    <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">CGST 2.5%
                        </Paragraph>
                     </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman">   :                   
                        </Paragraph>
                     </TableCell>
                      <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">
                            <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST5" />                   
                        </Paragraph>
                     </TableCell>
                     <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">SCHEME TOTAL
                        </Paragraph>
                    </TableCell>
                   <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                        <Paragraph TextAlignment="Center" 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">
                           <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="60" />
                <TableColumn Width="10" />
                <TableColumn Width="130" />
                <TableColumn Width="60" />
                 <TableColumn Width="10" />
                <TableColumn Width="90"/>
                <TableColumn Width="70" />
                 <TableColumn Width="10" />
                  <TableColumn Width="80" />
                  <TableColumn Width="110" />     
                   <TableColumn Width="10" />   
                    <TableColumn Width="90" />   
            </Table.Columns>
            <TableRowGroup>
                
               <TableRow>
                <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                       <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Times New Roman"> BRANCH               
                        </Paragraph>
                     </TableCell>
                     <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                       <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Times New Roman">:         
                        </Paragraph>
                     </TableCell>
                     <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                       <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Times New Roman"> PATTIMATTOM                
                        </Paragraph>
                     </TableCell>
                   <TableCell FontWeight="bold">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">SGST 6% 
                        </Paragraph>
                    </TableCell>
                    <TableCell>
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman">:
                        </Paragraph>
                    </TableCell>
                    <TableCell FontWeight="bold">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">
                        <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST12" />
                        </Paragraph>
                    </TableCell>
                    <TableCell FontWeight="bold">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">CGST 6% 
                        </Paragraph>
                    </TableCell>  
                     <TableCell>
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman">:
                        </Paragraph>
                    </TableCell>
                    <TableCell FontWeight="bold">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">
                        <xrd:InlineDocumentValue PropertyName="OUTPUTSGSTONSALESGST12" />
                        </Paragraph>
                    </TableCell>  
                     <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">DISC AFTER TAX 
                        </Paragraph>
                    </TableCell>
                    	 <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                        <Paragraph TextAlignment="Center" 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">
                           <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="60" />
                <TableColumn Width="10" />
                <TableColumn Width="130" />
                <TableColumn Width="60" />
                 <TableColumn Width="10" />
                <TableColumn Width="90"/>
                <TableColumn Width="70" />
                 <TableColumn Width="10" />
                  <TableColumn Width="80" />
                  <TableColumn Width="110" />     
                   <TableColumn Width="10" />   
                    <TableColumn Width="90" />   
                </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
                        </Paragraph>
                     </TableCell>
                      <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                       <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Times New Roman">:
                        </Paragraph>
                     </TableCell>
                      <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                       <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Times New Roman">99999999999999999               
                        </Paragraph>
                     </TableCell>
                    <TableCell FontWeight="bold">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">SGST 9% 
                        </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">
                        <xrd:InlineDocumentValue PropertyName="OUTPUTSGSTONSALESGST18" />
                        </Paragraph>
                    </TableCell>
                   <TableCell FontWeight="bold">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">CGST 9% 
                        </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">
                        <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST18" />
                        </Paragraph>
                    </TableCell>
                     <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0" >
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">ROUND OFF 
                        </Paragraph>
                    </TableCell>
                   <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0" >
                        <Paragraph TextAlignment="Center" 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">
                            <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="60" />
                <TableColumn Width="10" />
                <TableColumn Width="130" />
                <TableColumn Width="60" />
                 <TableColumn Width="10" />
                <TableColumn Width="90"/>
                <TableColumn Width="70" />
                 <TableColumn Width="10" />
                  <TableColumn Width="80" />
                  <TableColumn Width="110" />     
                   <TableColumn Width="10" />   
                    <TableColumn Width="90" />   
                   </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
                        </Paragraph>
                     </TableCell>
                     <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                       <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Times New Roman">:
                        </Paragraph>
                     </TableCell>
                     <TableCell FontWeight="BOLD" BorderBrush="black" BorderThickness="0,0,0,0">
                       <Paragraph TextAlignment="Left" FontSize="11" FontFamily="Times New Roman"> SIBL0000636              
                        </Paragraph>
                     </TableCell>
                   <TableCell FontWeight="bold">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">SGST 14%
                        </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">
                        <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST28" />
                        </Paragraph>
                    </TableCell>
                    <TableCell FontWeight="BOLD">
                        <Paragraph TextAlignment="Left" FontSize="10" FontFamily="Times New Roman">CGST 14%
                        </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">
                            <xrd:InlineDocumentValue PropertyName="OUTPUTCGSTONSALESGST28" />                   
                        </Paragraph>
                     </TableCell>
                      <TableCell  FontWeight="bold" BorderBrush="black" BorderThickness="0,0,0,0">
                        <Paragraph TextAlignment="Left" FontSize="15" FontFamily="Times New Roman" FontWeight="Bold">GRAND TOTAL 
                        </Paragraph>
                    </TableCell>	
                  <TableCell BorderBrush="black" BorderThickness="0,0,0,0">
                        <Paragraph TextAlignment="Center" FontSize="15" FontFamily="Times New Roman">:
                        </Paragraph>
                    </TableCell>	
                    <TableCell  FontWeight="bold" BorderBrush="black" BorderThickness="0,0,0,0">
                        <Paragraph TextAlignment="Right" FontSize="15" FontFamily="Times New Roman" FontWeight="Bold">
                            <xrd:InlineDocumentValue PropertyName="MGrandTotal" />
                        </Paragraph>
                    </TableCell>	
               </TableRow>
                </TableRowGroup>
                </Table>
                <Table Name="Amountinwords"  Margin="0,0,25,0" Padding="0,0,0,0" CellSpacing="0" BorderBrush="Black" BorderThickness="0,0,0,1">
            <Table.Columns>                
                  <TableColumn Width="*" />
                   </Table.Columns>
                <TableRowGroup>
                <TableRow>                    
                      <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 Margin="0,0,25,0">
              <Table.Columns>                
                  <TableColumn Width="*" />
                   </Table.Columns>
             <TableRowGroup>
              <TableRow>
                    <TableCell BorderThickness="0,0,0,0">
                        <Paragraph TextAlignment="Left" FontSize="12" FontFamily="Times New Roman"><Bold>Terms and Conditions:</Bold>Certified that all particulars shown in the above delivery note 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="180.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="40.0" />
                
                 <TableColumn Width="45.0" />
                <TableColumn Width="45.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>

