News:

Looking for documentation? Take a look on our wiki

Main Menu

VAT Tax for Virtuemart

Started by Pcabezas, June 18, 2018, 06:24:34 AM

Previous topic - Next topic

Pcabezas

Hello,
This is my first time setting up my own eCommerce platform. I am doing research when it comes to installing a tax calculation for the platform. It seems with Virtuemart I only have Avalara Avatax to work with. I have read the reviews and many users rated it poorly, for one reason or another. I was hoping to get some advice on alternatives for Avalara Tax.

Is this all I can work with?
I would appreciate any advice.

Thank you

Jörgen

You do not give much information. Usually You need a Vat rule for your country including every country that uses the same Vat. And a VAT rule with 0% for export to countries outside EU for example.
If You have different taxes depending on product. Just create hidden categories 6% VAT, 12% VAT and assign the appropriate category to the products. You could assign this directly to the product, or using a visible category, this saves some typing when adding a new product because You already have assigned the product to a category. Adding a VAT rule to the category makes it fairly easy to update VAT changes. In other words, there are a lot of possiblities to do this each with its pros and cons.

More info here:
https://docs.virtuemart.net/tutorials/administration-configuration-vm-2/109-taxes-calculation-rules-case-1.html

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

GJC Web Design

It really depends where you are. Avtax and my Taxcloud are only for USA based shops that need to use local taxation ( if u have a "physical presence" in a particular state)

All other taxation can be handled by the VM Tax & Calculation Rules
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Pcabezas

Thank you for your kind and informative replies.

I appreciate the assistance. I will read the thread provided and learn more. In detail, the website I am working with is selling apparel focused in the USA. Without the proper knowledge or guidance, I don't know if I have to use different tax percentages for different states, or if I can only use one tax percentage for all the states in the USA.
Additionally we have no physical location. We basically make videos about athletes, post them on youtube then customers in return can come to our website and support the growth of the project by purchasing apparel. We are based on Los Angeles California, USA.

Link: https://athleterolemodels.com/

Thank you

GJC Web Design

As I understand it ( I am no tax lawyer..  ;)  )  in the US u only have to charge sales tax if  you have a "physical presence" in that State

you can read more here: https://taxcloud.net/home

https://blog.taxjar.com/charging-sales-tax-rates/

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

bart1983

#5
First of all hello :)
!J3.8.13 VM3.4.2
I have a diferent question about VAT, but in the cart. Actualy about totals VAT in cart (as in pictures)
Vat 23%.
I have rounding option checked to yes, for swiss frank no and all products prices calculated from GROSS (BRUTTO) prices.
Single row products calculations (VAT, amount and single rows totals) in cart are ok in all ways, total VAT at the bottom is messed.

On first picture (VAT 23% product1+ product2) cena produktów for VAT23% is 204.01, should be 204 in my opinion. (product1 vat and product2 vat are correct)
Shipment method Vat 3.37 that is ok, but total VAT23% is (suma) 207.37 and that is correct too, 204 + 3,37 = 207,37 but not 207,38, if You calculate in the cart from sight.

https://www.dropbox.com/s/h3uofc14su4s0gk/1.png?dl=0

But on picture 2 another situation.
Vat23% product 1  is correct (vat too), total vat of that product is correct but with vat from shipping 74,80 + 1,37 is incorrect, should be 78,17 not 78,16. (calculating shipment VAT for my own is 3,36585365853659, rounded 3,37 and VM system give me the same result)

https://www.dropbox.com/s/xnlmcori57qkrd0/2.png?dl=0

Why that Suma (total for VAT23%) is mistaking 0,01 in cart?  :o
Can it be template override miscalculation? or maybe some kind of VM configuration.
I wiil be very grateful for any suggestions.
Best regards for all.


As I found, the problem can be on shipment method (don't know why yet) but when shipment is 0,00 then problem is not exist, when is set to free for order over xxx, and the price is over xxx.
I'm still searching and there is some miscalculation or rounding in that total total VAT (I was searching shipment NETTO price for a while and get no value to to deal with it, always to high or to low).
Question is, if it can be in template (there is override for cart, but no override works in the same way)
Shipment method is weight_countries


Maybe I have found a reason in this topic http://forum.virtuemart.net/index.php?topic=130250.0
I have to test it on offline server, but not today.

bart1983

Hello.
I get to work with problem above :) but i have another weird thing in cart.

If I set VAT tax per product to "0" (for eu with counties, groups, and categories selected in calculation rule) that tax value for product is not displayed (for the whole cart sale it is displayed). There is class="PricetaxAmount" in span class="priceColor2" set to display: none. ok. Thats not a problem. Problem is here:
<span class="PricetaxAmount"></span>
That is empty space for "0". And that is a problem.
It is displayed when value for vat tax per product is diferent from "0" or "0.0000" or "ZERO" etc. . If it is set to "0.0001" it is displayed as 0.00 (with tricky thing that for column name (VAT 0%)of calculation rule is added ".0001"  for egsamle calcuation rule is VAT 0% displayed name in cart column  in this case is "VAT 0% .0001")
Yes I have template overrides from other companies, but on vmbeeze problem is the same.
I have no problem with seeting group or prices for other vat tax amounts (rules, shipments for groups or categorys), but "0" in VAT calc is pain in the a"ss" :).
How to display "0" without any calculation mismatches.
I think I can remove .0001 from rule name by php in overrides (I did same thing in shipment methods through $this->found_shipment_method), but is that necessary?, and doesn't affect final prices?
Thanks in advance for answere.

first file showing problem
https://www.dropbox.com/s/n8dzj2wudq74hho/Zrzut%20ekranu%202018-11-18%2020.46.55.png?dl=0

And the second with half solution
https://www.dropbox.com/s/t4q2u3si52ew517/Zrzut%20ekranu%202018-11-18%2020.44.49.png?dl=0
And that's the wow effect :) , but with "0"or "0.0000" not with "0.0001" vat tax per product