Jump to content

GST and TAX have to add in website india tax


mohith kumar

Recommended Posts

I do not think there are free modules to do this. I created the taxes and showed them in a GST compliant way by editing the invoice template files, it's not very hard.

You can add new columns to the tax tab or the product tab to show the GST and the subtaxes. You can also edit the default table width, column widths etc in the style tab.

Here is a part of my tpl file:

<!--INTERSTATE GST-->
<!--CGST, col-8-->
<td class="product right">0%</td>
<!--SGST, col-9-->
<td class="product right">0%</td>
<!--IGST, col-10-->
<td class="product right">
{if $order_detail.order_detail_tax_label>0}
	{$order_detail.order_detail_tax_label}
{else}
	0%
{/if}
<!--GST in %, col-11-->
<td class="product center">
{if $order_detail.order_detail_tax_label>0}
	{$order_detail.order_detail_tax_label}
{else}
	0%
{/if}
</td>
<!--GST INR, col-13-->
<td class="product center">
   {displayPrice currency=$order_detail->id_currency price=$order_detail.total_price_tax_incl-$order_detail.total_price_tax_excl}
</td>

Hope this was helpful.

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
On 09/01/2018 at 6:33 PM, prak said:

I do not think there are free modules to do this. I created the taxes and showed them in a GST compliant way by editing the invoice template files, it's not very hard.

You can add new columns to the tax tab or the product tab to show the GST and the subtaxes. You can also edit the default table width, column widths etc in the style tab.

Here is a part of my tpl file:


<!--INTERSTATE GST-->
<!--CGST, col-8-->
<td class="product right">0%</td>
<!--SGST, col-9-->
<td class="product right">0%</td>
<!--IGST, col-10-->
<td class="product right">
{if $order_detail.order_detail_tax_label>0}
	{$order_detail.order_detail_tax_label}
{else}
	0%
{/if}
<!--GST in %, col-11-->
<td class="product center">
{if $order_detail.order_detail_tax_label>0}
	{$order_detail.order_detail_tax_label}
{else}
	0%
{/if}
</td>
<!--GST INR, col-13-->
<td class="product center">
   {displayPrice currency=$order_detail->id_currency price=$order_detail.total_price_tax_incl-$order_detail.total_price_tax_excl}
</td>

Hope this was helpful.

can you please let me know where to insert these code?

Link to comment
Share on other sites

  • 2 weeks later...
On 2/26/2018 at 12:56 PM, [email protected] said:

Do you know how to put the correct Tax label like IGST or SGST or CGST in the invoice..

5a93b631bc0e2_TaxeswiththeirLabelsintheInvoice.jpg.e154c69d35153e29b21ceb5a6ffe8516.jpg

================

Currently I have defined the Taxes in the Backend like this.

5a93b66eaab77_TaxeswiththeirLabels.jpg.4f07245c175fdff9e0936194b824d15d.jpg

Thanks in advance

 

I'm using Prestashop 1.6.1.17

 

 

If you are using multiple taxes unlike me, I just used a base tax and broke it down differently according to the order address, I think you need to edit the invoice.tax-tab.tpl file. Best create a pdf directory in your theme and populate  it with custom tpl files than edit the core prestashop pdf files.

Link to comment
Share on other sites

  • 1 month later...
On 5/1/2018 at 11:36 AM, prak said:

If you are using multiple taxes unlike me, I just used a base tax and broke it down differently according to the order address, I think you need to edit the invoice.tax-tab.tpl file. Best create a pdf directory in your theme and populate  it with custom tpl files than edit the core prestashop pdf files.

under which line have to insert this code?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...