price international Tax Rules - please add

Posts: 13
Joined: 04/07/2008
Internationalizationizer

Hi übercarters
Under my fearless leading im punishing 2 coders here in copenhagen to create the sweetest Price Handeling system ever(!)
But as we try to make it as correct as possible (and flexible) we need a little help to grasp the concept of other countrys tax rules.
fx here in denmark we have one sales tax but when you selling outside denmark, its not always added etc, and if the buyer is a business, then the price is only relevant without the tax (but still the price must be shown with the tax)
So What could be a great help for our work would be some examples of how the tax system are for your country.

whit the price system it would be possible to:
give a product a price (woho)
modify the price by role (gold, silver members etc)
modify the price with a currency (dkr, Euro, us$)
modify the price with a tax (moms, vat etc)
modify the price with "foo"

through the theming layer we then can show the price with & without the taxes.

the danish system would be describe something like:
*Busines 2 Business*
name: moms
rate: 25% on all products, not on shipping
who: all customers unless they are located outside of denmark
show: with tax as a secondary price prise:"100dkr (with tax: 125dkr)" . and the same in the cart, the tax is added to the invoice

*B2 Customers*
name: moms
rate: 25% on all products, not on shipping
who: all customers unless they are located outside of denmark
show: with tax as a primary price prise:"125dkr (without tax: 100dkr)" . and the same in the cart. the tax is added to the invoice

So before i crack the whip over the back of the codeslaves it would be nice to look at some of the localrules from around the world

Posts: 5379
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

I can't decide if I'd rather be or not be a codeslave of the King. The whip might be a nice trade off for the cool. Eye-wink

Anyways, small examples from the U.S... our taxes are pretty straightforward. Well, some are anal, but most places if they require sales tax will only require it for companies selling physical goods in state.

For example, our company ships big refrigerators, freezers, ranges, etc. We're located in KY, so any customer with a shipping address in KY gets a 6% KY Sales Tax. We don't charge any tax for shipping to other states. So, it's the final destination that matters, not the billing address.

Name: KY Sales Tax
Rate: 6%
Who: All customers <em>shipping</em> to KY.
Show: Product price only.  Tax only shown during checkout and on invoice.

btw... what would an UberDinner 2.0 look like for you in Szeged? We should hook it up... Cool

Posts: 13
Joined: 04/07/2008
Internationalizationizer

Offcourse we should hook up - its more or less a tradition now Smiling
but the Queen of the universe isnt gonna come with me this time - something of me getting way to geeky and speedy while around 400+ geeks.
Have no idear whats shes talking about

is that the normal way with taxes in the US - a sales tax in their own state?

/morten.dk

Posts: 5379
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Well, I'm sure she has things to keep her busy back home... I seem to remember you guys having some big dogs to feed/walk, eh? Mrs. Ubercart will be joining me again this time, and we'll stop in Budapest for a few days to celebrate our first anniversary before catching the shuttle down to Szeged. Can't wait. Laughing out loud

As for taxes in the U.S., yeah it's pretty standard. There are a few that don't have sales tax at all (wish I lived there!) or have some oddball per-county tax (there are threads about this in the forums for Florida Sales Tax). But I think the per-state thing is a majority.

Posts: 85
Joined: 02/14/2008
Bug FinderGetting busy with the Ubercode.Internationalizationizer

Just remembered that e.g. in the Czech republic shipping can, but must not be taxed (Post has privileges). In core it is solved by a workflow_ng condition to check if to apply a tax or not...

And that's the point: If you would use your whip to get a workflow conditions check into your module, you could leave all this stuff on workflow_ng. Including double configurations.

I got it just partly working. Product prices with 4 configured taxes give me the right result (tax yes/no), but not on line_items. If it could help you I would look into it once more.

The function I used is

<?php
workflow_ng_evaluate_elements
(&$elements, &$arguments, &$log);
?>

Really looking forward for your module and if there would be something else where you could need some support, please let us know, I am sure not the only one.

Do you have some rough idea until when your module could be ready for testing?

Posts: 541
Joined: 08/13/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer

Hi,

I will explain the tax rules in France cause it's not simple Eye-wink

We have 2 tax rules :

  • 19.6% (applied on major products)
  • 5.5% (applied on some product classes like books)

All non-society customers pay the tax all over the world (except for DOM-TOM that have a different tax rule of 8.5% if I remember and the Guyana that don't pay tax).

All society customers outside france don't pay the tax, professionnal in france pay the same tax than individual.

When you show a price, you have to show, at least, price including tax. You can show both if you want. If the customer is a professionnal outside france, you have to show him price excluding tax as he don't pay them.

If the customer is a professionnal inside the UE, he have to give you his society VAT number. You VAT number and the professionnal VAT number have to be in the invoice. (For your, even if you sell to individual).

In the backoffice, it's better to manage your price excluding taxes, because all calculation you could add on the invoice are made on price excluding tax (discount for example), and then, the tax applied.

It's forbidden to only show price excluding tax to a people that pay the tax, but you can show price including tax to a people that don't pay them (even if it's preferable to adapt and show price excluding tax).

Posts: 6
Joined: 08/07/2008

All information can on EU tax legislation can be found here in great detail:
http://ec.europa.eu/taxation_customs/taxation/vat/how_vat_works/rates/in...

Posts: 37
Joined: 11/16/2007

http://www.ubercart.org/forum/internationalization/4599/ubercart_europea... is another discussion about VAT in Europe.

In http://www.ubercart.org/forum/internationalization/4599/ubercart_europea... I comment on making all 'pricing rules' of which VAT is one into a 'spreadsheet' like model. This way you can enable i.e. VAT-25 column to add a 25% VAT for products configured to know this VAT type.

BTW where is the code Smiling