Re: Implementing GST tax in Ofbiz - CGST , SGST , IGST

2017-10-13 Thread Rajesh Mallah
Thanks Vaibhav for the reply , Although we have been asked to move this discussion to dev ML . [ apologies for that ;-) ] bypassing HSN is just a temporary arrangement as our product line has a fixed HSN code , so we have keep the rate at flat 9% or 18%. The ability to have different tax rates for

Re: Implementing GST tax in Ofbiz - CGST , SGST , IGST

2017-10-12 Thread Vaibhav Jain
Please check inline On Thu, Oct 12, 2017 at 8:43 PM, Rajesh Mallah wrote: > Thanks Vaibhav for the notes regarding the HSN . Currently we are not > handling > HSN in our installation as most of our products are under same hsn. > I am just curious to know how you can calculate tax without using H

Re: Implementing GST tax in Ofbiz - CGST , SGST , IGST

2017-10-12 Thread Rajesh Mallah
Thanks Vaibhav for the notes regarding the HSN . Currently we are not handling HSN in our installation as most of our products are under same hsn. Although The handling of ORIG_LOCATION and DEST_LOCATION has been done. As we know GST in India is based on ORIG_LOCATION and DEST_LOCATION and is cur

Re: Implementing GST tax in Ofbiz - CGST , SGST , IGST

2017-10-11 Thread Vaibhav Jain
Hello Rajesh/Everyone, GST(India) can be implemented in OFBiz as follow: After GST tax will apply on the basis of HSN code of product not on the product directly. So we can associate HSN code with tax slab in ProductCategoryRollup entity like As we need to define tax slab, ProductCategory enti

Re: Implementing GST tax in Ofbiz - CGST , SGST , IGST

2017-10-11 Thread innate Genius
+1 This is a must and would help a lot in terms of ease of adoption for new users. Regards, Pratiek > On 12-Oct-2017, at 3:01 AM, Jacques Le Roux > wrote: > > Thanks Rajesh, Deepak, > > Please guys open a thread on dev ML to continue there > > Thanks > > Jacques > > > Le 11/10/2017 à

Re: Implementing GST tax in Ofbiz - CGST , SGST , IGST

2017-10-11 Thread Jacques Le Roux
Thanks Rajesh, Deepak, Please guys open a thread on dev ML to continue there Thanks Jacques Le 11/10/2017 à 20:07, Deepak Dixit a écrit : I think we can make it configurable, we can get the tax calculation service dynamically and it can be configured based on store, like ProductStoreTaxSetti

Re: Implementing GST tax in Ofbiz - CGST , SGST , IGST

2017-10-11 Thread Deepak Dixit
I think we can make it configurable, we can get the tax calculation service dynamically and it can be configured based on store, like ProductStoreTaxSetting (or better name) this will contains tax calculation service name for specific store if its not configured system will use rateProductTaxCalc a

Re: Implementing GST tax in Ofbiz - CGST , SGST , IGST

2017-10-11 Thread Rajesh Mallah
Hi Jacques , The patch is quite simple and we would readily contribute. I am sure many Indian adopters would have already developed it for their installations. But without generalising it , it is difficult to convert it to a patch for OOTB feature set. At the same time GST is too important her

Re: Implementing GST tax in Ofbiz - CGST , SGST , IGST

2017-10-11 Thread Jacques Le Roux
Hi Rajesh, What you need does not exist. If it could be generalised and used all over the world that would be perfect. This need to be discussed in dev ML in order for everybody to agree (or at least get a consensus) and so avoid wasting time Then we can create a Jira and if possible attach a

Re: Implementing GST tax in Ofbiz - CGST , SGST , IGST

2017-10-11 Thread Rajesh Mallah
Hello Deepak / Everyone , We have been able to achieve the selective application of taxes by modifying the service calcTax ( java function: rateProductTaxCalc ) it works as expected. The logic works by removing those taxes which are not applicable as per the situation (ie based on Shipping addres

Re: Implementing GST tax in Ofbiz - CGST , SGST , IGST

2017-10-09 Thread Deepak Dixit
Sure , Please let us know if you face any issue. :) Thanks & Regards -- Deepak Dixit www.hotwaxsystems.com www.hotwax.co On Tue, Oct 10, 2017 at 12:21 AM, Rajesh Mallah wrote: > Thanks it helps. Shall give it a shot. > > regds > mallah. > > On Tue, Oct 10, 2017 at 12:01 AM, Deepak Dixit < > de

Re: Implementing GST tax in Ofbiz - CGST , SGST , IGST

2017-10-09 Thread Rajesh Mallah
Thanks it helps. Shall give it a shot. regds mallah. On Tue, Oct 10, 2017 at 12:01 AM, Deepak Dixit < deepak.di...@hotwaxsystems.com> wrote: > Hi Rajesh, > > There are two way, > > 1. You can do changes in applications/accounting/src/ > main/java/org/apache/ofbiz/accounting/tax/TaxAuthorityServi

Re: Implementing GST tax in Ofbiz - CGST , SGST , IGST

2017-10-09 Thread Deepak Dixit
Hi Rajesh, There are two way, 1. You can do changes in applications/accounting/src/ main/java/org/apache/ofbiz/accounting/tax/TaxAuthorityServices.java and create patch and maintain it in your custom component. 2. You can override service calTax and/or related services/method in your custom compo

Re: Implementing GST tax in Ofbiz - CGST , SGST , IGST

2017-10-09 Thread Rajesh Mallah
Thanks Deepak , Appreciate your response. I had a glance over applications/accounting/servicedef/services_tax.xml & applications/accounting/src/main/java/org/apache/ofbiz/accounting/tax/TaxAuthorityServices.java looks encouraging! how should the change be managed to survive ofbiz upgrades? are

Re: Implementing GST tax in Ofbiz - CGST , SGST , IGST

2017-10-09 Thread Deepak Dixit
For drop ship order you can setup supplier address with purpose SHIP_ORIG_LOCATION and shipping from facility you can use facility address as fromAddress to calculate GST. Thanks & Regards -- Deepak Dixit www.hotwaxsystems.com www.hotwax.co On Mon, Oct 9, 2017 at 11:31 PM, Deepak Dixit < deepak.d

Re: Implementing GST tax in Ofbiz - CGST , SGST , IGST

2017-10-09 Thread Deepak Dixit
Hi Rajesh, To calculate GST you need to write custom calc tax service, that honor the shipFrom address as well. GST is common but how to calculate GST is different, As per Indian context GST is calculated based on shipFrom and ShipTo address. You need some changes in calcTax service and getTaxAut

Re: Implementing GST tax in Ofbiz - CGST , SGST , IGST

2017-10-09 Thread Rajesh Mallah
We find that most of logic of Tax is in: applications/accounting/src/main/java/org/apache/ofbiz/accounting/tax/TaxAuthorityServices.java can/should we modify it as per our need or there is a better/easier way? As GST requirement is very common(universal) now in India , i am curious how people hav

Implementing GST tax in Ofbiz - CGST , SGST , IGST

2017-10-09 Thread Rajesh Mallah
Hi , I need help regarding how to apply taxes broadly based on the fact whether the supplier and consumer are in same state or not. We are able to apply taxes based on GEO ID of the customer but what is really required is the below: If Supplier.state == Customer.state add adjustment SGST