• Resolved klishb

    (@klishb)


    Trying to figure out why shipping is getting taxed on orders even if everything in the cart isn’t taxed. I enabled debugging and logging. The log shows the TaxJar API returned no taxes should be collected, but the cart adds $0.61 tax to the shipping amount anyway:

    04-08-2020 @ 11:21:36 – :::: TaxJar Plugin requested :::: (WCS Tax)
    04-08-2020 @ 11:21:36 – :::: TaxJar API called :::: (WCS Tax)
    04-08-2020 @ 11:21:36 – Received: {
    “tax”: {
    “amount_to_collect”: 0.0,
    “breakdown”: {
    “city_tax_collectable”: 0.0,
    “city_tax_rate”: 0.0,
    “city_taxable_amount”: 0.0,
    “combined_tax_rate”: 0.0,
    “county_tax_collectable”: 0.0,
    “county_tax_rate”: 0.0,
    “county_taxable_amount”: 0.0,
    “line_items”: [
    {
    “city_amount”: 0.0,
    “city_tax_rate”: 0.0,
    “city_taxable_amount”: 0.0,
    “combined_tax_rate”: 0.0,
    “county_amount”: 0.0,
    “county_tax_rate”: 0.0,
    “county_taxable_amount”: 0.0,
    “id”: “6201-e0cd3f16f9e883ca91c2a4c24f47b3d9”,
    “special_district_amount”: 0.0,
    “special_district_taxable_amount”: 0.0,
    “special_tax_rate”: 0.0,
    “state_amount”: 0.0,
    “state_sales_tax_rate”: 0.0,
    “state_taxable_amount”: 0.0,
    “tax_collectable”: 0.0,
    “taxable_amount”: 0.0
    }
    ],
    “special_district_tax_collectable”: 0.0,
    “special_district_taxable_amount”: 0.0,
    “special_tax_rate”: 0.0,
    “state_tax_collectable”: 0.0,
    “state_tax_rate”: 0.0,
    “state_taxable_amount”: 0.0,
    “tax_collectable”: 0.0,
    “taxable_amount”: 0.0
    },
    “freight_taxable”: false,
    “has_nexus”: true,
    “jurisdictions”: {
    “city”: “ONEIDA”,
    “country”: “US”,
    “county”: “MADISON”,
    “state”: “NY”
    },
    “order_total_amount”: 14.64,
    “rate”: 0.0,
    “shipping”: 7.64,
    “tax_source”: “destination”,
    “taxable_amount”: 0.0
    }
    } (WCS Tax)

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @klishb!

    Are you using any additional tax classes besides “Standard” and do any of your products have the “Tax status” on the edit product page set to either “None” or “Shipping”? Or is the status “Taxable” and the tax class set to “Standard”?

    Thread Starter klishb

    (@klishb)

    I don’t remember adding the additional classes, but I have these:

    Candy – 40010
    Food – 40030
    Reduced rate
    Zero rate

    All products are Tax Status = Taxable. Each product is assigned either the Candy or Food Tax rate.

    • This reply was modified 4 years ago by klishb.
    Thread Starter klishb

    (@klishb)

    I guess I probably did add those additional classes in order for them to be assigned to the products.

    Also, I’m noticing that over time the tax tables have become populated. I believe the plugin does that and it’s used as a cache if the API can’t be contacted at the time of sale? I’m showing one zip code in the Food class table that has shipping checked off to be taxed. It’s not my test order’s zip code, but I’m curious why that happened for only that one zip code.

    Plugin Contributor Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @klishb,

    Also, I’m noticing that over time the tax tables have become populated. I believe the plugin does that and it’s used as a cache if the API can’t be contacted at the time of sale? I

    Yeah, that is correct. Services will add rates to the tax tables when they are calculated for the first time and then be able to reference them later (when another calculation from that location is needed again).

    I’m showing one zip code in the Food class table that has shipping checked off to be taxed. It’s not my test order’s zip code, but I’m curious why that happened for only that one zip code.

    Can you let me know what the “Shop Address” zip code is set to and what these zip codes are that have shipping costs charged as well? If you don’t want to post that info here, feel free to create a ticket and let me know what the ticket number is so I can quickly find it.

    https://woocommerce.com/my-account/create-a-ticket/

    Thread Starter klishb

    (@klishb)

    The store address is set to 13035 and my test customer order is the one I have above which is 13421. There is one item in the cart that is a food item with the tax rate set to “Food – 40030”. The only zip code in that tax rate table is 13122 that has the shipping column checked.

    Bare in mind this problem happens to many of our orders, but not all. The above is just an example of me reproducing the problem.

    Thread Starter klishb

    (@klishb)

    For some background – I launched this site in June 2018 and we first noticed the problem occurring in November 2018 I believe. After these orders have been placed we’ve been refunding the customer’s tax back. It would be nice to figure out why it happens. I can’t say for sure, but I would guess that it happens on about half the orders.

    Plugin Contributor Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @klishb – Since this seems to be pretty specific to certain orders, can you create a ticket at the link below and let me know what the ticket number is here on this thread so I can pull that ticket (if someone else on the team doesn’t beat me to it)?

    https://woocommerce.com/my-account/create-a-ticket/

    Thanks!

    Thread Starter klishb

    (@klishb)

    Ticket #2865426

    Plugin Contributor Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @klishb!

    Thanks for creating that ticket. I just sent a response there, so I’ll keep an eye out for your reply on that ticket.

    Joey – a11n

    (@jricketts4)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    – Joey

    Thread Starter klishb

    (@klishb)

    Definitely not resolved. Support asked that I open a ticket in their system, but they aren’t willing to fix the issue. WooCommerce Services doesn’t correctly use the response returned by the API:

    “freight_taxable”: false,

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Shipping taxed even though order isn’t’ is closed to new replies.