Hi Deepak , Thanks for the useful demo data. I went through it and could understand mostly, although perfect assimilation will take some time owing to my current level in the learning curve. :-)
my current hurdle is follows and would appreciate help. I have configured a new product upto a stage that if it is invoiced it to "Demo Customer" the taxes of Utah state & County gets applied. I observe that DemoCustomer's postalAddress is of Utah too. (so its probably being matched via the GeoID) Trying to setup a analogous configuration I have setup a new tax authority Geo: IND Party: IND_TAX_AUTH_GST When i attempt to invoice a new party having postal address of India I am not seeing the same happening when i use the "Add Tax" ui button. In the product definition I have indicated Tax Authority Party: IND_TAX_AUTH_GST Tax Auth Geo ID: IND Tax In Price: Yes any help is solicited. regds mallah. On Wed, Aug 30, 2017 at 2:34 PM, Deepak Nigam < deepak.ni...@hotwaxsystems.com> wrote: > Hi Rajesh, > > Most of the mentioned requirements can be fulfilled by setting up data in > entities like TaxAuthorityCategory and TaxAuthorityRateProduct, as the > OFBiz tax engine internally uses data from these entities to perform tax > calculations. > > Please refer to the following set of demo data. It can help you. > > <Party partyId="IGST" partyTypeId="PARTY_GROUP"/> > <PartyGroup partyId="IGST" groupName="Integrated Goods and Services Tax"/> > <PartyRole partyId="IGST" roleTypeId="TAX_AUTHORITY"/> > > <TaxAuthority taxAuthGeoId="_NA_" taxAuthPartyId="IGST" > taxIdFormatPattern="\d{2}[A-Z]{5}\d{4}[A-Z]\d[A-z]\d"/> > > <ProductCategory productCategoryId="TAX_SLAB_1" > productCategoryTypeId="TAX_CATEGORY" description="5.00 %" > categoryName="5.00 %"/><TaxAuthorityCategory taxAuthGeoId="_NA_" > taxAuthPartyId="IGST" productCategoryId="TAX_SLAB_1"/> > > <ProductCategory productCategoryId="TAX_SLAB_2" > productCategoryTypeId="TAX_CATEGORY" description="10.00 %" > categoryName="10.00 %"/><TaxAuthorityCategory taxAuthGeoId="_NA_" > taxAuthPartyId="IGST" productCategoryId="TAX_SLAB_2"/> > > <Product productId="ACE_PARA_TAB" primaryProductCategoryId="ANALGESIC" > productTypeId="FINISHED_GOOD" productName="Aceclofenac Tab" > internalName="Aceclofenac + Paracetamol (100 mg + 325mg) Tab" > weightUomId="WT_kg" productWeight="0.01" description="Aceclofenac + > Paracetamol (100 mg + 325mg) Tab" isVirtual="N" isVariant="N" > billOfMaterialLevel="0" quantityIncluded="10" > introductionDate="2001-01-01 12:00:00.000"/> > <ProductCategoryMember productCategoryId="TAX_SLAB_1" > productId="ACE_PARA_TAB" fromDate="2001-01-01 12:00:00.000"/> > > <Product productId="ACE_PARA_TAB2" > primaryProductCategoryId="ANALGESIC" productTypeId="FINISHED_GOOD" > productName="Aceclofenac Tab 2" internalName="Aceclofenac + > Paracetamol (100 mg + 325mg) Tab 2" weightUomId="WT_kg" > productWeight="0.01" description="Aceclofenac + Paracetamol (100 mg + > 325mg) Tab 2" isVirtual="N" isVariant="N" billOfMaterialLevel="0" > quantityIncluded="10" introductionDate="2001-01-01 12:00:00.000"/> > <ProductCategoryMember productCategoryId="TAX_SLAB_2" > productId="ACE_PARA_TAB2" fromDate="2001-01-01 12:00:00.000"/> > > <TaxAuthorityRateProduct taxAuthorityRateSeqId="9001" fromDate="2017-06-01 > 00:00:00.000" productCategoryId="TAX_SLAB_1" taxAuthGeoId="_NA_" > taxAuthPartyId="IGST" taxAuthorityRateTypeId="IGST" taxPercentage="5.00" > taxPromotions="N" taxShipping="N" description="IGST - Integrated Goods and > Services Tax"/> > <TaxAuthorityRateProduct taxAuthorityRateSeqId="9002" fromDate="2017-06-01 > 00:00:00.000" productCategoryId="TAX_SLAB_2" taxAuthGeoId="_NA_" > taxAuthPartyId="IGST" taxAuthorityRateTypeId="IGST" taxPercentage="10.00" > taxPromotions="N" taxShipping="N" description="IGST - Integrated Goods and > Services Tax"/> > > > Please revert in case of any doubt. > > HTH! > > > Thanks & Regards > -- > Deepak Nigam > Technical Consultant/Team Lead > HotWax Systems > www.hotwaxsystems.com > > On Wed, Aug 30, 2017 at 2:02 PM, Rajesh Mallah <mallah.raj...@gmail.com> > wrote: > > > Thanks , Paul's reply did help , and I saw taxes getting > > automatically added after the product was included in > > a extra category of type *Tax* . I named to the category > > as "Taxable Products" for time being (as suggested). > > > > regds > > mallah. > > > > > > On Wed, Aug 30, 2017 at 1:56 PM, Jacques Le Roux < > > jacques.le.r...@les7arts.com> wrote: > > > > > You are doing very well comparing to some others ;) > > > > > > Jacques > > > > > > > > > > > > Le 30/08/2017 à 09:36, Rajesh Mallah a écrit : > > > > > >> thanks. > > >> > > >> I hope i finally reach the mundane state soon. > > >> > > >> regds > > >> mallah. > > >> > > >> On Wed, Aug 30, 2017 at 1:03 PM, Jacques Le Roux < > > >> jacques.le.r...@les7arts.com> wrote: > > >> > > >> This http://markmail.org/message/esl5ou2zo4x2lt3l :D > > >>> > > >>> You should do more research in the ML archives ;) > > >>> > > >>> Jacques > > >>> > > >>> > > >>> > > >>> Le 30/08/2017 à 08:22, Rajesh Mallah a écrit : > > >>> > > >>> Hi , > > >>>> > > >>>> Can someone point me to a useful documentation on setting up > taxation. > > >>>> > > >>>> Expectations : > > >>>> > > >>>> (1) tax % should be allowed to be specified at a product / product > > >>>> category level and indicate the tax authority > > >>>> > > >>>> (2) There can be multiple kind of taxes having various rates . > > >>>> > > >>>> (3) When we order the product from eCommerce storefront then the > > >>>> end user is shown the total price including the tax. > > >>>> > > >>>> > > >>>> (4) when we create an invoice for an internally created order > > >>>> (non-eCommerce) > > >>>> the tax amount should automatically get added to invoice. > > >>>> > > >>>> Kindly indicate the best documentation that may help in setting the > > >>>> above. > > >>>> > > >>>> regds > > >>>> mallah. > > >>>> > > >>>> > > >>>> > > > > > >