Adding Taxes to the bill receipt

Table of Contents

This document will guide you in adding tax details to the bill receipts

Procedure #

  1. Administration Menu > Stock > Tax Categories
  2. Click on the + icon from top menu and create a new Tax Category GST (5%)
  3. Administration Menu > Stock > Taxes
  4. Create a new Tax (Parent Tax)
    Name: GST-5
    Tax Category: GST (5%)
    Rate: 5%
    Click on the + icon from top Menu (GST-5 will be added to the left side list)
  5. Create a new Tax
    Name: CGST (2.5%)
    Tax Category: GST (5%)
    Parent Tax: GST-5
    Rate: 2.5%
    Click on the + icon from top Menu (CGST (2.5%) will be added to the left side list)
  6. Create a new Tax
    Name: SGST (2.5%)
    Tax Category: GST (5%)
    Parent Tax: GST-5
    Rate: 2.5%
    Click on the + icon from top Menu (SGST (2.5%) will be added to the left side list)
  7. Administration Menu > Maintenance > Resources
  8. Under Resources click Printer.TicketExample from the left side Menu
  9. Copy below lines
        
        if($ticket.getTax()>0)
        <line></line>
        #foreach($taxinfo in $taxes)
        #set($taxline = $ticket.getTaxLine($taxinfo))
        #if($taxline.getTax()>0)
        <line>
        <text align="left" length="24">${taxline.getTaxInfo()}</text>
        <text align="right" length="12">${taxline.printSubTotal()}</text>
        <text align="right" length="12">${taxline.printTax()}</text>
        </line>
        #end
        #end
        <line> </line>
            <line>
                <text align="left" length="16">Subtotal.</text>
                <text align="right" length="32">${ticket.printSubTotal()}</text>
            </line>
            <line>
                <text align="left" length="16">Taxes.</text>
                <text align="right" length="32">${ticket.printTax()}</text>
            </line>
         #end

10. Under Resources click Printer.Ticket and replace the existing lines between <!– TAXES START –> and <!– TAXES END –> with the lines copied from step 9 and click the save button from the top menu bar

11. Under Resources click Printer.TicketPreview and replace the existing lines between <!– TAXES START –> and <!– TAXES END –> with the lines copied from step 9 and click the save button from the top menu bar

12. Restart the system

0 Comments

Leave a Reply

Arrow-up