# Invoice taxes

In some regions, it’s a requirement to show a breakdown of each tax applied on an invoice. Use the invoice `tax` objects to get information about each tax applied to an invoice.&#x20;

![The default invoice document includes a breakdown of taxes applied](https://2239757318-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LbbjdG2xM4rvQ6hSbei%2F-LdSvf-sXYjZC3nSjhTG%2F-LdT2H5a1laJDy7LqsaD%2Finvoice%20tax.png?alt=media\&token=61ae55ba-d009-4876-aee0-896d609014f4)

Tax objects are always accessed within a forloop that iterates for each tax.

### Document layouts

The `tax` object can be accessed in document layouts created against the following modules:

#### Invoice

```
{% for tax in invoice.taxes %}
  {{ tax.name }}
{% endfor %}
```

#### Opportunity

Returns invoice taxes for invoices linked to a particular opportunity.

```
{% for invoice in order.invoices %}
  {% for tax in invoice.taxes %}
    {{ tax.name }}
  {% endfor %}
{% endfor %}
```

#### Member

Returns invoice taxes for invoices linked to a particular organization.

```
{% for invoice in member.invoices %}
  {% for tax in invoice.taxes %}
    {{ tax.name }}
  {% endfor %}
{% endfor %}
```

Returns invoice taxes for active invoices linked to a particular organization.

```
{% for invoice in member.live_invoices %}
  {% for tax in invoice.taxes %}
    {{ tax.name }}
  {% endfor %}
{% endfor %}
```

### Discussion templates

The `tax` object can be accessed in discussion templates created against the following modules:

#### Invoice

```
{% for tax in invoice.taxes %}
  {{ tax.name }}
{% endfor %}
```

#### Opportunity

Returns invoice taxes for invoices linked to a particular opportunity

```
{% for invoice in opportunity.invoices %}
  {% for tax in invoice.taxes %}
    {{ tax.name }}
  {% endfor %}
{% endfor %}
```

#### Organization

Returns invoice taxes for invoices linked to a particular organization.

```
{% for invoice in organisation.invoices %}
  {% for tax in invoice.taxes %}
    {{ tax.name }}
  {% endfor %}
{% endfor %}
```

Returns invoice taxes for active invoices linked to a particular organization.

```
{% for invoice in organisation.live_invoices %}
  {% for tax in invoice.taxes %}
    {{ tax.name }}
  {% endfor %}
{% endfor %}
```

## `id`&#x20;

Returns the invoice tax ID.

{% hint style="info" %}
The ID is an internal reference for a record. It's not exposed in our web interface.
{% endhint %}

#### Input

```
{{ tax.id }}
```

#### Output

```
1
```

## `name`

Returns the invoice tax name.

#### Input

```
{{ tax.name }}
```

#### Output

```
Florida State Sales Tax
```

## `rate`&#x20;

Returns the tax rate.

#### Input

```
{{ tax.rate }}
```

#### Output

```
6.0
```

## `tax`&#x20;

Returns the amount of tax charged for this tax rate.

#### Input

```
{{ tax.tax }}
```

#### Output

```
15.0
```

{% hint style="info" %}
Use [the currency filter or a number filter](https://current-rms.gitbook.io/liquid-syntax/introduction/liquid-filters) to change the way that the number is formatted.
{% endhint %}

## `taxable_charge`

Returns the value of goods charged at this tax rate.

#### Input

```
{{ tax.taxable_charge }}
```

#### Output

```
250.0
```
