• Resolved rabokarabekian

    (@rabokarabekian)


    I have a site where we’re selling events across multiple US states.

    We need to assess sales tax for the state where the event is happening, so per line item.

    I can add fees for this via cart->add_fee()

    Question comes down to reporting and accounting. Fees aren’t in the analytic reports.

    Is there a mechanism to add these as line items taxes so they show up in the reporting? Alternately is there documentation on building out custom reporting?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello rabokarabekian,

    Thank you for contacting WooCommerce support.

    Could you please clarify how you’re adding the sales tax?
    Are you using custom code with the cart->add_fee() function to apply the tax?

    Additionally, how is the sales tax calculated?
    Is it based on the customer’s address, the store address, or the event location?
    Please share a screenshot of your Tax Settings.

    Once I have a better understanding of your setup, I’ll be happy to help you find a solution or point you to the relevant documentation for custom reporting.

    Looking forward to your reply!

    Thread Starter rabokarabekian

    (@rabokarabekian)

    Hi!

    Yes – I’m using custom code to use cart->add_fee() function to apply the tax.

    We may have one event in NJ (tax rate of 6.25%) and another one in Philadelphia (tax rate of 8%) in a single cart.

    I’m looking up the zip code for each line item, and applying a fee for each based on where the event is taking place. Currently I have an additional tax class for these events where I have imported every zip code in the US with their aggregate tax rate.

    I haven’t found a way to apply tax based on event location. I only see options for customer shipping address, customer billing address, and shop base address. I’m using The Events Calendar for the event management.

    Standard tax rates are applied to any products which aren’t events based on the customer shipping address.

    Appreciate any insight you can provide!

    Thanks,
    Dan

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello rabokarabekian,

    Thank you for your reply.

    Please note that custom code is generally outside the scope of our support, but I’ll try to point you in the right direction.

    WooCommerce calculates taxes based on one of these options:
    – Customer billing address,
    – Customer shipping address
    – Shop base address.

    For more details you can check this guide.

    In your case, where tax rates need to be applied based on the event location rather than the customer’s address, you’ll likely need to modify your custom code further. I recommend consulting a developer who can help you adjust the logic to apply taxes based on each event’s location.
    You can find good developers at WooExperts or Codeable.

    I hope this helps. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.