Hi Rajesh, I think you try with a different product also. It is possible that ProductPrice data is not correct/sufficient for the selected product and system is not picking the correct price.
Thanks & Regards -- Deepak Nigam Technical Consultant/Team Lead HotWax Systems www.hotwaxsystems.com On Wed, Aug 30, 2017 at 4:46 PM, Rajesh Mallah <[email protected]> wrote: > Some more progress: > > I was able to apply taxes to demo products using new tax > authority . The incremental steps i did were: > > (1) setup "Categories" , "Association" , "Product Rates" for the new > tax authority in Accounting --> Tax Auth . > > Rite now the problem is when i add "Items" in invoice using product id > the added items do not pick the correct price. As a result (i feel) "Add > taxes" is > also calculating taxes on 0 .(=0) > > > regds > mallah. > > > > > > > > > > > > On Wed, Aug 30, 2017 at 2:34 PM, Deepak Nigam < > [email protected]> 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 <[email protected]> > > 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 < > > > [email protected]> 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 < > > > >> [email protected]> 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. > > > >>>> > > > >>>> > > > >>>> > > > > > > > > > >
