Moving discussion to DEV list
==========================================================

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

<ProductCategoryRollup productCategoryId="HSN_XXXXXX"
parentProductCategoryId="TAX_SLAB" fromDate="2017-07-01 12:00:00.0"
sequenceNum="1"/>

As we need to define tax slab, ProductCategory entity can be used to
categorise the tax slabs like

<ProductCategory productCategoryId="TAX_SLAB"
productCategoryTypeId="TAX_CATEGORY"
description="5.00 %" categoryName="5.00 %"/>

Now tax slab is associated with HSN. So, product will be associated with
HSN code in ProductCategoryMember entity like

<ProductCategoryMember productCategoryId="HSN_300310" productId="XXXXXXXX"
fromDate="2001-01-01 12:00:00.000"/>

 All the HSN code can be stored in ProductCategory entity

<ProductCategory productCategoryId="HSN_XXXXXX"
productCategoryTypeId="HSN_CATEGORY"
categoryName="XXXXXX" description="Cheese and curd"/>

Tax authority can be stored in PartyTaxAuthInfo entity like

<PartyTaxAuthInfo partyId="COMPANY" taxAuthGeoId="_NA_"
taxAuthPartyId="IGST" fromDate="2017-06-01 00:00:00.0" isNexus="Y"
partyTaxId="XXXXXGSTINXXXXXXX"/>
<PartyTaxAuthInfo partyId="COMPANY" taxAuthGeoId="IND"
taxAuthPartyId="CGST" fromDate="2017-06-01 00:00:00.0" isNexus="Y"
partyTaxId="XXXXXGSTINXXXXXXX"/>
<PartyTaxAuthInfo partyId="COMPANY" taxAuthGeoId="IN-AN"
taxAuthPartyId="IN-AN_UTGST" fromDate="2017-06-01 00:00:00.0" isNexus="Y"
partyTaxId="XXXXXGSTINXXXXXXX"/>
<PartyTaxAuthInfo partyId="COMPANY" taxAuthGeoId="IN-AP"
taxAuthPartyId="IN-AP_SGST" fromDate="2017-06-01 00:00:00.0" isNexus="Y"
partyTaxId="XXXXXGSTINXXXXXXX"/>

GST can be configurable in OFBiz using ProductStoreTaxSetting entity
We can write a separate service to calculate GST and configure at
ProductStore level using taxServiceName attribute of ProductStoreTaxSetting
entity.

Just for Info
Right now In PO and SO OFBiz does not entertain both SHIP_ORIG_LOCATION and
SHIP_DESTINATION_LOCATION. We need to introduce this as well to calculate
the GST.

Thanks & Regards

Vaibhav Jain
Hotwax Systems,
vaibhav.j...@hotwaxsystems.com

On Mon, Oct 9, 2017 at 8:13 PM, Rajesh Mallah <mallah.raj...@gmail.com>
wrote:

> 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 @  X%
>       add adjustment CGST @  X%
> else
>       add adjustment IGST  @  X+X%
>
>
> where:
> CGST --> Central Goods & Services Tax
> SGST --> State Goods & Services Tax
> IGST  --> Integrated Goods & Services Tax
>
>
> Any help on this regard is solicited.
>
>
> regds
> mallah.
>

Reply via email to