# Sales tax and VAT

Depending on the location and nature of your business and customers, you may be required to collect sales tax or VAT.  EU companies doing business in the EU always have to charge VAT when selling to consumers, while VAT is not charged when selling to businesses that supply a valid VAT number.&#x20;

In the United States the tax code is extremely complex because each state has different tax laws. Additionally, depending on the goods being sold, the location of the buyer and seller, there many be state and city taxes that apply. And these can even vary seasonally.

In half of the U.S. states, SaaS is exempt from sales tax, but more and more states want their share of cloud revenue so the picture keeps changing.&#x20;

Bunny has two solutions for dealing with sales tax and VAT.&#x20;

### US sales tax

For U.S. based businesses, we recommend using the [Avalara](/guide/advanced-guides/integrations/avalara-avatax.md) plugin, which is capable of handling all the complexities of the U.S. tax code.

<figure><img src="/files/9OYTqDsrTUJzOgi14lWj" alt=""><figcaption><p>Avalara tax plugin</p></figcaption></figure>

### Simple Tax

If you're based outside of the US, Simple Tax is an excellent option for calculating sales tax in EU countries and many other countries worldwide where tax rates are flat and stable for each country.

{% hint style="info" %}
**Support countries**&#x20;

Australia, Austria, Belgium, Bulgaria, Croatia, Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Norway, New Zealand, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland, United Kingdom.
{% endhint %}

To configure Simple Tax, go to **Settings > Plugins** and select the plugin from the list to install it. Then change the Enabled option to the on position and Save.&#x20;

Note that you can only use Simple Tax *or* Avalara. Not both at the same time.

<figure><img src="/files/8D36SmIjbXBESrTcl5qC" alt=""><figcaption><p>Simple Tax plugin</p></figcaption></figure>

For tax calculations to be applied you also need to ensure that:

* You have your billing country set on the **Settings > Company** section in Bunny.
* And that each of your Accounts (customers) has a billing country set.&#x20;

Unless both of these countries are set the tax rate will default to 0%.

#### EU VAT number validation

For companies that are based in the EU we recommend enabling the EU VAT validation option.&#x20;

When this option is enabled the tax numbers of your customers will be validated against the [European Commission VIES VAT number validation](https://ec.europa.eu/taxation_customs/vies/#/vat-validation) service.

If an EU customers VAT number is valid then no tax will be added to quotes and invoices.&#x20;

Alternately, if an EU customers VAT number is not valid then the tax rate of their country will be applied.

{% hint style="info" %}
For example,  a SaaS company using Bunny is based in Denmark.<br>

1. They sell a subscription to a company based in Germany that has a valid VAT number registered. The tax rate will be 0%.<br>
2. They sell a subscription to a company based in France that does not have a valid VAT number registered. The tax rate will be the French rate of 20%
   {% endhint %}

#### General tax rules

When a subscription is sold by an EU or non-EU company to a customer located in the same country, the tax rate of that country will apply.

When a subscription is sold by an EU company to a customer located outside of the EU, the tax rate will be 0%.

When a subscription is sold by an non-EU company to a customer located in another country, the tax rate will be 0%.

When a subscription is sold by an EU company to a consumer located inside the EU, the tax rate of the country where the consumer is located will apply.

{% hint style="info" %}
For example, a SaaS company using Bunny is based in New Zealand.<br>

1. They sells a subscription to a company based in Australia. The tax rate will be 0%.<br>
2. They sell a subscription to a company based in New Zealand. The tax rate will be 15%.&#x20;
   {% endhint %}

### When sales tax is calculated

Sales tax is always calculated at the time of the sale. For example, when a quote is created, Bunny will estimate the sales tax on the quote, but the tax will be calculated when the invoice is produced. Similarly, when subscriptions renew, the sales tax will be calculated when the invoice for the renewal is produced.

### Taxation reporting

For customers that use Avalara you will access taxation reports via the Avalara portal.&#x20;

For EU based customers using Simple Tax we provide an [Intracom VAT summary](/guide/tour/accounting/intracom-vat-summary.md) which can be used for monthly reporting of reverse taxation charges.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bunny.com/guide/tour/billing/sales-tax-and-vat.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
