Exactly, what Ankush has suggested. That is why I try to simplify your
problem first. Additionally consider the product store group setting at
store level, and add two product price for each product with different
product store groups (in your case one price will be 4.55 where tax will be
calculated nad 5.00 where it won't be calculated). One for B2B and one for
B2C. And in result you will see the pricing based on your tax authority
setup which includes tax in price for one store and for another store it
adds tax after price.

Hope that helps!

Best Regards,
--
Rishi Solanki
*CTO, Mindpath Technology*
Intelligent Solutions
cell: +91-98932-87847
LinkedIn <https://www.linkedin.com/in/rishi-solanki-62271b7/>


On Fri, Sep 11, 2020 at 4:49 PM Ankush Upadhyay <
ankush.upadh...@hotwaxsystems.com> wrote:

> Hello Ingo,
>
> What I understand from your shared details, you have two stores for B2B and
> B2C and you want to show/calculate product pricing differently for both of
> them.
> To achieve this you have set up TaxAuthority and TaxAuthorityRateProducts
> for different categories.
>
> Did you try to set store wise pricing for your product's and set multiple
> TaxAuthority and TaxAuthorityRateProducts for price whether to include tax
> or not?
>
>
> Kind Regards,
> Ankush Upadhyay
> Senior Technical Consultant
>
> *HotWax Systems*
> *Enterprise open source experts*
> cell: +91-8109201285
> office: 0731-409-3684
> http://www.hotwaxsystems.com
>
>
> On Fri, Sep 11, 2020 at 12:43 PM Ingo Wolfmayr <ingo.wolfm...@wolfix.at>
> wrote:
>
> > Hello Rishi,
> >
> > basically yes. Usually the B2B price is different to the B2C price. The
> > problem was calculating the B2C price when prices have been setup as net
> > prices (without tax). Now and then you will have some rounding
> inaccuracy -
> > having 5.01 instead of 5.00. Ofbiz is doing everthing right when
> > calculating from net price, but result is not satisfying.
> >
> > Best regards,
> > Ingo
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Rishi Solanki <rishisolan...@gmail.com>
> > Gesendet: Donnerstag, 10. September 2020 23:23
> > An: ofbizuser <user@ofbiz.apache.org>
> > Betreff: Re: Sales Tax
> >
> > Dear Ingo,
> > Here is my understanding of your problem.
> >
> > You have two stores as B2B and B2C. On B2C store you want show or sale
> > product with price and tax shown (that means 4.55 + 0.45). And on B2B
> store
> > you want to sale on the same price that means 5.00 and it should not show
> > tax and as mentioned tax included in price.
> >
> > Am I correct?
> >
> > Best Regards,
> > --
> > Rishi Solanki
> > *CTO, Mindpath Technology*
> > Intelligent Solutions
> > cell: +91-98932-87847
> > LinkedIn <https://www.linkedin.com/in/rishi-solanki-62271b7/>
> >
> >
> > On Mon, Sep 7, 2020 at 9:05 PM Ingo Wolfmayr <ingo.wolfm...@wolfix.at>
> > wrote:
> >
> > > Hello,
> > >
> > > I have made a few changes to the price logic to get it working for my
> > > country (AUT - Europe) using Sales Tax and I have a question before I
> > > prepare a proposal patch for the community:
> > >
> > > My Setup:
> > > Tax Authority (PriceIncludesTax=Y) with three TaxAuthorityRateProducts
> > > - Sales tax 20 - assigned to product category mwst20
> > > - Sales tax 10 - assigned to product category mwst10
> > > - Sales tax 13 - assigned to product category mwst13
> > >
> > > I created all product prices as gross price - setting
> > > "priceIncludesTax"="Y". The reason for that where some rounding issues
> > > (nothing to do with ofbiz). For example: I want to show the price to
> > > the customer as € 5,00 and not € 5,01.
> > > As I have customers that also have both B2C & B2B the b2b prices are
> > > setup as net prices (without tax) as they are shown in store without
> > > tax.  So b2c customers nice looking prices (5,00, 5,99 …) and b2b
> > customer net prices.
> > >
> > > Here comes my question part: the default logic would change the tax
> > > type to VAT_TAX, if "priceIncludesTax" is in use - so SALES_TAX will
> > > be changed to VAT_TAX. From the logic I am following in my case the
> > > tax type should not changes whether the price has set up as gross-price
> > or net-price.
> > > I am selling my customer the product for 5 Euros including 10% tax.
> > > € 4,55    Net price
> > > € 0,45   Sales Tax
> > > € 5,00    Payed by customer
> > >
> > > If I setup the product price with 4,55 without tax the result should
> > > be the same. Is my logic interfering with some other logic that I am
> > > not aware by now and therefore it would not make any sense to make
> > > that work in standard ofbiz?
> > >
> > > Any thought on that would be welcome.
> > >
> > > Best regards,
> > > Ingo
> > >
> > >
> >
>

Reply via email to