VAT/tax within and outside EU

Hi there
How can I make the system handle VAT/tax within and outside EU?

  • If it’s a company/private outside EU don’t include tax.
  • If it’s a company inside EU include tax if VAT umber is filled out.
  • If it’s a private inside EU include the tax of the local country they are from.

I there a functions that I haven’t seen to handle VAT/tax within and outside EU?

Thanks,
Andreas

I believe you’ll have to create a custom tax response from a webhook taxes.
Basically, in your controller, you’ll test if the client is inside or outside Europe, and add all your conditions to calculate the taxes to be applied, then return the amount in a JSON response.
See the webhook taxes section in the documentation.