I've never had to implement it, but as I understand it, sales tax is much more complicated than that simple table can show.

Luckily, as starX has said, you're only obligated to deal with sales tax where you have a presence, as the states aren't allowed to tax interstate commerce. (Quill Corp. v. North Dakota, 112 S. Ct. 1904, 504 U.S. 298 (1992))

Some of the stranger tax rules in Washington, DC that I'm aware of:

I've also heard of regions where towns have sales taxes on top of the state sales taxes, but I have no idea if this is true or not, and if it applies to items shipped out of the area

I'd highly suggest talking to a local accountant. I know the SSTP was supposed to take care of much of the problems, but I've never dealt with it (I had looked into dealing with sales taxes when it was still in a planning phase).

Update: In case I wasn't clear enough, the point of this is that there is a lot that I don't know about taxes, and I suggest people contact accountants in their area or someone qualified to advise them, rather than just use a table of taxes by state


In reply to Re^2: Sales Tax Calculations in Perl by jhourcle
in thread Sales Tax Calculations in Perl by bazbax

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.