taxjar / taxjar-woocommerce-plugin

WooCommerce Sales Tax Plugin by TaxJar
http://www.taxjar.com/woocommerce-sales-tax-plugin/
GNU General Public License v2.0
28 stars 29 forks source link

Missouri City/County Sales Tax #248

Open onotype opened 11 months ago

onotype commented 11 months ago

We're using the plugin on one of our sites and in one order, the calculated tax for zip code 63141 only returns MIssouri's state tax. I tested the same request on the API and found out that the city_tax_rate and county_tax_rate is returning 0.0, despite https://www.taxjar.com/sales-tax-calculator saying that there should be 2.250% and 2.513% respectively.

Although, it seems like the calculator's rate is returned properly when the source is from within Missouri.

This is the request I'm sending to the API, which is the same as what the plugin is sending. I've ommited the to_street for privacy but I'm getting the same rates eitherway.

{
  "from_country": "US",
  "from_state": "AL",
  "from_zip": "35125",
  "from_city": "Pell City",
  "from_street": "448 Brookside Drive",
  "to_country": "US",
  "to_state": "MO",
  "to_zip": "63141",
  "to_city": "creve cour",
  "shipping": "151.11",
  "plugin": "woo",
  "customer_id": 107,
  "line_items": [
    {
      "id": "515",
      "quantity": 1,
      "product_tax_code": "",
      "unit_price": "15.5",
      "discount": "0"
    },
    {
      "id": "419",
      "quantity": 1,
      "product_tax_code": "",
      "unit_price": "643.5",
      "discount": "0"
    }
  ]
}

I'm wondering if the 0% city and county rates are intentional or whether I'm missing something.